mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
3fde35ac77
* 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
title, category, language, tags
| title | category | language | tags | |
|---|---|---|---|---|
| Model-View-Controller | Architectural | en |
|
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
Applicability
Use the Model-View-Controller pattern when
- You want to clearly separate the domain data from its user interface representation
