Results for: sync function

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.

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...

Getting Comfortable with Couchbase Mobile: Sync Gateway via the Command Line

Getting Comfortable with Couchbase Mobile: Sync Gateway via the Command Line

Introduction This continues my my “Getting Comfortable with Couchbase Mobile” series (post #5). This time we’ll look at exploring Sync Gateway from the command line. This can be really helpful, both for understanding and for testing/debugging.  (Links to other posts...

Tutorial: from Dropbox Datatore Sync to Couchbase Mobile

Tutorial: from Dropbox Datatore Sync to Couchbase Mobile

The Dropbox Datastore and Sync APIs were recently deprecated. Last week, Chris Anderson wrote a blog post on why you should choose open source projects to solve this really challenging problem. Now it’s time to code! We will start with the...

Validating your Sync Gateway documents with synctos

Validating your Sync Gateway documents with synctos

When building any system with client and server components, it is critical to validate the data that the client tries to store on the server and to ensure that only those who are authorized can view or modify it. Otherwise...

Syncing Couchbase Documents Between Mobile Platforms and Devices with NativeScript and Angular

Syncing Couchbase Documents Between Mobile Platforms and Devices with NativeScript and Angular

Over the past few days we’ve been exploring how to create a simple Android and iOS application using NativeScript, Angular and Couchbase. First we saw how to use Couchbase for basic key-value operations and then we saw how to query...

Create a Desktop App that Syncs using Electron, PouchDB, Ionic 2 and Couchbase

Create a Desktop App that Syncs using Electron, PouchDB, Ionic 2 and Couchbase

I’ve been on a role when it comes to JavaScript and Couchbase. Over the past few weeks I’ve been creating content revolving around the Angular 2 framework, the JavaScript library PouchDB, and Ionic Framework for mobile. What I haven’t explored...

Syncing with Couchbase in an Ionic 2 App using PouchDB

Syncing with Couchbase in an Ionic 2 App using PouchDB

Not too long ago I wrote about using Couchbase in an Ionic 2 application. In the previous example we saw how to use Couchbase Lite and the RESTful API for saving data and working with Couchbase Sync Gateway. While that...

Data Synchronization with Couchbase in Ionic 2 Hybrid Mobile Apps

Data Synchronization with Couchbase in Ionic 2 Hybrid Mobile Apps

Last year I wrote about using Couchbase Mobile in an Ionic Framework mobile application. Back then we were using Ionic Framework 1.0 and AngularJS 1.0. Technology has changed over the months and we’ve moved from what seems like ancient frameworks...

Access Denied, or Access Lost?  Some Tips on Sync Gateway

Access Denied, or Access Lost? Some Tips on Sync Gateway

The plan for this blog post started out with wanting to clarify a particular detail about how Couchbase Mobile’s Sync Gateway component handles removing a client’s access to a document. I’m going to write a bit about Sync Gateway channels to provide a foundation....

New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway

New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway

DNA undergoing replication. Graphic courtesy of Madprime with permission under license CC BY-SA 2.0 Sync Gateway Sync Gateway forms the “glue” between Couchbase Lite and Couchbase Server in the Couchbase Mobile stack.  It’s a secure web gateway that enables sync and data access over the web. That’s one...

Embed Couchbase in an IoT Project for Data Synchronization

Embed Couchbase in an IoT Project for Data Synchronization

The Internet of Things (IoT) is becoming all the rage lately. Being able to craft any mechanical device, for example watches, televisions, thermostats, and have them communicate over the internet is the modern age. In this modern age, one thing...