Files
java-design-patterns/model-view-controller
Bruno Fernandes 3fde35ac77 refactoring: Adding lombok to MVC pattern (#2188)
* Refactor: Added lombok to data-transfer-object pattern

* Refactor: Added lombok to data-transfer-object pattern

* Fix: Reverting all-contributors changes

* Fix: Fixing checkstyle for DTO

* Fix: Fixing checkstyle for Product.java

* Feature: Added lombok to MVC

* Fix: Fix imports
2022-11-05 16:54:23 +02:00
..
2019-12-07 18:03:49 +02:00
2022-09-14 23:22:24 +05:30

title, category, language, tags
title category language tags
Model-View-Controller Architectural en
Decoupling

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.

Class diagram

alt text

Applicability

Use the Model-View-Controller pattern when

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

Credits