Hour 11. Storing Data Locally
What You’ll Learn This Hour:
• Using DOM local storage
• Using DOM session storage
• Making use of the WinJS sessionState
object
• Using the WinRT application data
• Saving a canvas contents to an image file
• Using the Indexed Database API
Storing information apps can use is a common need. This can include simple settings for apps or a complete database with thousands of records. During this hour, we look at the different ways to store data locally. We also look at ways to retrieve the data and do work on files we included in our app package.
Knowing the different available options and which storage type to use is important. We discuss application roaming and what data we can store to support that scenario. We ...
Get Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours 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.