Presentation patterns
The presentation patterns are a category of design patterns specialized in presenting data to the user. They are widely used in the development of user interfaces and their basic principle is the separation of concerns. State, logic, and synchronization management are distributed among components that contribute to create a specific architecture promoting flexibility and maintainability. The idea behind separation of concerns in the presentation patterns is to make a clear division between business objects, that are objects that describe the real world, and presentation objects, that are the GUI elements we see on the screen. Business objects should be completely self-contained and work without reference to the presentation. They should also be able to support multiple presentations, possibly simultaneously, like, for example, both graphical and command-line interface.
Model, View, and Controller
Traditionally, a presentation pattern relies on three components.
The first...