Then, enter grails create-app.
然后输入grailscreate - app。
输入grailsgenerate - views。
But Grails isn't a "rails Clone".
但Grails不是一个“rails克隆”。
This time, type grails prod run-app.
这一次,输入grailsprodrun - app。
Listing 10. Passing tests in grails.
清单10.在Grails中通过测试。
Accessing a database pool from grails.
从Grails访问数据库池。
Rendering JSON in a Grails controller.
在Grails控制器中呈现json。
Restart Grails with these new Settings.
使用这些设置重新启动Grails。
Then, enter grails generate-controller.
然后,输入grailsgenerate-controller。
输入grailsstats。
Life cycle events of Grails domain classes.
Grails领域类的生命周期事件。
Grails: Download the latest Grails release.
Grails:下载最新版本的Grails。
Now, start grails by typing grails run-app.
现在,输入grailsrun - app启动grails。
Grails: This article USES Grails Version 1.0.3.
Grails:这篇文章使用1.0.3版本的Grails。
Grails definitely satisfies the first requirement.
Grails绝对能够满足第一个要求。
This example shows how to use the filters in Grails.
本例显示了如何使用 Grails内的这些过滤器。
This code runs when Grails executes the web.xml file.
当Grails执行这个web . xml文件时,此代码就会运行。
Restart Grails and upload the Grails logo once again.
重新启动Grails,并再次上传 Grails徽标。
That wraps up another installment of Mastering Grails.
本期文章总结了精通grails的另一篇文章。
You now have Grails using a database other than HSQLDB.
现在的Grails使用的就是hsqldb之外的数据库。
USER_HOME/.grails/scripts - user-specific event handlers
USER_HOME/.grails/scripts——用户特定的事件处理器
Grails tries to wrap each test in a database transaction.
Grails试图在数据库事务中包含所有测试。
Logging: Learn more about logging configuration in Grails.
日志:了解关于Grails中的日志配置的更多信息。
To create a service, type grails create-service ShortenUrl.
要创建一个服务,输入grailscreate - service ShortenUrl。
Deploying a Grails application via Tomcat's management interface.
通过Tomcat管理接口部署Grails应用程序。
Grails offers various layout mechanisms to avoid this duplication.
Grails提供了各种布局机制来避免这种重复。
Your first step as a grails developer is to type grails create-app.
开发grails的第一步是输入grailscreate - app。
To customize the default scaffolding, type grails install-templates.
要定制默认搭建,请输入grails install -templates。
Since its inception, Mastering Grails has focused on core Grails functionality.
在开始阶段,精通grails主要着眼于核心grails功能。
Grails: Grails is the web framework written atop Groovy, inspired by Ruby on rails.
Grails: Grails是编写在Groovy之上的web框架,受Ruby on rails激发。
应用推荐