Skip to Main Content
Pro JavaScript for Web Apps
book

Pro JavaScript for Web Apps

by Adam Freeman
June 2012
Intermediate to advanced content levelIntermediate to advanced
278 pages
7h 37m
English
Apress
Content preview from Pro JavaScript for Web Apps

C H A P T E R  6

Storing Data in the Browser

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.

Image 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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro JavaScript Development: Coding, Capabilities, and Tooling

Pro JavaScript Development: Coding, Capabilities, and Tooling

Den Odell
JavaScript: Best Practice

JavaScript: Best Practice

James Kolce, Moritz Kroger, Ivan Curic, Samier Saeed, Jeff Mott, M. David Green, Craig Buckler

Publisher Resources

ISBN: 9781430244615Purchase book