Successfully reported this slideshow.
Your SlideShare is downloading. ×

[@NaukriEngineering] IndexedDB

Loading in …3
×

Check these out next

1 of 7 Ad
1 of 7 Ad

[@NaukriEngineering] IndexedDB

Download to read offline

IndexedDB is an HTML5 API that allows us to store/retrieve large amount of data on user’s browser. It does not have any storage limit, and is hence better than other browser storages.

IndexedDB is an HTML5 API that allows us to store/retrieve large amount of data on user’s browser. It does not have any storage limit, and is hence better than other browser storages.

Advertisement
Advertisement

More Related Content

Advertisement
Advertisement

[@NaukriEngineering] IndexedDB

  1. 1. IndexedDB - The store in your browser - Sakshi Mehra FED
  2. 2. What is IndexedDB?  HTML5 API to store data in browser  Can store large amount of data on client side  It stores key-pair values  Allows fast indexing and searching  It is not a structured query language  It is non-relational (A NoSQL database)  Works in asynchronous mode 
  3. 3. Browser Support  Internet Explorer 10+  Firefox  Chrome  Chrome for Android  Firefox for Android  BlackBerry 10
  4. 4. Why indexedDB  LocalStorage - Very simple API - but usage is capped at 5 MB - synchronous - good browser support  WebSQL - supported only on Chrome and Safari - asynchronous - relational database implementation IndexedDB is the successor to both LocalStorage and WebSQL Let’s understand how. Hence came IndexedDB up in its preference!!
  5. 5. Using IndexedDB:  All IndexedDB functionality is accessed through window.indexedDB object window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  6. 6. This is how IndexedDB looks
  7. 7. Thank you!

×