Model-View-Controller

Model-View-Controller is an architectural pattern and paradigm that divides the application into three main layers, described in the following points:

  • The Model: Captures and centralizes all the Domain Model behavior. This layer manages all the data, logic, and business rules independently of the data representation. It has been said that the Model layer is the heart and soul of every MVC application.
  • The Controller: Orchestrates interactions between the other layers, triggers actions on the Model in order to update its state, and refreshes the representations associated with the Model. Additionally, the Controller can send messages to the View layer in order to change the specific Model representation.
  • The View: Exposes the differing representations of the Model layer and provides a way to trigger changes on the Model's state.
The MVC pattern
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset