view model
A "view model" is essential in software development, especially within the MVVM architectural pattern, serving as a bridge between the user interface and business logic.
πΊπΈ US Voice:
π¬π§ UK Voice:
Definition
C1Software Development
(technical)An intermediary component in the MVVM pattern that connects the user interface with the underlying data and logic.
Example
- The view model converts raw data from the model into a format suitable for the view.
- In the MVVM architecture, the view model handles the logic and commands needed for user interactions.
C1Architecture and Design
(technical, academic)A conceptual framework used to visualize and communicate different perspectives of a project.
Example
- Architects use a view model to present various layers of a building's design.
Similar
Terms that have similar or relatively close meanings to "view model":