MVC
The Model-View-Controller (MVC) in computer science is a very popular architectural pattern in the development of software systems, especially in object-oriented programming. It is suitable to separate the logic of presenting data from business logic. This pattern is positioned in the presentation level in a multi-tier architecture.
Components
The central component of the MVC--the model--captures the behavior of the application in the domain of the problem, regardless of the user interface. The model directly handles the data, logic, and application rules. A view can be in any form of output of information, such as a graph or diagram. Multiple views of the same information, such as a management bar chart and chart view, are possible. The third party, the controller, accepts input and converts it into commands for the model and/or view.
Use
Historically, the MVC pattern has been implemented on the server side. Recently, with the development and partial standardization of JavaScript, the first...