Category: Sync Gateway

Managing Database Sizes in Couchbase Mobile and Conflict Resolution

Managing Database Sizes in Couchbase Mobile and Conflict Resolution

Couchbase Mobile uses a Multi Version Concurrency Control (MVCC) technique for handling conflicts. One of the challenges in a MVCC based system is that over time, a document can grow to have multiple revisions. One can conclude that if all...

Synchronizing Images Between Android and iOS with NativeScript, Angular, and Couchbase

Synchronizing Images Between Android and iOS with NativeScript, Angular, and Couchbase

A few weeks ago I had written a guide that demonstrated saving captured images to Couchbase Lite as base64 encoded string data in a NativeScript with Angular mobile application. While the previous guide worked for both Android and iOS, the...

FakeIt Series 5 of 5: Rapid Mobile Development with Sync-Gateway

FakeIt Series 5 of 5: Rapid Mobile Development with Sync-Gateway

How we can leverage FakeIt + Couchbase Server + Sync Gateway to get our local environment up and running for mobile development. We will be doing this by using Docker and docker-compose.

Data Synchronization Across iOS Devices Using Couchbase Mobile

Data Synchronization Across iOS Devices Using Couchbase Mobile

This post looks at how you get started with data replication/synchronization across iOS devices using Couchbase Mobile. The Couchbase Mobile Stack comprises of Couchbase Server, Sync Gateway and Couchbase Lite embedded NoSQL Database. In an earlier post, we discussed how...

Testing your Sync Gateway functions with synctos

Testing your Sync Gateway functions with synctos

Synctos includes a built-in test-helper module that helps you to write tests that validate your document definitions. It's always a good idea to test your code/configuration for bugs, and your synctos document definitions are no different.

Managing REST APIs with Swagger (video)

Managing REST APIs with Swagger (video)

Couchbase incorporated Swagger into our documentation a few months ago. “Swagger” refers to an ecosystem of tools and other resources for managing REST APIs. Core to Swagger is the Swagger specification. (The group behind Swagger donated the spec to the...

Querying Couchbase Sync Gateway using Postman

Querying Couchbase Sync Gateway using Postman

This post discusses a convenient way to query, explore and test the REST API exposed by the Couchbase Mobile Sync Gateway using the Postman Chrome Developer tool. Sync Gateway exposes a REST, Batch & Stream interface that allows clients interact with...

Technical Details of the 1.4 Release of Couchbase Mobile (video)

Technical Details of the 1.4 Release of Couchbase Mobile (video)

Couchbase recently released the 1.4 version of the Couchbase Mobile stack.  1.4 includes the first release of Sync Gateway Accelerator into general availability. This short video describes some of the technical details of the new features.  Mostly it focuses on...

Offline-first apps with Couchbase Sync Gateway

Offline-first apps with Couchbase Sync Gateway

In this article, I’m going to propose an offline-first development using Couchbase as the communication tool between the backend and frontend.

Couchbase Mobile Changes Explorer – Part. 2

Couchbase Mobile Changes Explorer – Part. 2

Introduction The Couchbase Mobile Sync Gateway changes feed provides a way to monitor events in a mobile deployment. The feed makes it feasible to write sophisticated business logic. I wrote a tool to help examine and understand the feed. You...

Introduction to offline data storage and sync with PouchBD and Couchbase

Introduction to offline data storage and sync with PouchBD and Couchbase

Offline-first is an approach to software development that is different from the traditional approach – where lack of network connection is treated as an error, thereby affecting the overall user experience. With the traditional approach, you start with the most...

Workshop Content for Full-Stack Java and NoSQL Development Now Available

Workshop Content for Full-Stack Java and NoSQL Development Now Available

About a week ago I was at DevNexus 2017 in Atlanta, Georgia, giving a workshop on creating full stack applications using a variety of technologies such as Java, Angular, Docker, Couchbase, and JavaFX. Everyone who participated in the full day...