Model view controller is a pattern of software architecture, which separates the information's representation from the interaction of user with that information. The MVC model has three main components: model, view and controller
Model
The model contains the contents of information, which are related to the components. This can be as simple as a string or an integer, and as complex as external database interface. Model is not needed to be included in the MVC component. It can only contain a link to the model. Model is common is several components of MVC are ...