Home  >  Article  >  Backend Development  >  A brief discussion on the general process of project development

A brief discussion on the general process of project development

巴扎黑
巴扎黑Original
2016-11-12 14:53:561071browse

1. Try to be as complete as possible in the requirements plan, specific to each function point
2. Model the structure UML, use UML tools to create a professional model or draw a simple relationship diagram yourself.
3. Create a database
1). The table names and field names created must be related to their functions. Pinyin that is not good in English is also acceptable
2). Create a database table according to the structure. The principle is that the indefinite content must be divided into tables.
3) For field types, just consider whether the content is sufficient. Choose the appropriate type INT Varchar Date
4. Design HTML
Implementation of files and scripts
Designing pages based on templates and databases is a very scientific method, of course. Sometimes some people like to design the page based on the model, and the database is designed based on the page, which is fine. Every detail should be considered when designing the page, including prompt message pages and error pages.
5. Writing of PHP code
1), first establish the underlying structure and folders (if it is a large website, also design a file UML
2), and associate basic functional categories for future code reference.
3) When writing code, pay attention to simplicity and the use of functions. Use internal functions as much as possible
4) Add code comments in some key positions.
6. Program testing and correction
1). The discovered BUG cannot be solved just by solving the BUG. The complete program must be considered. Avoid reaping in the east and losing in the mulberry trees.
2). The resolved bugs must be recorded in detail for future updates.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn