Skip to Content
Pro HTML5 Programming: Powerful APIs for Richer Internet Application Development
book

Pro HTML5 Programming: Powerful APIs for Richer Internet Application Development

by Peter Lubbers, Brian Albers, Frank Salim
August 2010
Intermediate to advanced
304 pages
6h 44m
English
Apress
Content preview from Pro HTML5 Programming: Powerful APIs for Richer Internet Application Development

Chapter 9. Using the HTML5 Web Storage API

In this chapter, we will explore what you can do with HTML5 Web Storage—sometimes referred to as DOMStorage—an API that makes it easy to persist data across web requests. Before the Web Storage API, remote web servers needed to store any data that persisted by sending it back and forth from client to server. With the advent of the Web Storage API, developers can now store data directly on the client side in the browserfor repeated access across requests or to be retrieved long after you completely close the browser, thus reducing network traffic.

In this chapter, we'll first look at how Web Storage differs from cookies and then explore how you can store and retrieve data. Next, we will look at the differences ...

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

Using the HTML5 Filesystem API

Using the HTML5 Filesystem API

Eric Bidelman
HTML5 Geolocation

HTML5 Geolocation

Anthony T. Holdener
HTML5 Hacks

HTML5 Hacks

Jesse Cravens, Jeff Burtoft
Jump Start HTML5

Jump Start HTML5

Tiffany B Brown, Kerry Butters, Sandeep Panda

Publisher Resources

ISBN: 9781430227908Purchase book