Category: Best Practices and Tutorials

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

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

Simplify Your NoSQL Cluster by Moving From MongoDB Sharding to Couchbase Containers
When I’m out at events and talking to NoSQL users and advocates, I often hear stories on why people have decided to start using Couchbase after having come from MongoDB. Take, for example, an interview I did with Tom Coates...

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

NDP Episode #18: Microsoft DocumentDB for NoSQL in the Cloud
I am pleased to announce that the latest episode of the NoSQL Database Podcast titled, Microsoft DocumentDB for NoSQL in the Cloud, has been published to all the major podcasting networks. In this episode I am joined by Kirill Gavrylyuk from Microsoft’s...

Data Modeling NoSQL Documents in MongoDB vs Couchbase Server
When I’m out at events, I get a lot of questions regarding the differences between MongoDB and Couchbase Server as they are both in the NoSQL space and are both document databases. One particular question is related to data modeling....

Containerize a Node.js Application that Communicates with Couchbase Server
Last month I had written a tutorial on the subject of containerizing a web application that talks to Couchbase Server. This tutorial called, Deploy a Node.js with Couchbase Web Application as Docker Containers, helped you containerize a Node.js application, but this...