它并非纯粹的mvc框架,而是一种约定优于配置的mvc框架。
It wasn't merely an MVC framework, but a convention-over-configuration MVC framework.
从这里可以看出约定优于配置的优点:无需XML文件就可以匹配这些元素。
Here you see the benefits of convention over configuration in action: no XML files are required to match these elements up.
由于它采用约定优于配置的方法,因而最大限度地减少了建立中介所需的工作。
Because it USES a convention over configuration approach, the work required to set up a mediation is minimized.
约定优于配置意味着开发人员需要遵循Rails使用的所有命名约定,避免自定义配置。
Convention over configuration means that a developer needs to conform to all of the naming conventions Rails USES, avoiding custom configurations.
约定优于配置也会使新的Rails开发人员能够立即上手,因为控制器和模型代码特别简洁。
Convention over configuration also leads to "aha!" moments for new Rails developers because the controller and model code is so concise.
约定优于配置中的约定部分使您可以拥有任何Grails应用程序,并立即知道各个部分之间的联系。
The convention part of convention over configuration lets you sit down with any Grails application and know immediately which bits are stored in what bucket.
Rubyon Rails在实践中产生了“约定优于配置(conventionover configuration)”一词,并且使用它可以轻松地创建应用程序。
Ruby on Rails practically invented the term "convention over configuration," and it makes it so easy to create an application.
由于plan()不是以render()或redirect()结束,根据约定优于配置原则,显示的将是grails-app/views/trip/plan.gsp。
Because plan() doesn't end with a render() or a redirect(), convention over configuration dictates that grails-app/views/trip/plan.gsp will be displayed.
Grails利用“约定优于配置(conventionover configuration)”和“不要重复自己(don ' t repeat yourself)”的原则,极大地减少了编写典型Web应用程序所需的代码量。
Grails leverages the principles of convention over configuration and don't repeat yourself to greatly reduce the amount of code you need to write for a typical Web application.
Grails利用“约定优于配置(conventionover configuration)”和“不要重复自己(don ' t repeat yourself)”的原则,极大地减少了编写典型Web应用程序所需的代码量。
Grails leverages the principles of convention over configuration and don't repeat yourself to greatly reduce the amount of code you need to write for a typical Web application.
应用推荐