Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

IndexedDB Crash Course with JavaScript

Hussein Nasser via YouTube

Overview

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

Reviews

5.0 rating, based on 1 Class Central review

Start your review of IndexedDB Crash Course with JavaScript

  • Nombulelo Khumalo
    I totally loved the tutorial and the tutor most especially, he made it interesting :). These were pretty basic concepts but they were very helpful because it was mostly practical

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.