Chapter 8. Creating Data Sources
The WinJS library includes two objects which you can use as data sources—the List and the StorageDataSource
objects. If you need to use a ListView
or FlipView
with other types of data, then you need to write a custom data source.
The goal of this chapter is to explain how you can write custom data sources. In this chapter, I explain how you can create three custom data sources:
• FileDataSource—The file data source stores data on the local file system.
• WebServiceDataSource—The web service data source enables you to use a remote web service to retrieve and store ...
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.