librelist archives

« back to archive

db.js, an IndexedDB wrapper

db.js, an IndexedDB wrapper

From:
Aaron Powell
Date:
2012-05-21 @ 05:56
I've been doing a bunch of work recently with IndexedDB and doing so I've 
found that a) cross-browser is a real pain and b) the API itself leaves a 
bit to be desired.
So to that end I decided to create a library to wrap IndexedDB, called 
db.js (http://aaronpowell.github.com/db.js/). I know there's a few other 
IndexedDB wrappers out there but I've found that either they haven't 
progressed passed using setVersion for migrations or they haven't got 
support for IE10 CP. On the other hand db.js is built against the current 
tip of the IndexedDB spec and I've done some testing in Chrome Canary, 
IE10 CP and FireFox 13.

Hopefully it's of use to some others :).

PS: I can do a talk at SydJS if there's any interest on it :P

Aaron Powell
MVP - Internet Explorer (Development) | FunnelWeb Team 
Member<http://funnelweblog.com/>

http://apowell.me<http://apowell.me/> | http://twitter.com/slace | Skype: 
aaron.l.powell | Github<http://github.com/aaronpowell/> | 
BitBucket<http://hg.apwll.me/>

Re: [sydjs] db.js, an IndexedDB wrapper

From:
Lachlan Hardy
Date:
2012-05-22 @ 00:21
Hot! Please do :)

On Mon, May 21, 2012 at 3:56 PM, Aaron Powell <me@aaron-powell.com> wrote:
> I’ve been doing a bunch of work recently with IndexedDB and doing so I’ve
> found that a) cross-browser is a real pain and b) the API itself leaves a
> bit to be desired.
>
> So to that end I decided to create a library to wrap IndexedDB, called db.js
> (http://aaronpowell.github.com/db.js/). I know there’s a few other IndexedDB
> wrappers out there but I’ve found that either they haven’t progressed passed
> using setVersion for migrations or they haven’t got support for IE10 CP. On
> the other hand db.js is built against the current tip of the IndexedDB spec
> and I’ve done some testing in Chrome Canary, IE10 CP and FireFox 13.
>
>
>
> Hopefully it’s of use to some others J.
>
>
>
> PS: I can do a talk at SydJS if there’s any interest on it :P
>
>
>
> Aaron Powell
> MVP - Internet Explorer (Development) | FunnelWeb Team Member
>
> http://apowell.me | http://twitter.com/slace | Skype: aaron.l.powell |
> Github | BitBucket
>
>