Dynamic web page creation specifications

Source: Internet
Author: User
I. Directory structure
The naming rules for the directory structure are English letters or abbreviations. Write down a Word file in readme.doc under each directory, indicating the file situation in the directory, including the file name, main description or purpose, modifier, and modification time.
1. the first layer includes the Emission System Management Directory, source program directory, document directory, SQL script Directory, public resource directory, and source program backup directory. The Source Program Directory stores dynamic scripts and homepage pages, project-related documents are stored in the document directory, project-related SQL scripts are stored in the SQL script directory, and project-related PSD files and animation files are stored in the public resource directory. The directory is named:
◆ System Management Directory: 00_System
◆ Source Program Directory: 01_Source
▲Static webpage
▲Dynamic scripts
◎ Public script Directory: 01_Public
◎ Graphical Directory: 02_Img
◎ Subsystem directory _ XXXX
◎ Subsystem directory _ XXXX
◎.
◎.
◎.
◆ Document directory: 02_Document
◆ SQL script Directory: 03_ SQL
◆ Public Resource Directory: 04_Resource
▲Psd file directory: 05_PSD
▲Flash animation file directory: 02_FLA
◆ Source program backup directory: 05_BAK
2. The system management Directory stores the source code and target code of the system maintenance program;
3. document directory (02_Document) it must include the website design scheme, survey report, detailed design of dynamic web pages, installation instructions, system maintenance program instructions, webpage file organization instructions, and related materials;
4. Source program backup directory: stores the files to be backed up according to the source program directory structure.
5. the subdirectory structure under the source program directory (01_Source) is divided into two major parts, which store static and dynamic webpages separately. Dynamic scripts are directly embedded into static webpages as few as possible, if necessary, organize the script in the form of a function and select an insert point in the static webpage to call the function. Static parts in dynamic web scripts can be stored as html files and included in dynamic scripts.
6. Some common script source codes of dynamic scripts are stored in the public script Directory (01_Public), such as database scripts, custom public functions, CSS files, and common Javascript scripts. The sub-system directory names are in pinyin format.
7. Backup file: transfers the files that may be used in the future to the backup directory by specifying the date and other information in the notes.
8. Delete useless files in time;
9. Webpage file organization description: the organizational structure of website files.
II. Document specifications
1. A public script creates a script file based on its functional purposes. In order to prevent the parsing speed from being affected due to the large size of the script file, the size of the script file is controlled.
2. For the file header in the script and the program headers of user-defined functions and procedures, follow the instructions in the Appendix to create comments, including code usage, input parameters, outgoing parameters, and modification records.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.