MVC Pattern

This lesson discusses the MVC pattern in detail with the aid of a coding example.

What is the MVC pattern?

The MVC pattern stands for model view controller pattern. It is an architectural pattern used to organize the code of your application. It consists of three components:

  • Model:

    This is the model component that manages the data that the application may require.

  • View:

    The view is used for the visual representation of the current ...