CHAPTER 10

image

Starting the ViewModel

In union there is strength.

—Aesop

In the previous two chapters, you learned about the interrelated concepts of XAML data binding and the Model-View-ViewModel design pattern. This chapter builds upon this progression by guiding you through the creation of the Model and ViewModel classes and updating the user interface to bind to the ViewModel and the data it exposes. Because of its focus on the practical application of concepts that have already been covered, much of this chapter will consist of exercises that build upon each other, so it is important to complete the exercises in order.

The MovieBrowser Model ...

Get Beginning Windows 8 Application Development: XAML Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.