(Quick Reference)

2.8 规约配置 - Reference Documentation

Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith

Version: null

2.8 规约配置

Grails uses "convention over configuration" to configure itself. This typically means that the name and location of files is used instead of explicit configuration, hence you need to familiarize yourself with the directory structure provided by Grails.

Here is a breakdown and links to the relevant sections:

Grails中的配置遵循“规约优于配置”的原则,即通过文件的名称和位置来替代显式的配置,因此需要熟悉以下几个目录结构的用途。

此处仅为一个简单的分解,详细请参考相关章节: