Trygve Reenskaug first devised MVC in the late 1970s for Smalltalk. The basic goal of MVC is separating user interface code into three separate areas.
The three areas that MVC defines are Model, View, and Controller. These are responsible for domain logic, user interface, and control logic respectively. MVC has the following benefits:
1. Manipulating interfaces is simple.
2. Multiple separate views of the same data can be implemented.
3. Changes made to the logic control are easy.
4. Helps developers avoid repeating common code.
5. Helps developers to work together in segregation.
Trygve Reenskaug first devised MVC in the late 1970s for Smalltalk. The basic goal of MVC is separating user interface code into three separate areas.
The three areas that MVC defines are Model, View, and Controller. These are responsible for domain logic, user interface, and control logic respectively.