CouchDB, DayBed, etc.

Peter W A Wood peterwawood at gmail.com
Thu Aug 24 01:59:10 EDT 2017


Alex 

> On 23 Aug 2017, at 22:28, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> With the exception of a couple of things that basically scraped data off some web pages, every app I've done in the last couple of years (all for personal use by myself or friends - I'm a hobbyist) have shared one characteristic : they have local storage, and that data is subsequently synched to "the cloud" to be shared with other devices/users, or at the very least backed-up to the cloud (i.e. my on-rev or HostM server account).
> 
> I haven't yet done anything on mobile - but because of where I live and other circumstances, even for laptops I *need* to have things work without an Internet connection and synch up when available.
> 
> This doesn't seem to fit well with, say, CouchDB; the REST API lets me do great things when I talk to the server - but when working locally I have to forego all those features, and, for instance, revert to an array which I 'manually' search / filter / etc.

You can easily run CouchDB on a laptop or PC. There is a little more admin that SQLite but not very much. One of the strengths of CouchDB is it’s database synchronisation (one-way or both-ways) - http://docs.couchdb.org/en/2.1.0/replication/index.html <http://docs.couchdb.org/en/2.1.0/replication/index.html>.

There is also a mobile embedded Couchbase that should sync with CouchDB - https://developer.couchbase.com/mobile <https://developer.couchbase.com/mobile> - I guess that would need a LiveCode Builder wrapper before it could be accessed from LiveCode.

Peter
 





More information about the use-livecode mailing list