Model-View-Controller Pattern

Learn about the famous model-view-controller architectural pattern.

We'll cover the following


Every application code can be viewed or organized into three parts:

  • View: Some code that will define the user interface that a user will interact with.
  • Model: A code section that manages and interacts with the application’s databases.
  • Controller: The brain of the application handles all the business logic.

The model-view-controller (MVC) is all about separating the application code into these three logical components.

Get hands-on with 1200+ tech skills courses.