O'Reilly logo

Windows 8 MVVM Patterns Revealed: covers both C# and JavaScript by Ashish Ghoda

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

CHAPTER 3

image

Implementing the Model

When I started writing this book, I took some time before determining the current order of chapters 2, 3 and 4. There is always a great debate for MVVM implementation about what you design and implement first; Model, View or ViewModel? Theoretically if you look at the core of the Model-View-ViewModel design pattern, ViewModel is at the heart of the design implementation. It ties one or more Views (user interface) with the Model (your data source) by exposing properties on the Model objects and binding it to the Views. This would enable displaying the data as information as part of the application user interface. ...

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