MVC
Model-View-Controller (MVC) is a software architectural pattern that organizes an application into three interconnected components: the Model, the View, and the Controller. The Model represents the data and the business rules associated with that data. The View renders the user interface and presents data from the Model. The Controller handles user input, coordinates updates to the Model, and selects the appropriate View for response.
In typical MVC use, the View reads data from the Model to display to the user, often
MVC originated in the 1970s with Trygve Reenskaug at Xerox PARC and was popularized by Smalltalk environments.
Advantages of MVC include improved modularity, testability, and parallel development, as well as easier maintenance by