James Williams
LinkedInMastodonGithub

IndexedDB features with Lawnchair

Tags: General

One of the projects I've been working on has lately me researching HTML5 DB standards. While I've been able to find SQLite-compliant browsers, IndexedDB has been a little more difficult to come by. I don't know if it is the problem is that I'm on Linux or that I'm not getting the right nightly build of Firefox/Minefield.

After installing the latest daily build once again, I remembered the Lawnchair project. Lawnchair provides a client side JSON document store and is inspired by document databases like CouchDB and is written in JavaScript.The API is very different from IndexedDB but Lawnchair can provide object store capabilities in a layer aboveSQLite and also supports adaptor backends to store objects using domStorage or cookies.

Hopefully when IndexedDB is more codified, Brian LeRoux will extend it to provide a common interface just in case some browsers choose to never implement IndexedDB.