Typical PHP project Case Study-(1) blog Management System 1. after learning the basic knowledge of PHP, I started to try some typical project cases myself. So I borrowed a book about PHP project development and found the blog management system. (The most classic is the message board, but I have considered the message board. the database design is a little simpler, so I chose this one.) I downloaded the source code online, but later I found many source code errors, some other databases use the mysql database, so that even if the program is correct, a warning will be given during running. Because the functions of the mysql database will be replaced gradually. So I spent five days rewriting all the backend (that is, the PHP code block) based on his materials, the front-end interface only corrects errors in the interface so that the program can run, so the interface remains unchanged. My knowledge of javascript and css is limited, so some js files use it. If there is any error or you have a better implementation method, please leave a message.
I. requirement analysis
System function structure:
II. system function preview
III. development environment
1. server side
① Server Apache2.4
② Database MySQL5.6
③ PHP: PHP5.6
④ Development tool: zend studio11.0.4
2. browser (customer) end
① IE browser
IV. File Organization structure
This article won't go into the code first. First, let's look at these features. Of course, there are more functions than that. I just listed a small part. Of course, mvc development is not used here, because I am learning mvc and it is still difficult to use mvc, so it is very common to integrate the basics. I hope that the code can be useful or used for reference.