Changes between Version 11 and Version 12 of DevelopmentGuidelines
- Timestamp:
- Feb 8, 2011, 9:42:41 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopmentGuidelines
v11 v12 1 1 = GSCF Development Guidelines = 2 == Java Script ==3 * Java Script is stored in /js/4 * to reduce browser overhead we ''only'' use the jQuery Java Script framework (so ''no'' mootools, yui, prototype, etc). jQuery is widely used by Google, Amazon, Microsoft, IBM, Twitter, etc... More information can be found [http://grails.org/jQuery+Plugin here].2 == Javascript == 3 * Javascript is stored in /js/ 4 * to reduce browser overhead we ''only'' use the jQuery Javascript framework (so ''no'' mootools, yui, prototype, etc). jQuery is widely used by Google, Amazon, Microsoft, IBM, Twitter, etc... More information can be found [http://grails.org/jQuery+Plugin here]. 5 5 * for fancy user interface widgets such as accordion or tabs, we use jQuery ui (http://jqueryui.com/). Currently the CSS and JS of jQuery UI 1.7.2 (theme Pepper Grinder) are put into the /js/ and /css/jquery-ui/ folders. To use for example the accordion widget for a div with id 'idAcc' in you GSP, specify in head: 6 6 {{{ … … 37 37 38 38 == Naming conventions == 39 * In Java, naming conventions for identifiers have been established and suggested by various Java communities such as Sun Microsystem, Netscape, Amby Soft and etc. A sample of naming conventions set by Sun Microsystem are listed below:39 * In Java, naming conventions for identifiers have been established and suggested by various Java communities such as Sun Microsystem, Netscape, Ambysoft and etc. A sample of naming conventions set by Sun Microsystem are listed below: 40 40 41 41 ||'''Identifier Type'''||'''Rules for Naming'''||'''Examples'''||