加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql – HTML5数据库的状态是什么?

发布时间:2020-12-12 16:54:18 所属栏目:MsSql教程 来源:网络整理
导读:这个规格 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),b
这个规格 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 07001 is a better solution for the web than Web SQL Database.

In another article,we 07002,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找到.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读