O'Reilly logo

Grails in Action by Peter Ledbrook, Glen Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required