IndexedDB: Difference between revisions

Content deleted Content added
Add Oracle name as its involvement with the initial drafts of the API
General fixes & manual cleanup, replaced: OracleOracle
Line 18:
* [[Microsoft]]
* [[Mozilla]]<ref name="standard-v2" />
* [[Oracle Corporation|Oracle]]<ref name="standard-2015">{{Cite web|url=https://www.w3.org/TR/2015/REC-IndexedDB-20150108/#h-acknowledgements|title=Indexed Database API|date=2015-01-08|access-date=2022-04-21}}</ref>
}}
| committee = Web Applications Working Group
Line 52:
The '''Indexed Database API''' (commonly referred to as '''IndexedDB''') is a [[JavaScript]] [[application programming interface]] (API) provided by [[web browser]]s for managing a [[NoSQL]] [[database]] of [[JSON]] objects. It is a standard maintained by the [[World Wide Web Consortium]] (W3C).<ref name="standard" />
 
As an alternative to the [[Web storage]] standard, IndexedDB can provide more storage capacity. Web storage has [[Web_storageWeb storage#Storage_sizeStorage size|fixed limits]] per [[website]], but IndexedDB limits are "usually quite large, if they exist at all".<ref>{{cite web |title=Working with IndexedDB |url=https://developers.google.com/web/ilt/pwa/working-with-indexeddb |publisher=Google |access-date=19 January 2019}}</ref>
 
[[Use case]]s for IndexedDB include caching [[web application]] data for [[offline]] availability.<ref>{{cite web |title=Using IndexedDB |url=https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB |website=MDN |publisher=Mozilla |access-date=19 January 2019}}</ref> Some browser modules, such as [[Web development tools|devtools]] or [[browser extension|extensions]], may also use it for storage.
Line 61:
[[Web SQL Database]] was a prior API developed by [[Apple Inc.|Apple]].<ref>{{cite web|last=Shankland|first=Stephen|url=https://www.cnet.com/news/consensus-emerges-for-key-web-app-standard/|title=Consensus emerges for key Web app standard &#124; Deep Tech - CNET News |publisher=News.cnet.com |date=2010-03-12 |access-date=2011-02-18}}</ref> But Firefox refused to add support for it and argued against it becoming a standard because it would codify the quirks of [[SQLite]].<ref>{{cite web|url=https://robert.ocallahan.org/2010/06/not-implementing-features-is-hard_03.html|archive-url=https://web.archive.org/web/20201109032423/http://robert.ocallahan.org/2010/06/not-implementing-features-is-hard_03.html|title=Well, I'm Back: Not Implementing Features Is Hard|author-first=Robert|author-last=O'Callahan|publisher=Weblogs.mozillazine.org|date=2010-06-04|access-date=2011-02-18|archive-date=2021-01-26}}</ref><ref>{{Cite web|url=https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb|title=Beyond HTML5: Database APIs and the Road to IndexedDB – Mozilla Hacks - the Web developer blog|website=Mozilla Hacks – the Web developer blog|author-first=Arun|author-last=Ranganathan|date=2010-06-01|access-date=2021-05-21}}</ref> It was thus [[deprecation|deprecated]] in favor of IndexedDB.<ref>{{Cite web|url=https://softwareengineering.stackexchange.com/questions/220254/why-is-web-sql-database-deprecated|title=html5 - Why is Web SQL database deprecated?|website=Software Engineering Stack Exchange}}</ref>
 
''IndexedDB 1.0'' became a [[World Wide Web Consortium#W3C recommendation (REC)|W3C Recommendation]] on January 8th8, 2015.<ref name="standard-v1">{{Cite web|url=https://www.w3.org/TR/2015/REC-IndexedDB-20150108/|title=Indexed Database API|date=2015-01-08|access-date=2021-05-16|publisher=Web Applications Working Group|author=Web Applications Working Group|website=W3C|version=W3C Recommendation
|editor-first1=Nikunj|editor-last1=Mehta
|editor-first2=Jonas|editor-last2=Sicking
Line 68:
|editor-first5=Jeremy|editor-last5=Orlow
|editor-first6=Joshua|editor-last6=Bell
}}</ref> ''IndexedDB 2.0'' became a W3C Recommendation on January 30th30, 2018.<ref name="w3c-blog-indexeddb-2.0">{{Cite web|url=https://www.w3.org/blog/news/archives/6795|title=Indexed Database API 2.0 is now a W3C Recommendation {{!}} W3C News|website=W3C News|author=W3C|date=2018-01-30|access-date=2021-05-16}}</ref><ref name="standard-v2">{{Cite web|url=https://www.w3.org/TR/IndexedDB-2/|title=Indexed Database API 2.0|date=2018-01-30|access-date=2021-05-16|publisher=Web Applications Working Group|author=Web Applications Working Group|website=W3C|version=W3C Recommendation
|editor-first=Ali|editor-last=Alabbas
|editor-first2=Joshua|editor-last2=Bell
Line 83:
{{W3C standards}}
 
{{DEFAULTSORT:Indexed Database Api}}
[[Category:World Wide Web Consortium standards]]
[[Category:Database APIs]]