Chapter 4. Putting the model to work

This chapter covers

  • Generating UIs instantly with scaffolding
  • Customizing scaffolds for your project
  • Using dynamic finders for easy querying
  • Advanced query techniques

We spent a lot of time last chapter on the basics of domain modeling. It wasn’t easy defining all those relationships, but it did lay down the fundamentals you’ll need to build on in each new Grails project. In this chapter, we’ll take our new domain knowledge and build a simple UI for our Hubbub application.

You’ll learn how scaffolds can make bootstrapping a UI lightning fast, and how they can be customized to generate a unique look and feel for your application. Then, once you have some experience building basic scaffolds for domain classes, ...

Get Grails in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.