concept app in category griffon
appears as: app, pp

This is an excerpt from Manning's book Griffon in Action.
You may have noticed that a view property is defined for the controller whereas the app variable is not. Still, the code will compile and work as expected. What’s going on? How can you tell which variable needs to be declared and which doesn’t? In a nutshell, every model, view, and controller class has direct access to the application’s instance via the app variable that’s always injected. In contrast, other variables must be declared explicitly. Don’t worry: we’ll spell out all the various properties you may declare in each artifact type as we continue the book. Chapter 6 discusses all things MVC.
$ griffon create-app GroovyEdit