MVC Stands for Model-View-Controller. It is a famous architectural pattern used to build scalable and extensible web applications. It separates an application into 3 components i.e. Model, View and Controller.
The Model
Model component corresponds to all data-related logic that the user works with. It could be business-related data or application-related data.
The View
The Html page which is rendered in the browser is written in this component. As the name suggests, this component deals with the view interface of the user i.e. UI.
The Controller
The controller acts as neurons for view and model components. It takes the request from the user, then manipulates the data through the model, then show the result via view to the user.
Evolution of MVC
It was first introduced by Trygve Reenskaug into Smalltalk-79 while visiting the Xerox Palo Alto Research Center (PARC). Its use in web apps was exploded after the introduction of NeXT web objects in 1996. Later frameworks such as Spring, Django and Rails have increased the popularity outside traditional enterprise environments.
Features of MVC
It is a highly extensible, testable and pluggable framework.
It supports URL routing for SEO friendly URL
There is a clear separation of logic via Model, view and controller components.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)