Using a standard client database, demonstrating all functions.
IndexedDB has been implemented in all browsers for several years. This is a key/value database, so non-SQL stored on the user's computer. This allows the program to make all the necessary data permanent so that it is available from session to session without having to upload it to the server every time the program starts.
Thus, the user can get at his disposal an excellent library of functions that will be downloaded once and for all. It will be available only for applications of one site, the IndexedDB database is associated with the domain.
Using IndexedDB with Electron
A simple database for a local application that is compatible with the web application.
Loading JSON File into IndexedDB
Script showing how to populate an IDB from a file and access content.
Saving Scripts to IndexedDB
How to download files, save them to the database and use functions on an HTML page .
Online Demos
The SimpleIDB framework available in GitHub allows you to perform each basic operation in IndexedDB with one statement: Add, read, modify, delete, find. And it's less than 10 KB!
- SimpleIDB demo. Interactive demonstration of the main functions of the SimpleIDB framework.
- Demo index. Demonstrate the use of an index.