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

前端之家收集整理的这篇文章主要介绍了sql – HTML5数据库的状态是什么?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
这个规格 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找到.

原文链接:https://www.f2er.com/mssql/81091.html

猜你在找的MsSQL相关文章