IndexedDB features with Lawnchair

Posted by: James Williams on 2010-09-20 02:00:00.0

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 above SQLite 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.

 

 


be the first to rate this blog

About James Williams

James Williams

James Williams is a Sun Certified Programmer specializing in desktop Java and rich Groovy clients. He was a successful participant in the 2007 Google Summer of Code working to bring easy access to SwingLabs UI components to Groovy. He is a co-creator of the Griffon project, a rich desktop framework for Java applications. James works as a Senior Software Engineer for the Tools and Technology group at Ribbit, a Silicon Valley based VOIP provider.

More About James »

NFJS, the Magazine

2010-09-01 00:00:00.0 Issue Now Available
  • Gradle - The Groovy Way To Build
    by Ken Sipe
  • Top Five Ways to Improve Your Java by Adding Groovy
    by Kenneth Kousen
  • Javascript for Grails Developers
    by Dave Klein
  • Practical DSLs in Groovy
    by Peter Bell
Learn More »