辛夷坞

涧户寂无人,纷纷开且落

By - Christen

Web SQL Database

规范:http://dev.w3.org/html5/webdatabase/
Beware. This specification is no longer in active maintenance and the Web Applications Working Group does not intend to maintain it further.

  1. Web SQL Database 数据库API 实际上不是HTML5规范的组成部分;
  2. 在HTML5之前就已经存在了,是单独的规范;
  3. 它是将数据以数据库的形式存储在客户端,根据需求去读取;
  4. 跟Storage的区别是:Storage和Cookie都是以键值对的形式存在的;
  5. Web SQL Database 更方便于检索,允许sql语句查询;
  6. 让浏览器实现小型数据库存储功能;
  7. 这个数据库是集成在浏览器里面的,目前主流浏览器基本都已支持;

HTML5SQL.JS is a light JavaScript module that makes working with the HTML5 Web Database a whole lot easier.

Leave a Reply

Your email address will not be published.
*
*