Web applications can already take advantage of
SQL? Which SQL?
The Benefits and Pitfalls of SQLite
We think SQLite is an extremely useful technology for applications, and make it available for Firefox extensions and trusted code. We don’t think it is the right basis for an API exposed to general web content, not least of all because there isn’t a credible, widely accepted standard that subsets SQL in a useful way. Additionally, we don’t want changes to SQLite to affect the web later, and don’t think harnessing major browser releases (and a web standard) to SQLite is prudent. IndexedDB does not have this problem; even though our underlying implementation of IndexedDB may be based on SQLite, we keep developers insulated from changes to SQLite by exposing an API that isn’t based on SQLite’s supported syntax.
Aesthetics and Web Developers
We want to continue the discussion with web developers about storage on the web, since that helps us structure our thoughts about product features and future web standards. We look forward to seeing the next generation of web applications with support for high performance searches on indexed data, and to seeing web applications work even more robustly in “airplane mode.”
- A comparison of IndexedDB and the Web SQL Database API.
- Early objections to the Web SQL Database API voiced by Mozilla engineer Vladimir Vukicevic.
- IndexedDB specification.
- MDC Documentation on localStorage.