News for hackers. Stuff that matters.
Re:Deprecating the Sync and Datastore APIs by jchrisa on Wednesday May 06, 2015 @12:32PM (#9499841)
If you want an open source full featured alternative (with native libraries for most mobile platforms), we've put decades of engineer time into Couchbase Mobile.

http://developer.couchbase.com/mobile/

Basic feature set: local storage and query, binary attachments, background sync, fine grained access control. Also goodies like webhooks and p2p capabilities.

Re:Deprecating the Sync and Datastore APIs by tobinharris on Wednesday May 06, 2015 @01:36PM (#9500352)
Does it still work against directly CouchDB? Had some fun times with the mobile/CouchDB sync.

When Sync Gateway came along things got complicated (to me). Mostly because of another component to deploy, monitor etc. Did you consider bundling Sync Gateway into a Couchbase server, even if only for dev/staging environments?

Re:Deprecating the Sync and Datastore APIs by jchrisa on Wednesday May 06, 2015 @01:46PM (#9500433)
Works great with Apache CouchDB, PouchDB, Cloudant, etc. The mobile libraries and Sync Gateway all use the CouchDB sync protocol.

We built Sync Gateway because the Apache CouchDB access control model wasn't fine grained enough for most apps, so it adds a data routing function to control sync access. (See link downthread).

Thanks for the feedback about simplicity. Our next release makes the Sync Gateway default config a lot more beginner friendly and even today we ship with a dev mode that uses a tiny embedded database instead of a Couchbase Server cluster for storage.

Re:Deprecating the Sync and Datastore APIs by rbritton on Wednesday May 06, 2015 @05:08PM (#9501829)
I haven't even used half of what Couchbase does, but it's been a great replacement for Core Data for me. I've very much loved not having to deal with schema migrations that historically have been very tedious with Core Data.
Re:Deprecating the Sync and Datastore APIs by jamiltz on Tuesday May 12, 2015 @10:42AM (#9532079)
Dropbox deprecates, Couchbase replicates ;) I made a screencast on switching from the Datastore API to Couchbase Mobile https://www.youtube.com/embed/3es1zpx6vPY?vq=hd720
Re:Deprecating the Sync and Datastore APIs by aikah on Wednesday May 06, 2015 @01:56PM (#9500523)
The problem is the datastore API worked directly in the browser via javascript. You could deploy an app on a CDN with that,just reference a few api keys and start writing apps using Dropbox as a datastore.
Re:Deprecating the Sync and Datastore APIs by jchrisa on Wednesday May 06, 2015 @02:04PM (#9500582)
For that scenario PouchDB would run in the browser and connect to Sync Gateway using CORS. Of course you'd still have to install Sync Gateway somewhere first, which is more work than outsourcing to a provider like Dropbox, but also more suitable for enterprise deployments.