请输入您要查询的百科知识:

 

词条 Indexed Database API
释义

  1. History

  2. References

The Indexed Database API (commonly referred to as IndexedDB) is a JavaScript application programming interface (API) provided by web browsers for managing a NoSQL database of JSON objects. It is a standard maintained by the World Wide Web Consortium (W3C).[1]

As an alternative to the Web storage standard, IndexedDB can provide more storage capacity. Web storage has fixed limits per website, but IndexedDB limits are "usually quite large, if they exist at all".[2]

Use cases for IndexedDB include caching web application data for offline availability.[3] Some browser modules, such as devtools or extensions, may also use it for storage.

History

Support for IndexedDB was added to Firefox version 4,[4] Google Chrome version 11,[5] and Internet Explorer version 10.[6] Safari eventually added support in version 8.[7]

Web SQL Database was a prior API developed by Apple.[8] But Firefox refused to add support for it and argued against it becoming a standard because it would codify the quirks of SQLite.[9][10] It was thus deprecated in favor of IndexedDB.[11]

References

1. ^{{cite web|url = http://www.w3.org/TR/IndexedDB/|title = IndexedDB API|publisher = W3.org|date = |accessdate = 2015-12-04}}
2. ^{{cite web |title=Working with IndexedDB |url=https://developers.google.com/web/ilt/pwa/working-with-indexeddb |publisher=Google |accessdate=19 January 2019}}
3. ^{{cite web |title=Using IndexedDB |url=https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB |website=MDN |publisher=Mozilla |accessdate=19 January 2019}}
4. ^{{cite web|url=https://developer.mozilla.org/en/IndexedDB |title=IndexedDB - MDC Doc Center |publisher=Developer.mozilla.org |date= |accessdate=2011-02-18}}
5. ^{{cite web|url=https://www.chromium.org/developers/web-platform-status#TOC-Indexed-Database-API- |title=Web Platform Status |publisher=The Chromium Projects |date=2012-05-21 |accessdate=2012-05-24}}
6. ^{{citation |url=http://msdn.microsoft.com/en-us/library/ie/hh673548(v=vs.85).aspx |title=IndexedDB |publisher=MSDN |date=2012-03-14 |accessdate=2012-05-24}}
7. ^{{cite web|url=https://developer.apple.com/library/content/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_10.html#//apple_ref/doc/uid/TP40014484-SW1|title=What's New in macOS |publisher=Apple |date= |accessdate=2017-07-09}}
8. ^{{cite web|last=Shankland |first=Stephen |url=http://news.cnet.com/8301-30685_3-20000376-264.html |title=Consensus emerges for key Web app standard | Deep Tech - CNET News |publisher=News.cnet.com |date=2010-03-12 |accessdate=2011-02-18}}
9. ^{{cite web|url=http://weblogs.mozillazine.org/roc/archives/2010/06/not_implementin.html |title=Well, I'm Back: Not Implementing Features Is Hard |publisher=Weblogs.mozillazine.org |date= |accessdate=2011-02-18}}
10. ^[https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/ Beyond HTML5: Database APIs and the Road to IndexedDB]
11. ^https://softwareengineering.stackexchange.com/questions/220254/why-is-web-sql-database-deprecated
{{Web browsers|fsp}}{{Web interfaces}}{{DEFAULTSORT:Indexed Database Api}}

2 : World Wide Web Consortium standards|Database APIs

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 6:48:39