O'Reilly logo

Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours by Chad Carter

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

Hour 12. Using Remote Data

What You’ll Learn This Hour:

• Making calls to a remote server using WinJS.xhr

• Parsing RSS and Atom feeds

• Passing different options into WinJS.xhr

• Downloading many types of data

• Forcing an update even if a request is cached locally

Working with local data is needed, but many times apps need to pull data from the Internet. During this hour, we show see some of the ways to connect to outside web services. We explore different ways to consume remote data and how to bring that data into apps.

We work on an RSS Reader app that reads in both RSS content and Atom content. Each post is parsed and stored in an array bound to a ListView. We start with the Split App project and modify the data.js to utilize remote data ...

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