1. complete the requirement scheme as much as possible, specific to each functional point 2. modeling structure UML, using UML tools to establish a professional model or draw a simple relationship diagram by yourself. 3. create a database. 1) the created table name and field name must be related to their functions. pinyin, which is not good in English, can also be used. 1. the requirement solution should be as complete as possible, specific to each function point.
2. create a professional model or draw a simple relational diagram using UML tools.
3. create a database
1) the created table name and field name must be related to their functions. The same applies to poor english pinyin.
2) create a database table based on the structure. The principle is that the indefinite items must be divided into tables.
3) The field type should consider whether the content is sufficient. select the appropriate type INT Varchar Date.
4. design HTML
File and script implementation
Designing pages based on the model and database is a very scientific method. of course, sometimes some people prefer to design pages based on the model, and the database can be designed based on the page. Every detail should be taken into account when designing the page, including the prompt message page and error page.
5. PHP code writing
1) First, establish the underlying structure and folder (if a large website designs a file UML
2) classification association of basic functions for future code reference.
3) write code, pay attention to conciseness and use of functions, and use internal functions whenever possible.
4) Add code comments in some key locations.
6. program testing and correction
1) if the detected BUG cannot be solved, it must be considered as a complete program. To avoid the worry.
2) the fixed bugs must be recorded in detail for future updates.
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.