Chapter 3. Observables, Bindings, and Templates

In this chapter, I explain how you can display JavaScript objects, such as a single product or array of products, in the pages of your Windows Store apps.

I start by explaining observables. An observable enables you to detect when a JavaScript property has been changed automatically. I also explain how you can take advantage of the WinJS.Binding.List object to detect when elements of an array are changed.

Next, I focus on the topic of declarative data binding. You learn how to use both ordinary JavaScript objects and observable JavaScript objects with declarative data binding.

Finally, ...

Get Windows® 8 Apps with HTML5 and JavaScript Unleashed 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.