Changes between Version 6 and Version 7 of CodingConventions
- Timestamp:
- Mar 24, 2009, 3:07:14 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingConventions
v6 v7 16 16 17 17 * As much as possible try to keep the CRUD pages as generated by "grails generate-all" 18 * For example the view ''show'' is retained ''as is'' for application administration. 19 * If we want to modify the ''show'' view, create a copy called ''showDetailed'' in the views and controller logic then modify those. 18 * For example the Task views and controller are retained ''as is'' for application administration. 19 * If we want to modify the Task views and controller: 20 * Create a copy of the '''whole''' views folder called ''!TaskDetailed/show.gsp etc'' 21 * Create a copy of the controller called ''!TaskDetailedController.groovy'' 22 * Then detail to your harts content. 20 23 21 This way the original views are available as direct access to the data for administration. If the domain changes enough a "grails generate-all" can be performed on most domains without losing the customisations. Proposed suffix 'Detailed until a better oneis suggested.24 This way the original views are available as direct access to the data for administration. If the domain changes enough a "grails generate-all" can be performed on most domains without losing the customisations. Proposed suffix 'Detailed as in detailing a car, customised or air-brushed, unless a better suffix is suggested. 22 25