4 ms·
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://develope
by jchrisa 11y ago
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/get-started/get-started-mobile/cloud-sync-function/sync-function-example/index.html http://developer.couchbase.com/documentation/mobile/1.1.0/ge...
- gecko 11y agoOh, that's awesome! I'd never actually looked carefully at the sync layer, but that seems like a really direct equivalent.
- enos_feedler 11y agoAre 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
- wayneacarter 11y ago[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/wiki/Modeling-&-Security 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.