As a newbie who is new to PHP, here are some of my own experiences in learning PHP.
To learn PHP, you must learn its basic framework. Learning PHP is to make a website. Based on the production of the website, the main thing is the construction of the basic framework.
Now more website development is based on integrated mature frameworks. For example, thinkphp
The following is a description and detailed explanation of mvc.
m is model, its main function is to perform basic operations on sql and operate the database, but it will not perform judgment and detection
v is view, mainly used for display, only responsible for output, no logic
c is controller , mainly responsible for responding to users. Responsible for scheduling models and views, mainly responsible for judgment, detection and logic control.
The above is mainly the composition of a basic framework of PHP.
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above has introduced the basic architecture of PHP, MVC, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.