O'Reilly logo

Mastering Windows 8 C++ App Development by Pavel Yosifovich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to MVVM

Commands are just one aspect of more general patterns for dealing with user interface in non-trivial applications. To that end, a number of UI design patterns are available, such as Model View Controller (MVC), Model View Presenter (MVP), and Model-View-ViewModel (MVVM). All have something in common: the separation of the actual UI (view) from the application logic (controller, presenter, and view model) and the underlying data (model).

The MVVM pattern popularized by WPF and Silverlight leverages the power of data binding and commands to create decoupling between the UI (View) and the data (Model) by using an intermediary (View Model).

MVVM constituents

MVVM has three participants. The model represents the data or business ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required