# Model-View-ViewModel

*noun*

say it: **“MOD-ul VYOO VYOO-mod-ul”** **/ˈmɑdəl vju ˈvjuˌmɑdəl/**

A pattern where a screen is bound to a view model that holds its state, works out what it shows and tells it when anything changes.

## What is **Model-View-ViewModel (MVVM)**?

**Model-View-ViewModel**, or **MVVM**, is for screens that stay up and change. The **view model** holds the screen's state and works out everything it shows (how many books are out, whether Borrow is on), and tells its listeners when anything changes. The **view** is bound to it, so it redraws itself; nobody updates a label by hand. The **model** behind it holds the real data and rules.

## In a sentence

- “After we moved the kiosk to **Model-View-ViewModel**, the Borrow button stopped getting stuck.”

Level: Freelancer · [More OOP terms at this level](https://www.ask-codey.com/glossary?category=oop&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/model-view-viewmodel
