MVC Pattern
Model-View-Controller architecture
Overview
Model-View-Controller divides an application into three interconnected components. This separates internal representation of information from the ways information is presented to and accepted from the user.
Key Concepts
Model: Manages data, logic and rules.
View: UI presentation.
Controller: Accepts input and converts it to commands for the model or view.