O'Reilly logo

Groovy and Grails Recipes by Bashar Abdul-Jawad

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 13Scaffolding

In construction, scaffolding is a temporary framework that supports workers and their working materials while a building is under construction or repair. In Grails, the term has a slightly different meaning. Scaffolding in Grails means generating artifacts (controllers and views) that satisfy a set of requirements. An example of a common requirement is the ability to perform CRUD operations on a domain class. By using scaffolding, you can generate the necessary controllers and views to perform such common tasks.

Scaffolding can be either static or dynamic, and it's important to understand the difference between the two. Both types of scaffolding generate the exact same code. The main difference is that in static scaffolding ...

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