Category: Best Practices and Tutorials

Handle Data Modeling Errors in a Golang with Couchbase Application

Handle Data Modeling Errors in a Golang with Couchbase Application

I’ve been developing with Couchbase and the Go SDK for a while now, but recently I ran into an issue that I deemed to be a bug in the SDK after hours of troubleshooting. I was trying to execute a...

Is digital innovation facing a data dilemma? Part Two: what’s behind the data crisis?

Is digital innovation facing a data dilemma? Part Two: what’s behind the data crisis?

In a previous post, I wrote about the first lesson of Couchbase’s Data Dilemma research – that, despite businesses having clear ambitions to radically improve new customer experiences and engagement, those ambitions aren’t being met. Today we’re going to look...

Bringing Your User Profile Store to Mobile with NativeScript and Angular

Bringing Your User Profile Store to Mobile with NativeScript and Angular

Continuing down the path of user profile stores, we had previously seen how to create one with Node.js and Couchbase NoSQL as well as a web client front-end for it using Angular. What if we wanted to take this into...

Securely Storing Password Data in Couchbase with Golang and BCrypt

Securely Storing Password Data in Couchbase with Golang and BCrypt

When writing web applications that store passwords for your users, it is never a good idea to store them as plain text in your database, whether that be NoSQL or RDBMS. Last year I wrote about using BCrypt with Node.js...

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