Summary

In this chapter, I focused on creating custom data sources that you can use with the controls in the WinJS library. You learned how to derive a new data source from the base VirtualizedDataSource class.

I discussed three custom data sources. First, I created a file data source which enables you to store and retrieve data from your computer’s file system. Next, I created a web service data source that enables you to interact with a remote web service. Finally, I discussed how you can create a data source that works with IndexedDB.

Get Windows® 8.1 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.