Indexed Database API

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

The Indexed Database API, or IndexedDB (formerly WebSimpleDB), is a recommended[1] web browser standard interface for a transactional local database of JSON objects collections with indices. W3C issued its final recommendation for the IndexedDB interface on January 8, 2015.[2]

Browser support

Preliminary support for IndexedDB is included by Firefox (since version 4[3]), Google Chrome (since version 11[4]), and by Internet Explorer 10 Consumer Preview and Metro style apps.[5] Apple announced forthcoming support in Safari 8 for both iOS 8 and OS X at their WWDC 2014 Keynote on June 2, 2014.[6]

Safari, Chrome 4, and Opera support[7] an alternate mechanism for client-side database storage called Web SQL Database.[8] On November 18, 2010, the W3C announced that the Web SQL database specification has reached an impasse and is no longer being actively worked on.[9] Firefox developers have publicly stated that the lack of WebSQL Database support in Firefox is on purpose, as they believe it is a problematic standard which requires an alternative (hence IndexedDB).[10]

Use cases

IndexedDB can be used for browser implemented functions, such as bookmarks, as well as web applications, such as email. An open-source reference implementation of the Indexed Database API exists for testing and experimentation purposes.[11] It has been used in eLibri a Library and eBook reader application.

Features

IndexedDB is a transactional database embedded in the browser. The database is organised around the concept of collections of JSON objects similarly to NoSQL databases MongoDB or CouchDB. Each object is identified with key generated during insert. An indexation system allows to optimize access to objects.

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.

External links