Category: Application Design

N1QL query with Self Referencing Hierarchy

N1QL query with Self Referencing Hierarchy

A data construct that often appears in business application is the hierarchical data structure. Hierarchy captures the parent-child relationship often between the same object. For instance a company structure captures the reporting line between employees. Business organization captures the relationship...

james.oquendo February 17, 2019
Meeting data protection needs for Couchbase Data Platform

Meeting data protection needs for Couchbase Data Platform

In the world where data is the currency, backup & recovery for a database is as essential as any other defining parameter such as consistency or performance because the customers cannot afford data loss under any circumstance. Couchbase offers a...

james.oquendo December 19, 2018
Understanding Cross Datacenter Replication (XDCR) – Part 1

Understanding Cross Datacenter Replication (XDCR) – Part 1

If you have any familiarity with Couchbase, you definitely know XDCR. If you use Couchbase for any of your applications, you are very likely using XDCR. I wouldn’t be wrong if I said, XDCR is indeed one of our customers’...

james.oquendo December 1, 2018
YCSB-JSON: Implementation for Couchbase and MongoDB

YCSB-JSON: Implementation for Couchbase and MongoDB

YCSB is a great benchmarking tool built to be easily extended by any driver which supports and implements basic operations like: insert, read, update, delete and scan. Plain synthetic data introduced by YCSB fits this paradigm perfectly. But when it comes...

james.oquendo October 6, 2018
The Couchbase Data Platform in Action: Analytics

The Couchbase Data Platform in Action: Analytics

Contents What is CBAS and how does it compare to “standard” Couchbase? Example Data and Configuration Code and Queries Web Client Web Server and Queries Querying with SQL++ Query Optimization Query Results and REST Response Conclusion Postscript With the release...

james.oquendo August 22, 2018
Create a GraphQL Powered API with PHP and NoSQL

Create a GraphQL Powered API with PHP and NoSQL

If you’ve been keeping up, you’ll know that I’ve been writing a sort-of mega series around developing with GraphQL and Couchbase. In past tutorials we’ve explored how to use GraphQL with Java, how to use GraphQL with Node.js, and how...

james.oquendo August 16, 2018
Developing a Typeahead with Couchbase, Node.js, and Full Text Search

Developing a Typeahead with Couchbase, Node.js, and Full Text Search

Over the past year or so I’ve written a variety of tutorials around the full text search (FTS) service of Couchbase, most of which being specific examples of how to do something with one of the SDKs and never really...

james.oquendo August 3, 2018
Processing GraphQL Queries with Java, Spring Boot, and NoSQL

Processing GraphQL Queries with Java, Spring Boot, and NoSQL

Over the span of the past few months I’ve been learning about GraphQL and how to use it as an alternative to RESTful API development. The focus thus far had been around GraphQL and Golang as well as GraphQL and...

james.oquendo July 26, 2018
Authorization with GraphQL, Golang, and Couchbase NoSQL using JWT

Authorization with GraphQL, Golang, and Couchbase NoSQL using JWT

Over the past few months I’ve been writing a GraphQL series using the Go programming language. First we saw how to get started with GraphQL and Go, followed by an alternative way to handle data relationships by using resolvers on...

james.oquendo July 19, 2018
JWT Authentication with GraphQL, Node.js, and Couchbase NoSQL

JWT Authentication with GraphQL, Node.js, and Couchbase NoSQL

A few months ago when I had first started learning about GraphQL, I had written a previous tutorial for using it with Couchbase and Node.js. The tutorial focused on the basics which included creating GraphQL objects and querying those objects...

james.oquendo June 28, 2018
Couchbase with Kotlin, Spring Boot and Spring Data

Couchbase with Kotlin, Spring Boot and Spring Data

Last year I started learning Kotlin and I was surprised at how easy it was to convert a Java application. IntelliJ and a few other IDEs offer nice tools for automatic conversion, and with a few adjustments you can end...

james.oquendo June 11, 2018
The Couchbase Data Platform in Action: IoT Temperature Sensing Up Close

The Couchbase Data Platform in Action: IoT Temperature Sensing Up Close

During Couchbase Connect Silicon Valley last Fall, we went through an extensive demonstration application that showed many of the capabilities of the Couchbase Data Platform. You can see the full video of the demonstration here. In some parts of the...

james.oquendo May 22, 2018