-
Book Overview & Buying
-
Table Of Contents
Grails 1.1 Web Application Development
By :
You have now been introduced to most of the basic building blocks of Grails. You have seen how simple it is to create controllers and actions to handle new user requests. You have also seen how to get Grails to bind data from the request to an instance of a domain class and then validate and save it to the database.
GSP provides a very familiar syntax when working with views, and a simple convention is used to look up a default view for a controller and action. The layout mechanism provided by Grails is extremely simple and very powerful, allowing a sitewide structure to be implemented without having to remember to include header and footer files when a new page is created.
You have also seen how Grails supports the use of i18n message bundles. Using message bundles helps you separate the static copy text for your application from the presentation logic and makes it easier to support internationalization, if needed at a later date.
In the next chapter, you will take a whirlwind tour...
Change the font size
Change margin width
Change background colour