Understanding the Model-View-Controller (MVC) Pattern
MVC pattern influences the structure of your codebase, with, for example, a separate class for the Controller, the Model, and the View. The Model represents and handles the data your application needs to run, especially as an in-memory, partial and local representation of the data that lives in your database.