From the course: JavaScript: Client-Side Data Storage

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Overview of ZangoDB and JsStore

Overview of ZangoDB and JsStore - JavaScript Tutorial

From the course: JavaScript: Client-Side Data Storage

Start my 1-month free trial

Overview of ZangoDB and JsStore

- [Instructor] ZangoDB is also another alternative to IndexedDB, which provides a similar approach to Dexie.js, and also supports ES6 promises to follow with callbacks, and catch any errors that may occur. Go to erikolson186.github.io/zangodb. And here we see a new setup of a database, and quickly inserting an array of docs inside our people collection, like so. Then we can do a quick console log that iterates through all the possible docs the collection have, or database if you want to call it that way. ZangoDB also is installed with a simple script tag at the top of your HTML file, so in the end, the differences are minimal. It is more a question of style and preferences, than how well it supports IndexedDB. Which brings me to the next library. JsStore also provides a similar approach. Simpler APIs working with IndexedDB in the background. So in other words, all these options, Dexie.js, JsStore, or ZangoDB, offer similar benefits. And I suggest you explore them yourself to see which…

Contents