Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive tutorial on IndexedDB, a powerful client-side storage technology for web browsers. Learn about the database opening process, including the event flow for onupgradeneeded, onsuccess, and onerror. Explore how to create object stores, perform write and read transactions, and handle unique key constraints. Discover the use of cursors for efficient data retrieval. Follow along with practical examples using JavaScript in the browser and Visual Studio Code. Access the accompanying GitHub repository for hands-on practice and further exploration of this robust browser-based database system.
Syllabus
Introduction to IndexedDB
IndexedDB open database events Flow chart
Tutorial start
indexedDB.open
onupgradeneeded, onsuccess, onerror
The database object
Creating object store
Adding new object to the object store
Unique key constraint
View objects
cursors
Taught by
Hussein Nasser