O'Reilly logo

Building Windows 8 Apps with JavaScript by Don Box, Brandon Satrom, Chris Sells

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

2. Binding and Controls

In Chapter 1, “Hello, Windows 8!” I explained how binding is the ability to take the value of a list of data, like a set of RSS feeds, and use it to populate a control, like a ListView. Further, I explained how to tailor which data we extract using templates, and I provided an example in which we extracted just the title from each feed. In this chapter we’ll discuss how binding is even more flexible than that, allowing us to update the UI as the underlying data changes as well as sort, filter, and group the data.

When we use data binding, it’s often in the context of a control, just like when we configured the ListView control with the list of feeds to use and the template to use for each feed. In this chapter, we’re going ...

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