然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
你可以定义你自己的视图模型以添加行为,但你并不需要。
You can define a view model yourself to add customized behavior but you don't need to.
现在,您可以使用更多Rails特性来添加更多模型、控制器和视图。
From here, you can use more Rails features to add more models, controllers, and views.
对于添加到Grails应用程序的每个新特性,很可能都要涉及模型、视图和控制器。
For each new feature you add to your Grails application, you'll most likely touch the model, the view, and the controller.
可以通过在XForms视图中添加一个模型将不支持X Forms的标准XFDL表单转换为支持X Forms的表单。
You can convert a standard XFDL form without XForms to a form with XForms support by adding a model in the XForms view.
虽然我们并非一定要添加这些扩展,但是添加iresource模型内容和动作后,我们的视图会更有用些。
Although we did not necessarily need to add these extensions, by adding the IResource model content and actions, we have a somewhat more useful view.
如果选择了将模型添加到项目属性中的选项,那么模型文件也会显示在项目Properties视图中的NamingStandard页面上。
If you selected the option to add the model to the project properties, the model file is also displayed on the Naming Standard page in the properties view for the project.
定义了视图模型之后,便可以在控制器中添加动作方法,以便定义角色成员。
Having defined the view models, I can add the action methods to the controller that will allow role memberships to be defined.
定义了视图模型之后,便可以在控制器中添加动作方法,以便定义角色成员。
Having defined the view models, I can add the action methods to the controller that will allow role memberships to be defined.
应用推荐