Category: Best Practices and Tutorials

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

In a distributed system, updates to a shared database from multiple clients will have to be synchronized. The goal of the replication process is to ensure that all the mobile clients and the server(s) have a consistent view of the...

Use TypeScript, Angular as the Front-End for Your User Profile Store

Use TypeScript, Angular as the Front-End for Your User Profile Store

I recently wrote a tutorial titled, Creating a User Profile Store with Node.js and a NoSQL Database, as it is a very popular subject and use-case when it comes to NoSQL databases. In that tutorial, we created an API using Node.js...

Is digital innovation facing a data dilemma? Part One: the engagement challenge

Is digital innovation facing a data dilemma? Part One: the engagement challenge

Technology is transforming every industry: from retail and media to healthcare and transportation. This transformation is built on the idea of engaging with customers through new, improved customer experiences. But just because transformation is happening, doesn’t mean that every business...

Create a User Profile Store with Node.js and a NoSQL Database

Create a User Profile Store with Node.js and a NoSQL Database

There are many use-cases for NoSQL databases, one that I encounter frequently is creating a user profile store and session. This use-case lends itself to a NoSQL database. Profiles often need to be flexible and accept data changes. While possible...

Defining Scan Consistency in a Node.js with Couchbase Application

Defining Scan Consistency in a Node.js with Couchbase Application

Have you ever created an application where you needed to save a document into Couchbase and then immediately query for that created document? It happens to me all the time when I’m developing. Take for example, adding new data into...

Using Couchbase with R

Using Couchbase with R

I have seen a lot of interest in the field about using Couchbase with R. It is an easy integration, so here you have some examples to start using it right now. As a little background, R is a language...

Couchbase Meetup Project on the OCEAN Stack Available

Couchbase Meetup Project on the OCEAN Stack Available

I was recently at two different Meetup groups in Southern California presenting on what I’m calling, the OCEAN stack, which is composed of Ottoman.js, Couchbase Server, Express Framework, Angular, and Node.js. We had a great turnout of developers hungry to...

Bringing SQL to NoSQL – Rich, Declarative Querying for JSON

Bringing SQL to NoSQL – Rich, Declarative Querying for JSON

Couchbase Server is a document-oriented NoSQL database. Most NoSQL systems force you to sacrifice the rich querying capabilities of SQL in trade for the other benefits they offer. At Couchbase, we’ve developed the N1QL query language to solve this problem....

Couchbase Meetup Project on NativeScript, Angular, and NoSQL Development Available

Couchbase Meetup Project on NativeScript, Angular, and NoSQL Development Available

I recently hosted a Couchbase Meetup in Mountain View, California, on the topic of NativeScript, Angular and NoSQL development. With special guest, TJ VanToll from Progress, we discussed mobile application development and how Couchbase can be included for NoSQL storage...

Certificate Pinning in your Couchbase Mobile iOS App

Certificate Pinning in your Couchbase Mobile iOS App

Communication between Couchbase Lite and Sync Gateway is encryped and secured using SSL/TLS. The SSL/TLS protocol relies on a Public Key Infrastructure (PKI) mechanism using a X.509 certificate to establish the Sync Gateway server’s identity. The certificate is typically issued/signed...

Getting Started with NoSQL Using Couchbase Server and PHP

Getting Started with NoSQL Using Couchbase Server and PHP

A few days ago I wrote about using PHP with Docker and Couchbase, but I never really got into best practices of going all in with PHP and NoSQL databases. For example, how do you read and write data with...

Deploy a PHP with Couchbase Application as Docker Containers

Deploy a PHP with Couchbase Application as Docker Containers

Earlier in the year I wrote about containerizing applications written in various development technologies that communicate with Couchbase Server. For example, I had written about deploying a Golang application with Docker, a Java application with Docker, and a Node.js application...