2.13 生成应用 - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith
Version: null
2.13 生成应用
To get started quickly with Grails it is often useful to use a feature called Scaffolding to generate the skeleton of an application. To do this use one of the
在创建完Grails应用后,通常会使用脚手架来生成整个应用程序的骨架。这是通过使用 generate-* commands such as generate-all, which will generate a controller (and its unit test) and the associated views:grails generate-all Book
generate-* 命令来完成的,例如使用generate-all命令来生成控制器(包括单元测试)及相应视图grails generate-all Book

