Home >PHP Framework >ThinkPHP >What foundation does thinkphp need?
Before you want to learn thinkphp, it is recommended to first understand PHP syntax, MySQL syntax, simple front-end basics (html, css, js, xml), understand MVC mode, object-oriented, and have After understanding these basics, it is recommended to go to the official website to read the thinkphp documentation.
Related recommendations: "ThinkPHP Tutorial"
Steps to learn thinkphp:
1. First understand MVC working principle.
2. Then understand the naming convention and document structure of thinkphp and understand the usage process of the three.
3. Next, you need to understand the basic usage of controller (controller), model (model), and view (view or template).
4. Start writing code, working on small projects, and realizing basic add, delete, modify and check functions.
5. Add new functions based on small projects, such as paging, ajax, file upload, thumbnails, etc.
6. You can type the code in the document, and then you can buy some books on project practice, or read the WordPress and thingkphp codes.
The above is the detailed content of What foundation does thinkphp need?. For more information, please follow other related articles on the PHP Chinese website!