Skip to main content
Generic filters
Search in title
Search in content
Search in excerpt

Model View Controller – MVC

The Model View Controller (MVC) approach is a software design pattern commonly used for developing user interfaces that divide the related program logic into three interconnected elements. This is done to separate internal representations of information from the ways information is presented to and accepted by the user.  

MVC splits program functions into three pieces:

  • data that means something (the Model),
  • the way that data can be shown to a user (the View), and
  • the operations the user may apply to the data (the Controller).  

Instead of mixing these three functions into one set of programming code, developers separate them into their own “boxes” and define how they interact.

This results in much better flexibility, for example, for showing the same data on different devices, like web browsers on PCs and an app on the phone. It is the same data but presented in a separate “view” module. 

Full content is available for Members with MVP subscriptions.
Login Join Now

MVC Explained in 4 minutes  

YouTube player