On Wednesday, June 11, 2014 1:26:47 PM UTC-7, Cristian Monterroza wrote: > > Chris, > > I saw your other comment to Sandra earlier today. The sample project I’m > thinking of would be targeted at getting ToDo Lite to sync to a web client. > Would you recommend trying to code this with the REST API or Bucket > Shadowing? >
Just use the REST API, it is less moving pieces. I am just now adding a note to the Bucket Shadowing documentation: Bucket shadowing is meant to enable sync for existing Couchbase Server apps. If you are creating a new app with both mobile and web clients, we recommend starting by connecting via the Sync Gateway REST APIs <http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/index.html>, and to add backend services use the Changes Worker Pattern <https://github.com/couchbase/sync_gateway/wiki/Changes-Worker-Pattern>. > > Thanks, > > -- > Cristian Monterroza > Sent with Airmail > > On June 11, 2014 at 7:41:13 AM, J. Chris Anderson (jch...@couchbase.com) > wrote: > > > > On Tuesday, June 10, 2014 11:45:08 PM UTC-7, Cristian Monterroza wrote: > > >> Are there any equivalent CBL / SyncGateway tutorials out there? I’m >> interested in knowing what others have tried before I get hacking. I’m >> particularly interested in this scenario: >> >> - Clean Couchbase Server (CBS) and SyncGateway (SGW) installation. >> - >> - This means properly setup SGW with Bucket Shadowing Enabled. >> - The first interaction a user has is with the Ruby WebApp. >> - >> - A user account is created, some docs are generated and synced >> between Buckets. >> - A user gets a mobile app and has data available to him/her. >> - >> - Couchbase Lite iOS or Java, etc. native client. >> >> This is a great use case. It's been years since I wrote Rails but I > used to know it well. I guess along our current line of development that > would involve building an open-source Rails app like you describe, targeted > at serving the schema we use in ToDo Lite > <https://github.com/couchbaselabs/ToDoLite-iOS/blob/master/sync-gateway-config.json> > . > > > >> If anyone is interested in talking in depth about this maybe we should >> create a CBL meet-up. I’m around 6th and Market (in San Francisco) if >> anyone wants to code and/or grab a drink. >> >> > The mobile team often works out of your part of town. I'm sure we'd be > happy to host a meet-up. Maybe we can bring in the Double to allow remote > folks to participate. > > Chris > > > >> -- >> Cristian Monterroza >> cmonterr...@wrkstrm.me >> Sent with Airmail >> >> On June 10, 2014 at 1:12:27 AM, CouchbaseLover (sharesstruct...@gmail.com) >> wrote: >> >> We are working with RoR also, we tried to implement ElasticSearch but >> that was a disaster with a lot being deprecated. >> CouchbaseLover >> >> Den tisdagen den 10:e juni 2014 kl. 10:03:29 UTC+2 skrev CouchbaseLover: >>> >>> We are actually working on it right now with shadowing as Snej >>> mentioned,what problem we have so far is with attachment/user management >>> and that they are in sync. But we can create a documents from the web >>> interface that's used then used seamlessly in iOS (why this mostly works is >>> because of shadowing). >>> >>> Den tisdagen den 10:e juni 2014 kl. 04:44:22 UTC+2 skrev Cristian >>> Monterroza: >>>> >>>> Hello all, >>>> >>>> Has anyone else from the community experimented with getting a Ruby >>>> web app working with a Gateway instance? >>>> >>>> -- >>>> Cristian Monterroza >>>> >>>> On February 17, 2014 at 8:50:10 AM, Charlie Woloszynski ( >>>> cwolos...@gmail.com) wrote: >>>> >>>> I am very interested to hear your discoveries. I am also interested >>>> in supporting both a mobile app as well as a Web app, all backed by >>>> Couchbase. >>>> >>>> My goal, as I suspect is yours, is to provide access to the data in the >>>> Couchbase from anywhere, PC or mobile device, with either a web app or a >>>> mobile app. Seems like something that most CouchBase users will need to >>>> support as their solution develops. >>>> >>>> >>>> >>>> On Tuesday, January 28, 2014 8:01:04 AM UTC-5, Francisco Garcia wrote: >>>>> >>>>> I am interested in using CouchBase as backend for a mobile app (CBL >>>>> iOS) with also a web version (Ruby) >>>>> >>>>> As far as I have explored so far, it looks like CouchBase Ruby SDK is >>>>> not "gateway aware" and deals with different versioning. >>>>> >>>>> Because of the versioning and authentication issues, it seems that >>>>> once an app works through the gateway (mobile), anything else (web app) >>>>> must go through the same channel. >>>>> >>>>> Although the Gateway API looks a lot like the one of CouchDB, I am >>>>> having many problems to make the standard Ruby CouchDB gem (CouchRest) >>>>> work >>>>> with the Gateway. >>>>> >>>>> If I intend to develop a web app that uses the Gateway. What should I >>>>> expect? I imagine two cases: >>>>> >>>>> 1. CouchBase will release a Gateway-Ruby-SDK >>>>> >>>>> 2. The gateway will behave more like CouchDB to make third party >>>>> libraries more reusable. >>>>> >>>>> What should I plan for? >>>>> >>>>> I am having several issues making CouchRest use the gateway as a >>>>> replacement of CouchDB. Most of them seems easy to fix by myself, but I >>>>> am >>>>> curious to know which one is the current future outlook and support for >>>>> cases like mine >>>>> >>>>> If there is any interest, I am willing to contribute documenting >>>>> better my discoveries. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Couchbase Mobile" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to mobile-couchba...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/mobile-couchbase/b90d1ae7-85ce-4eb1-9fe1-f203f1ebc184%40googlegroups.com >>>> . >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "Couchbase Mobile" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to mobile-couchbase+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mobile-couchbase/7eff8029-6f22-46bb-9638-d2c624175933%40googlegroups.com >> >> <https://groups.google.com/d/msgid/mobile-couchbase/7eff8029-6f22-46bb-9638-d2c624175933%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- > You received this message because you are subscribed to the Google Groups > "Couchbase Mobile" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mobile-couchbase+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/394e6326-6184-4ac9-9a1f-aade18f085e5%40googlegroups.com > > <https://groups.google.com/d/msgid/mobile-couchbase/394e6326-6184-4ac9-9a1f-aade18f085e5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/cc797ea0-9d3e-4bc3-93da-140c4e05513e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.