O'Reilly logo

Programming the Windows Runtime by Example: A Comprehensive Guide to WinRT with Examples in C# and XAML by John Garland, Jeremy Likness

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

9. Model-View-ViewModel (MVVM)

Model-View-ViewModel (MVVM) is a proven pattern used in applications that support data-binding. Introduced in 2005 to support Windows Presentation Foundation (WPF)1 apps, its use was popularized by Silverlight and has grown to encompass a variety of platforms including XAML and the JavaScript. MVVM was based on even older design patterns that date back to the late 1970s2. Windows Store apps written with C# and XAML are particularly suited to MVVM because of the data-binding support XAML provides. In fact, most of the store templates and examples support the concept of MVVM to varying degrees. It is therefore important to understand MVVM when you are developing WinRT apps.

1 Introduction to Model/View/ViewModel pattern ...

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