2. MVC: Model–View–Controller
What Is MVC?
A Little History
The
Model–View–Controller (MVC) pattern was introduced by Trygve Reenskaug for the Smalltalk-76 programming language in the late 1970s. As Reenskaug wrote:
https://folk.universitetetioslo.no/trygver/.
I created the Model-View-Controller pattern as an obvious solution to the general problem of giving users control over their information as seen from multiple perspectives.
In this first version, the user interacted through the View, which sent the actions to the Controller, and this, in turn, updated the Model (data) and redrew the View. The Model ...