Marcus, CouchDB is available on Android via the CouchOne Platform installer: http://www.couchone.com/android There's work being done for the other platforms as well. Palm's WebOS has a compatible replication API for their "db8" system (for what that's worth).
Lawnchair doesn't currently offer replication (that I know of), but there are similar projects that do. Browser Couch is one, but development on it has stalled (I think): http://hg.toolness.com/browser-couch/raw-file/blog-post/index.html There's also discussion/work being done in relation to the IndexedDB system being worked on in the standards communities. If it eventually offers CouchDB-compatible replication then you could replicate data in and out of the browser. Ideally, though, having it stored in a full-on CouchDB instance would give you the best option as you could also run applications, map/reduce, etc--not just data storage. You could also use the more "typical" offline options that HTML5 and an integrated SQLite DB offer, but then you'd be mixing metaphors (as it were) and that can be frustrating and confusing to develop. Hope that helps, Benjamin On Mon, Nov 1, 2010 at 11:22 AM, Wordit Ltd <[email protected]> wrote: > On Mon, Nov 1, 2010 at 2:41 PM, Benjamin Young <[email protected]> > wrote: > > > > Depending on what you're building, getting CouchDB on your user's machine > could be fairly trivial. > > > Thanks Benjamin (and Randall). I'm creating web apps, just HTML5 and > Javascript, possibly using couchapp as well. Most users for "casual > apps" will not want to install CouchDB. For example, mobile devices > are currently not an option to install CouchDB locally, are they? > > Are there any other solutions to achieve local storage? Maybe store > data locally on a temporary basis and post it to the server at > intervals? > > I discovered Lawnchair which does local storage using JSON in many > formats, including a local CouchDB, supports mobiles and desktops. I > wonder whether something like this could be used with server-side > CouchDB? > > http://blog.westcoastlogic.com/lawnchair/ > > > Marcus >
