Chapter 7Be Persistent with Local Storage

It is rare to have nary a need to store some information. No matter where you look, you might be asked to provide information, such as your name to join some service. Or you may be initiating retrieving some already stored information, such as looking up movies in your neighborhood by providing a ZIP code or city name. These uses involve a server and a database of some sort, which could be a standard SQL-based database such as MySQL or SQL Server, a text file, an XML file, and so forth. The point is that the data is stored in some traditional repository.

Along comes HTML5 and a new way to store information—without a database. In fact, you can even work without being hooked up to the Internet. The examples ...

Get HTML5 Multimedia Developer's Guide 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.