the Web Layer


Grails implements the MVC pattern, in which your business logic is separated from the application’s presentation. This enables you to easily change the look of your application without accidently modifying its behavior. The web layer consists of two major parts: views and controllers. Views are responsible for rendering the user interface and are implemented by using GSPs, which are an extension of JSPs and can include Groovy code. Controllers manage and coordinate your application by receiving user actions from the view and acting on them—for example, by interacting directly with the domain model, delegating actions to a different controller or a different layer, or redirecting to a different view.


Domain Class Topic Subject Cascade Style Sheet Index Page Success Message 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Bashar Abdul-Jawad 2009

Personalised recommendations