Model-View-ViewModel

Noun · Development

Definitions

  1. A UI architecture pattern in which the ViewModel exposes observable state and commands that the View binds to declaratively, eliminating direct View manipulation — the pattern underpins frameworks like WPF, SwiftUI, Jetpack Compose, and Vue.js.

    In plain English: A code structure where a ViewModel holds the screen's data and the display automatically updates whenever that data changes, without manual wiring.

    Example: "The ViewModel publishes a `isLoading` observable; the View just binds a spinner to it — no manual show/hide calls."

Related Terms