Data in the Cloud
In a traditional remote data architecture (the kind that riddles your mobile app with network calls) update validation and read access control are applied by the web application server, which is typically custom code with an ad-hoc relationship to various backend services and databases. We've grown accustomed to writing API servers this way, but that doesn't mean we have to like it.
Instead of an expensive approach where each REST endpoint requires custom code, the Sync Gateway speaks the Couchbase Mobile sync protocol and provides it's own concise abstraction for validation, access control, and data routing. This means intead of writing a server that spends most of its logic translating between user input and database operations and queries, you can just specify the behavior you want and let Sync Gateway handle the details.