How can I write my own php website background management system? You can publish articles, new products, product libraries, and prices in the background.
How should I write this? What is the idea?
Because I am a self-taught php website, I just had a lot of points I don't understand. I hope you can help me. thank you!
Reply to discussion (solution)
It will take a long time to learn HTML and basic CSS before PHP.
It will take a long time to learn HTML and basic CSS before PHP.
I have learned html, css, and php, and can do some simple dynamic websites,
What I want to do now is to manage the background of the website.
I also want to solve this high-end problem ..
If you have the foundation, you can analyze the mature CMS system and understand others' development ideas.
If you have the foundation, you can analyze the mature CMS system and understand others' development ideas.
If you click it wrong, you will lose a brick during the application ..
What is the idea of writing background management by yourself?
Is it about dealing with databases?
Will operate on the database to add, delete, and modify.
In fact, it is nothing more than adding, deleting, querying, and modifying
Several old books year after year
Http://blog.csdn.net/phpnewnew/article/details/6896582
To tell the truth, what is the frontend, what is the background, and what is the difference.
The front-end can only view and search, and the back-end can also add, delete, and modify functions in addition to viewing and searching.
Or you can make a page with the modification function to hide the modification button... it's the front-end .. this is the practice of a lazy person. In fact, the difference between the front-end and the back-end is that the front-end needs to be gorgeous and the back-end needs to be detailed and high-speed. the front desk is finely decorated and the backend is a hairy room ..
On the 13th floor, I spoke very well and could not repeat more.
Well, I understand.
I downloaded discuz and phpwind,
Installed locally,
Logged on to the background,
Some additions, deletions,
Then the response is displayed at the front-end.
All are database operations,
It seems that you have to learn about database operations.
The background is actually a matter of operating the database.
Php only allows the page to obtain the database information. you can use php to modify the database content.
If you want to learn it, we do not really recommend using the framework. Otherwise, it will depend on the framework. writing several files by yourself is much faster than running the framework.
The foreground is data interaction, and the background is data processing.
You can add, delete, modify, and query the database.
You can add, delete, modify, and query the database.
This is enough.
It's not easy to write by myself. I have written three backend versions, and 3rd are 2nd upgraded versions. I feel very tired.
Css div js should be very skillful. The most important thing in the background is data classification, file Upload management, and security.
It is best to write each function as a component, so that it is convenient to add and delete functions in the future.
1. configuration file.
2. write several classes, such as database operations, file upload, paging, and file operations, as well as character processing, COOKIE, and SESSION processing, with these, you won't write too much.
3. we recommend that you make your Directory the same as the WINDOWS registry.
Mark One, some help