The full name of MVC is Model View Controller, which is the abbreviation of model, view and controller. It is a software design pattern. In this article, the editor will talk to you about what MVC is. Friends who are interested can learn more about it. I hope it can help you.
MVC initially existed in desktop programs. M refers to the business model, V refers to the user interface, and C refers to the controller. The purpose of using MVC is to combine M It is separated from the implementation code of V, so that the same program can use different representations. For example, a batch of statistical data can be represented by bar charts and pie charts respectively. The purpose of C is to ensure the synchronization of M and V. Once M changes, V should be updated synchronously.
If you want to know more related technical tutorials, please be sure to pay attention toPHP Chinese website!
The above is the detailed content of What is mvc?. For more information, please follow other related articles on the PHP Chinese website!