Indexed Database API

Indexed Database API(简称IndexedDB,以前称WebSimpleDB)是W3C推荐的一项网页浏览器标准[1],是为提供一个具有索引的JSON对象集合的事务性本地数据库操作接口。W3C于2015年1月8日发布了IndexedDB接口的最终建议。[2]

浏览器支持

Firefox(自版本4[3])、Google Chrome(自版本11[4])和Internet Explorer 10的消费者预览及Metro式应用中IndexedDB已经得到初步支持。[5]苹果公司已在2014年6月2日的WWDC 2014的主旨发言中宣布将在iOS 8和OS X上的Safari 8中支持。[6]

使用案例

IndexedDB可以用于浏览器内实现的功能,例如书签,以及Web应用程序,如电子邮件。索引数据库API的一个开源参考实现已经出现(用于测试和实验目的)[7]

特性

IndexedDB是一个嵌入在浏览器中的事务数据库。该数据库的管理围绕JSON对象集合的概念,这类似NoSQL数据库MongoDB与CouchDB。其中每个对象使用插入时生成的键标识。而索引系统优化对存储对象的访问。[8]

参考文献

  1. ^ Indexed Database API. W3.org. [2011-02-18]. (原始内容存档于2011-02-02). 
  2. ^ IndexedDB API. W3.org. [2015-12-04]. (原始内容存档于2011-02-02). 
  3. ^ IndexedDB - MDC Doc Center. Developer.mozilla.org. [2011-02-18]. (原始内容存档于2012-05-26). 
  4. ^ Web Platform Status. The Chromium Projects. 2012-05-21 [2012-05-24]. (原始内容存档于2013-07-17). 
  5. ^ IndexedDB, MSDN, 2012-03-14 [2012-05-24], (原始内容存档于2015-03-26) 
  6. ^ Apple - OS X Yosemite - Apps. Apple. [2014-06-02]. (原始内容存档于2014-06-03). 
  7. ^ indexeddb - Project Hosting on Google Code. Code.google.com. [2011-02-18]. (原始内容存档于2011-08-20). 
  8. ^ Nelson, Anne Fulcher, and Nelson, William Harris Morehead. (2001).

外部链接

  • IndexedDB: a complete reference on the MDN (页面存档备份,存于互联网档案馆
  • Beyond HTML5: Database APIs and the Road to IndexedDB (页面存档备份,存于互联网档案馆

参见

Web接口
服务器英语Server-side
  • HTTP
  • CGI
  • SCGI
  • FCGI
  • AJP英语Apache JServ Protocol
  • WSRP英语Web Services for Remote Portlets
  • WebSocket
  • C NSAPI英语Netscape Server Application Programming Interface
  • C ASAPI
  • C ISAPI
  • COM ASP
  • Java Servlet
  • CLI OWIN英语Open Web Interface for .NET
  • ASP.NET Handler英语HTTP handler
  • Python WSGI
  • Ruby Rack英语Rack (web server interface)
  • JavaScript JSGI英语JSGI
  • Perl PSGI英语PSGI
  • Lua WSAPI英语Kepler (software)#Frameworks
  • Portlet
    • 容器英语Portlet container
Apache模块
  • mod_jk英语mod_jk
  • mod_lisp英语mod_lisp
  • mod_mono英语mod_mono
  • mod_parrot英语mod_parrot
  • mod_perl英语mod_perl
  • mod_php
  • mod_proxy英语mod_proxy
  • mod_python英语mod_python
  • mod_wsgi英语mod_wsgi
  • mod_ruby英语mod_ruby
  • Phusion Passenger英语Phusion Passenger
主题
  • Web资源英语Web resourceWeb服务
  • 开放API英语Open API
  • 网络钩子
  • 應用程式伺服器
    • 比较英语Comparison of application servers
  • 脚本英语Server-side scripting
客户端英语Client-side
  • 音频英语HTML5 Audio
  • Canvas
  • CORS
  • DOM
  • DOM事件英语DOM events
  • EME
  • File英语HTML5 File API
  • Geolocation英语W3C Geolocation API
  • IndexedDB
  • MSE
  • SSE英语Server-sent events
  • SVG
  • 视频英语HTML5 video
  • WebRTC
  • WebSocket
  • Web消息英语Web Messaging
  • 网页存储
  • Web worker英语Web worker
  • XMLHTTP
  • WebCL英语WebCL
  • WebGL
其他
主题
主题