June 2012
Intermediate to advanced
278 pages
7h 37m
English
A natural complement to offline applications is client-side data storage. HTML5 defines some useful JavaScript APIs for storing data in the browser, ranging from simple name/value pairs to using a JavaScript object database. In this chapter, I show you how to build applications that rely on persistently stored data, including details of how to use such data in an offline web application.
Caution The browser support for data storage is mixed. You should run the examples in this chapter using Google Chrome, with the exception of those in the IndexedDB section, which will run only in Mozilla Firefox. ...