本规范 http://www.w3.org/TR/webdatabase/说:
This document was on the W3C Recommendation track but specification work has stopped. The specification reached an impasse: all interested implementors have used the same SQL backend (Sqlite), but we need multiple independent implementations to proceed along a standardisation path.
这是否意味着 HTML5 数据库即将消失,并且在一段时间内我们将拥有一个使用 SQLite 的事实上的标准,可能会存在浏览器差异?或者 W3C 是否发布了完成标准的攻击计划?
最佳答案
根据 this article :
[...] we think it is worth explaining our design choices, and why we think IndexedDB is a better solution for the web than Web SQL Database.
In another article, we compare IndexedDB with Web SQL Database, and note that the former provides much syntactic simplicity over the latter. IndexedDB leaves room for a third-party JavaScript library to straddle the underlying primitives with a BTree API, and we look forward to seeing initiatives like BrowserCouch built on top of IndexedDB. Intrepid web developers can even build a SQL API on top of IndexedDB. We’d particularly welcome an implementation of the Web SQL Database API on top of IndexedDB, since we think that this is technically feasible. Starting with a SQL-based API for use with browser primitives wasn’t the right first step, but certainly there’s room for SQL-based APIs on top of IndexedDB.
我个人并没有被文章中提出的论点所左右,但很明显(目前)Mozilla 已经决定Web SQL 数据库已死。
关于这篇文章的更多有趣评论可以在on Hacker News中找到.
关于sql - HTML5 数据库的现状如何?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4720592/