Coding Standards:
- All the methods name whether it is in java script or java methods start with a small letter and the second word starts with a capital letter.
- All the java classes start with a capital letter.
- The name of the methods or classes is a verb showing its functionality.
- All the variable names are understandable nouns or verbs.
- All the variables have been assigned some default values.
- Every function has a description as of what it does and explaining the parameters.
- There will be comments in the code whenever it is necessary to describe.
- Inline comments to show the end of control statements.
- 3 spaces indentation is provided.
- As part of file organization , al the css and javascript files are placed in css and js folders respectively besides html codes.
- The WEB-INF has classes folder which contains the classes.
- Error handling is done using try catch statements of java code.
- Where ever necessary we are using the relative path names and not the absolute path names.
- When ever there are some reusable components , they are placed in separate file so that they can be included as part of header files.
No comments:
Post a Comment