News for hackers. Stuff that matters.
Re:Kinto by Mozilla – An open-source Parse alternative by jchrisa on Friday January 29, 2016 @02:29PM (#10997830)
The access control limitations in Apache CouchDB are a big part of what we addressed in Couchbase Sync Gateway. Info about our Sync Function API http://developer.couchbase.com/documentation/mobile/1.1.0/ge...
Re:Kinto by Mozilla – An open-source Parse alternative by enos_feedler on Friday January 29, 2016 @06:52PM (#10999516)
Are there any whitepapers or case studies of large-scale production applications using and maintaining a sync function? After using sync gateway with access control for a while, it became more clear to me that writing my own access control API (via node.js or something like that) on top of MongoDB would give better readability and maintainability over a sync function.

(edit) specify mongodb

Re:Kinto by Mozilla – An open-source Parse alternative by wayneacarter on Saturday January 30, 2016 @01:16PM (#11002984)
[Architect from Couchbase]

The formatting and modularization of your sync function code will strongly influence both it's readability and maintainability.

I've published and example of one that is well formatted and modularized. The example includes Navigation Flow, Wireframes, Data Modeling, and a Sync Function (which is the security layer).

https://github.com/waynecarter/couchbase-mobile-examples/wik...

Let me know if you have any other questions around this and I will add it to the example.

Re:Kinto by Mozilla – An open-source Parse alternative by gecko on Friday January 29, 2016 @04:22PM (#10998598)
Oh, that's awesome! I'd never actually looked carefully at the sync layer, but that seems like a really direct equivalent.