O'Reilly logo

Windows 8 Apps Revealed: Using XAML and C# by Adam Freeman

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 2

image

Data, Binding, and Pages

In this chapter, I show you how to define and use the data that forms the core of a Windows app. To do this, I will be loosely following the view model pattern, which allows me to cleanly separate the data from the parts of the app responsible for displaying that data and handling user interactions.

You may already be familiar with view models from design patterns such as Model-View-Controller (MVC) and Model-View-View Controller (MVVC). I am not going to get into the details of these patterns in this book. There is a lot of good information about MVC and MVVC available, starting with Wikipedia, which has some ...

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