Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Putting the model to work > Summary and best practices

4.5. Summary and best practices

In this chapter, we’ve explored Grails scaffolding and seen how we can make use of scaffolds to create an instant UI for our application. We also saw how to skin the application with our own CSS and layouts, and customize error messages and templates. We even added our own custom search actions right in with the generated templates to demonstrate scaffold flexibility.

Applying our knowledge of scaffolds to querying, we demonstrated lots of techniques for querying in Grails. Dynamic finders are great for creating two-field queries and keeping things maintainable. But for the situations where dynamic finders don’t cut it, we looked at advanced query techniques using criteria queries, projections, and even bare-metal HQL.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint