Indexed Database API

From Wikipedia, the free encyclopedia
IndexedDB
Indexed Database API
AbbreviationIndexedDB
Native name
Indexed Database API
StatusFirst Public Working Draft
Latest version3.0
11 March 2021[1]
Preview versionEditor's Draft
11 March 2021[2]
Organization
  • W3C
  • Google
  • Microsoft
  • Mozilla[3]
CommitteeWeb Applications Working Group
Editors
Previous editors
    • Nikunj Mehta
    • Jonas Sicking
    • Eliot Graff
    • Andrei Popescu
    • Jeremy Orlow
Base standards
  • HTML DOM
  • File API
  • Infra Standard
  • JSON
  • Storage Standard
Related standards
DomainNoSQL databases
Websitewww.w3.org/TR/IndexedDB/

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".[4]

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

History[]

Support for IndexedDB was added to Firefox version 4,[6] Google Chrome version 11,[7] Internet Explorer version 10,[8] Safari version 8,[9] and Microsoft Edge version 12.[10]

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

IndexedDB 1.0 became a W3C Recommendation on January 8th, 2015.[15] IndexedDB 2.0 became a W3C Recommendation on January 30th, 2018.[16][3] IndexedDB 3.0 is currently a First Public Working Draft.[1]

References[]

  1. ^ a b c d e Web Applications Working Group (2021-03-11). Alabbas, Ali; Bell, Joshua (eds.). "Indexed Database API 3.0". W3C. W3C First Public Working Draft. Web Applications Working Group. Retrieved 2021-05-15.
  2. ^ Web Applications Working Group (2021-03-11). Alabbas, Ali; Bell, Joshua (eds.). "Indexed Database API 3.0". W3C. Editor’s Draft. Web Applications Working Group. Retrieved 2021-05-15.
  3. ^ a b Web Applications Working Group (2018-01-30). Alabbas, Ali; Bell, Joshua (eds.). "Indexed Database API 2.0". W3C. W3C Recommendation. Web Applications Working Group. Retrieved 2021-05-16.
  4. ^ "Working with IndexedDB". Google. Retrieved 19 January 2019.
  5. ^ "Using IndexedDB". MDN. Mozilla. Retrieved 19 January 2019.
  6. ^ "IndexedDB - MDC Doc Center". Developer.mozilla.org. Retrieved 2011-02-18.
  7. ^ "IndexedDB - Chrome Platform Status". IndexedDB - Chrome Platform Status. The Chromium Projects. 2012-05-21. Retrieved 2021-05-15.
  8. ^ IndexedDB, MSDN, 2012-03-14, retrieved 2012-05-24
  9. ^ "OS X Yosemite v10.10 § App Features". Apple Developers. Apple. 2017-07-09. Retrieved 2021-05-15.
  10. ^ "IndexedDB". Can I use... n.d. Retrieved 2021-05-16.
  11. ^ Shankland, Stephen (2010-03-12). "Consensus emerges for key Web app standard | Deep Tech - CNET News". News.cnet.com. Retrieved 2011-02-18.
  12. ^ O'Callahan, Robert (2010-06-04). "Well, I'm Back: Not Implementing Features Is Hard". Weblogs.mozillazine.org. Archived from the original on 2021-01-26. Retrieved 2011-02-18.
  13. ^ Ranganathan, Arun (2010-06-01). "Beyond HTML5: Database APIs and the Road to IndexedDB – Mozilla Hacks - the Web developer blog". Mozilla Hacks – the Web developer blog. Retrieved 2021-05-21.
  14. ^ "html5 - Why is Web SQL database deprecated?". Software Engineering Stack Exchange.
  15. ^ Web Applications Working Group (2015-01-08). Mehta, Nikunj; Sicking, Jonas; Graff, Eliot; Popescu, Andrei; Orlow, Jeremy; Bell, Joshua (eds.). "Indexed Database API". W3C. W3C Recommendation. Web Applications Working Group. Retrieved 2021-05-16.
  16. ^ W3C (2018-01-30). "Indexed Database API 2.0 is now a W3C Recommendation | W3C News". W3C News. Retrieved 2021-05-16.

External links[]

Retrieved from ""