2.1 Variations on the Model
This chapter will focus on frequently encountered variations on the Model.
Table of contents
- 2.1.1 Compositing Model - Aggregate data from multiple Models, providing a single point of access to the View.
- 2.1.2 Model Pipe - Intercept, modify, and filter data flow between Model and View.
- 2.1.3 Application Model (MMVC) - Holds visual state to complement business logic state.
- 2.1.4 Side-by-Side Application Model - Selection Model - Holds complementary information to the current model.
- 2.1.5 UI Retrieving Model - Model retrieves information from the User through UI elements.
- 2.1.6 ModelController - Aggregates Model and Controller logic in a single object.
- 2.1.7 Local Model - Preserve the original Model state so that changes can be reverted.
- 2.1.8 Value Model - Trivialize complex Model interface to a simple, universal interface.
- 2.1.9 Proxy Model - Acts as proxy, hiding complexity to access resources from a backend.
- 2.1.10 Collection Model - Holds and aggregates Model objects of the same type.
- 2.1.11 View-aware Model - A model that knows its views interface beyond simple notification delivery.
- 2.1.12 Caching Model - Holds data in local cache to mitigate slow access.
- 2.1.13 Data/Metadata Model - Separate access to slow and bulky data vs. fast, lean and descriptive.
- 2.1.14 Recording Model - Record the changes for later consumption.
- 2.1.15 Transactional Setting - Setting multiple attributes at once with late notification.