Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Home

semprebon edited this page · 3 revisions
Clone this wiki locally

Welcome to the NimbuslyDB wiki!

I was working on a new version of my DroidDice android app – I wanted it to be available not just on Android, but also on iphone and ipad, so I’m redoing in in javascript using Phonegap (although I may switch to Titanium). Anyway, the app uses HTML5’s local database feature to save javascript objects, and what I really want to be able to do is allow people to edit their dice in one place (like on the web from their PC) and use them on a different platform. And it would be nice if they could still use the app even without an internet connection. And it seemed to me that I’m probably not the only one wanting to do this kinda thing, so I pulled out the database files and I’m making them available as an open source project.

The features I eventually want to support include:

  1. Easy-to-use Database Access Layer for HTML5 local database storage
  2. Centralized logging and error handling for HTML5 local database storage
  3. Simplified database initialization and upgrading using Migrations
  4. A simple Object/Relational Layer for storing and retrieving javascript objects
  5. A facility for Offline Synchronization with a remote website for permanent storage and sharing

The first three are pretty much there (although somewhat bare-bones). I actually have an implementation-specific version of the fourth, and of course the last is really the hard part. And of course, since its gotta run on a mobile platform, the code has to be as light-weight as possible.

Similar projects and resources:

http://zef.me/2774/persistence-js-an-asynchronous-javascript-orm-for-html5gears
http://code.google.com/p/webstorageportabilitylayer/
http://code.google.com/events/io/2009/sessions/GeneralCachingArchitectureOfflineApps.html

Something went wrong with that request. Please try again.