Changes between Version 5 and Version 6 of CodingConventions
- Timestamp:
- Mar 24, 2009, 1:46:24 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingConventions
v5 v6 17 17 * As much as possible try to keep the CRUD pages as generated by "grails generate-all" 18 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 ''showDetail '' in the views and controller logic then modify those.19 * If we want to modify the ''show'' view, create a copy called ''showDetailed'' in the views and controller logic then modify those. 20 20 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. I propose the suffix 'Detailuntil a better one is suggested.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 one is suggested. 22 22