1 File Structure
|
|――images
|――include
|――parameter
|――config
|――function
|――index
images stores image files. Include is the file that the system wants to reference. Generally, parameter files are stored in parameter, configuration files are stored in config, and method files, such as javascript methods, are stored in function, and they are classified according to functional modules. Put the classes of each function into it
2 File name
Folder naming is generally in English, the length is generally no more than 20 characters, and the naming is in lowercase letters. Except for special circumstances, Chinese pinyin is used. Some common folder names are: images (storage graphics files), flash (storage Flash files), style (storage CSS files), scripts (storage Javascript scripts), inc (storage include files) , link (store friendly links), media (store multimedia files), etc. File names should be a combination of lowercase English letters, numbers and underscores.