Results for: sync function

Coffee on Couchbase:  How to Securely Set Channel Parameters in Sync Gateway

Coffee on Couchbase: How to Securely Set Channel Parameters in Sync Gateway

From the previous Coffee on Couchbase Sync Gateway series, we explored how to authenticate users and also how to use Channels in Sync Gateway.  Sync Gateway provides the data orchestration layer for Couchbase Mobile and previously we saw how data...

How to Use Channels in Sync Gateway

How to Use Channels in Sync Gateway

Continuing from the Sync Gateway technical series, we will look specifically at how to configure the Sync Function through the use of Channels to execute data orchestration.  In the video below, we are joined by Chris Anderson who will go...

How to Validate Documents Types in Sync Gateway

How to Validate Documents Types in Sync Gateway

In the previous blog of the Sync Gateway series, we explored how to Authenticate and Authorize users in an application through some of the Sync Gateway features.  Building from the series, we will now explore how to validate Document Types...

How to Authorize Users in Sync Gateway

How to Authorize Users in Sync Gateway

To kick off the Couchbase Mobile Sync Gateway series, we will begin with understanding on how to authenticate and authorize users in Sync Gateway which is the intermediary component between mobile apps and Couchbase Server. Through Sync Gateway, there are...

Sync Gateway Webhooks

Sync Gateway Webhooks

We just released Couchbase Mobile 1.1 and with this new version comes many new features. In this blog post, we’ll take a look at Sync Gateway webhooks and think of a few concrete examples for using them. Webhooks Prior to the 1.1...

Displaying a Sync Progress Indicator in an iOS app

Displaying a Sync Progress Indicator in an iOS app

NSProgress is an object in Foundation that represents the completion of some work. That work could be downloading a file, installing an app or something your own application is doing. The NSProgress exists to let you easily report progress in your...

First steps with PouchDB & Sync Gateway

First steps with PouchDB & Sync Gateway

This week, PouchDB v3.4.0 was released with Couchbase Sync Gateway compatibility. In this post, we’ll take the existing TodoMVC example and add filtered sync using Facebook authentication. In addition to syncing between Web clients, we’ll change the data model slightly to...

Exploring the Public and User Channels in Couchbase Sync Gateway

Exploring the Public and User Channels in Couchbase Sync Gateway

The Sync Function is one of the fundamental components of Sync Gateway: its main responsibility is to define which user has access to which documents. In this screencast, you’ll learn how to use the public channel (also known as the...

Cross Platform Storage and Sync with Ionic Framework, Couchbase, and PouchDB

Cross Platform Storage and Sync with Ionic Framework, Couchbase, and PouchDB

Ionic Framework is still one of the leaders in hybrid mobile application development. It allows you to create Android and iOS applications using only HTML, JavaScript, and CSS. Previously I wrote about how to use Couchbase in an Ionic Framework...

Couchbase LIVE New York:  Couchbase Mobile 102 – How to Add Secure Sync to your Mobile Applications

Couchbase LIVE New York: Couchbase Mobile 102 – How to Add Secure Sync to your Mobile Applications

From the 102 session in the Couchbase LIVE New York mobile track, we continued iterating on the Couchbase Mobile sample application that was described in code from the “Couchbase Mobile 101: How to Build Your First Mobile App” session. In...

How to use Sync Gateway and Peer-to-Peer sync on Android

How to use Sync Gateway and Peer-to-Peer sync on Android

This example is a simple Android application in which the user can save a review with a rating and name property to a Couchbase Lite database. It uses the TabLayout and ViewPager components to illustrate 3 different scenarios, each one...

Sync With Couchbase Using Only AngularJS And PouchDB

Sync With Couchbase Using Only AngularJS And PouchDB

There are many ways to use Couchbase in your web or mobile application through one of the various language SDKs. However, what if you were not using a backend language such as PHP or a mobile language such as Objective-C?...