Indexed Database API

La API de base de datos indexada (comúnmente conocida como IndexedDB) es una interfaz de programación de aplicaciones (API) de JavaScript proporcionada por navegadores web para administrar una base de datos NoSQL de objetos JSON. Es un estándar mantenido por el World Wide Web Consortium (W3C).[1]

Como alternativa al estándar de almacenamiento web, IndexedDB puede proporcionar más capacidad de almacenamiento. El almacenamiento web tiene límites fijos por sitio web, pero los límites de IndexedDB son "generalmente bastante grandes, si es que existen".[2]

Los casos de uso para IndexedDB incluyen el almacenamiento en caché de datos de aplicaciones web para disponibilidad fuera de línea.[3]​ Algunos módulos del navegador, como devtools o extensiones, también pueden usarlo para el almacenamiento.

Historia

El soporte para IndexedDB se agregó a Firefox versión 4,[4]Google Chrome versión 11,[5]​ e Internet Explorer versión 10.[6]Safari agregó soporte en la versión 8.[7]

Web SQL Database fue una API previa desarrollada por Apple.[8]​ Pero Firefox se negó a agregarle soporte y argumentó en contra de que se convirtiera en un estándar porque codificaría las peculiaridades de SQLite.[9][10]​ Por lo tanto, quedó en desuso a favor de IndexedDB.[11]

Referencias

  1. «IndexedDB API». W3.org. Consultado el 4 de diciembre de 2015. 
  2. «Working with IndexedDB». Google. Consultado el 19 de enero de 2019. 
  3. «Using IndexedDB». MDN. Mozilla. Consultado el 19 de enero de 2019. 
  4. «IndexedDB - MDC Doc Center». Developer.mozilla.org. Archivado desde el original el 26 de mayo de 2012. Consultado el 18 de febrero de 2011. 
  5. «Web Platform Status». The Chromium Projects. 21 de mayo de 2012. Consultado el 24 de mayo de 2012. 
  6. IndexedDB, MSDN, 14 de marzo de 2012, consultado el 24 de mayo de 2012 .
  7. «What's New in macOS». Apple. Consultado el 9 de julio de 2017. 
  8. Shankland, Stephen (12 de marzo de 2010). «Consensus emerges for key Web app standard | Deep Tech - CNET News». News.cnet.com. Archivado desde el original el 8 de abril de 2013. Consultado el 18 de febrero de 2011. 
  9. «Well, I'm Back: Not Implementing Features Is Hard». Weblogs.mozillazine.org. Archivado desde el original el 6 de agosto de 2011. Consultado el 18 de febrero de 2011. 
  10. «Beyond HTML5: Database APIs and the Road to IndexedDB – Mozilla Hacks - the Web developer blog». Mozilla Hacks – the Web developer blog. 
  11. «html5 - Why is Web SQL database deprecated?». Software Engineering Stack Exchange. 

Enlaces externos

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.