Home>Article> What is mvc?

What is mvc?

little bottle
little bottle Original
2019-04-24 09:13:04 6480browse

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.

What is mvc?

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!

Statement:
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
Previous article:What is the use of apache? Next article:What is the use of apache?