Skip to content

Files

Latest commit

073d06c · Apr 1, 2017

History

History

model-view-controller

README.md

layout title folder permalink pumlid categories tags
pattern
Model-View-Controller
model-view-controller
/patterns/model-view-controller/
ROl13SCm201NQGUm-NSRQgE42h258Lw_wR-_qvtkoTOaEwNBuuoOwmNWkEl1SUOx5taR5cHHsr1WoOs13X-yi7HQV5YP645k2nJN3Q2ZavIBQPVVwqFajXJjVwdfMcUgV040
Presentation Tier
Java
Difficulty-Intermediate

Intent

Separate the user interface into three interconnected components: the model, the view and the controller. Let the model manage the data, the view display the data and the controller mediate updating the data and redrawing the display.

alt text

Applicability

Use the Model-View-Controller pattern when

  • you want to clearly separate the domain data from its user interface representation

Credits