Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

IndexedDB.js

inspired from proto-db.

Demo

IndexedDB.js enable you to access the indexed Database feature of browser with promise-api. IndexedDB.js create a repository for each Object store in IndexedDB database.

Sample Code of Usage :

var sampleContextBuilder = new IndexedDB.DbContextBuilder(window.indexedDB);
sampleContextBuilder.CreateDB("Sample");
sampleContextBuilder.ConfigureModel({
        name: "Sample",
        keyPath: "id",
        autoIncrement: false
        });
sampleContextBuilder.Build();

TODO

  • Avaiability check
  • Seeding with new created ObjectStore
  • Unit Test for DbContextbuilder and BaseRepository.
  • Performance measurement and optimization.
  • Query interface to repository.
  • Bug-free :)
  • Single Connection Oriented.
  • Web Worker Support.
  • Create a demo for cache the AJAX response.
  • Service Worker Support.
  • Transaction Scope Work between multiple ObjectStore
You can’t perform that action at this time.