Organization of This Document
See Also
The HTML 5 specification provides a new mechanism for client-side data storage: JavaScript database support. HTML 5 is currently in development by the Web Hypertext Application Technology Working Group (WHATWG).
JavaScript database support is available in Safari 3.1 and later, and in iPhone OS 2.0 and later.
You should read this documentation if you are a web developer who wants to store data locally on a user’s computer in amounts beyond what can reasonably be stored in an HTTP cookie.
This documentation is organized into the following chapters:
“Relational Database Basics”—Provides an overview of relational databases and the SQLite dialect of SQL.
“Using the JavaScript Database”—Tells how to use the JavaScript interface to SQLite.
“Database Example: A Simple Text Editor”—Provides an example of how to use SQLite in JavaScript.
For more information about the JavaScript database support (including reference material), see the SQL section of the HTML 5 Working Draft.
For more information about JavaScript in general, read Apple JavaScript Coding Guidelines and Safari DOM Extensions Reference.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-01-06)