Home > Backend Development > PHP Tutorial > PHP infrastructure MVC

PHP infrastructure MVC

WBOY
Release: 2016-08-08 09:20:55
Original
950 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template