Xamarin Project Questions

25 views
Skip to first unread message

Ricburgis

unread,
Sep 16, 2014, 10:13:53 AM9/16/14
to mobile-c...@googlegroups.com
Hi everyone,

I have a very specific problem and was wondering if you could help me with it.

I'm developing a mobile project that handles very complex sets of data. So instead of creating my own syncing solution, I was thinking of using Couchbase's Sync Gateway technology to do it, but the thing is, I need to only sync certain sets of data within a table, i.e.: I don't want the user to download all documents, just the documents that belong to him, so I was wondering if that was possible? 

Also, the project is going to be developed in Xamarin, to be released in both iOS and Android and I don't know if this could be accomplished in Xamarin.I've found a Couchbase component for Xamarin, but I don't know if covers Sync Gateway, at a glance I don't think it does, but maybe someone here has had experience with it before.

Any help or advice would be appreciated.

Jens Alfke

unread,
Sep 16, 2014, 11:52:07 AM9/16/14
to mobile-c...@googlegroups.com
On Sep 16, 2014, at 7:13 AM, Ricburgis <ricard...@allthings.io> wrote:

I'm developing a mobile project that handles very complex sets of data. So instead of creating my own syncing solution, I was thinking of using Couchbase's Sync Gateway technology to do it, but the thing is, I need to only sync certain sets of data within a table, i.e.: I don't want the user to download all documents, just the documents that belong to him, so I was wondering if that was possible? 

Yes, in fact that's one of Sync Gateway's specialties. The "channel" mechanism is designed so clients can sync just the subsets of a database that are relevant or accessible. In the gateway configuration you define a sync function that assigns each added document to a set of channels. Then users can be given an ACL of which channels they have access to, and also clients can optionally sync with a subset of the available channels.

I've found a Couchbase component for Xamarin, but I don't know if covers Sync Gateway, at a glance I don't think it does

The Sync Gateway is a server-side component, so it doesn't have anything to do with Xamarin. You can run it on Linux, Mac or Windows servers as a native binary.

—Jens
Reply all
Reply to author
Forward
0 new messages