This project is made for mama. Crops and Products will be sold via this page. Our naming rule and coding convention is as follow.
: Names of directory, class, variables and so on are must be describes certificately and intuitively to represent their meaning.- Directory
- Directory naming follows Pascal case.
ex) Gallery, Products, etc.
- Files
- Files are named with Camel case.
ex) users.js, fotter.css, etc.
- Class
- Class naming follws Pascal case.
ex) HelloWorld, Product, etc.
- Variables
1) Local variables- Local variabels are written with Camel case.
ex) numOfApple, isExist, etc.
2) Global variables - Global variables are written with capital letter.
Spaces between words are be distingushed by underscore( _ ).
ex) MAX_NUM, MIN_NUM, etc.
- Local variabels are written with Camel case.
- Commit (!important)
Commits require both title and contents.
Title is kind of summary of modification.
- Contents must include :
1) Reasons why I modify or add the codes.
2) How to implement functions to fix bug or to improve.