Skip to content

Files

Latest commit

7a7e891 · Sep 30, 2018

History

History
This branch is 2027 commits behind iluwatar/java-design-patterns:master.

model-view-controller

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 28, 2017
Dec 31, 2017
Nov 28, 2017
Sep 30, 2018
layout title folder permalink categories tags
pattern
Model-View-Controller
model-view-controller
/patterns/model-view-controller/
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