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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.