Category: Node.js

Using the Couchbase Sub-Document API with the Node.js SDK

Using the Couchbase Sub-Document API with the Node.js SDK

Many questions pop up in the Couchbase forum and Stack Overflow regarding reading and writing only parts of a document rather than the full document. I can see where this would be a concern. For example, what if you have...

Getting Multiple Documents by Key in a Single Operation with Node.js

Getting Multiple Documents by Key in a Single Operation with Node.js

There are many different ways to query for data in Couchbase Server. You can do direct lookups for documents based on their key, you can query views, or you can even write N1QL queries. When it comes to obtaining data,...

Node.js and Couchbase – July 2016, Columbus Ohio (video)

Node.js and Couchbase – July 2016, Columbus Ohio (video)

I was a guest speaker at the CBusJS Columbus JavaScript User Group on July 20, 2016. My topic was Full Stack Development with Node.js and NoSQL. The group and venue was kind enough to let me record the session. I’ve...

Matthew Groves July 27, 2016
Using Full Text Search (FTS) in Couchbase with the Node.js SDK

Using Full Text Search (FTS) in Couchbase with the Node.js SDK

When I develop applications I always find myself running into a scenario where I need to search for a particular set of text within a chunk of data. I, like many others, often find myself taking the easy way out...

Getting Started with Node.js and Couchbase

Getting Started with Node.js and Couchbase

In this video tutorial you can see how to build a very simple Node.js with Express Framework application that uses Couchbase Server as the NoSQL database. For more information on how to use Couchbase with Node.js, visit the Couchbase Developer...

Couchbase will be at DevNation 2016

Couchbase will be at DevNation 2016

I am excited to say that I will be at DevNation 2016 in San Francisco with my colleague, Arun Gupta. This is a huge developer conference hosted by Red Hat. At DevNation we’ll be talking about full stack development using Node.js and...

Exploring Couchbase and N1QL through Touchbase using Node.js and Angular.js – Part 5: Graphing User Data

Exploring Couchbase and N1QL through Touchbase using Node.js and Angular.js – Part 5: Graphing User Data

Part 5: Graphing Necessary Materials: Node.js Express Chart.js Node Modules Used: tc-angular-chartjs body-parser moment.js Summary: To maintain a social network, and improve the experience for an end-user, it’s important to keep track of information about these users and their usage...

Pranav Mayuram April 3, 2016
Create a Desktop Chat Application using the CEAN Stack and Electron

Create a Desktop Chat Application using the CEAN Stack and Electron

So you’re interested in creating a desktop chat application like Slack, but aren’t sure where to start. Slack was very open in saying that they used Github’s Electron platform for building the desktop version of their software. This means that...

Storing Base64 Files Directly in Couchbase via Node.js

Storing Base64 Files Directly in Couchbase via Node.js

So you're developing an application and you want to store your files in Couchbase. As of right now, Couchbase allows for documents up to 20MB in size which is larger than you think. Why would we store our files in...

Load Nested Models With Ottoman When A Parent Model Is Found In Node.js

Load Nested Models With Ottoman When A Parent Model Is Found In Node.js

Previously I wrote about easily developing Node.js and Couchbase apps using Ottoman for ODM. That post was just a taste of what Ottoman can do and how you can compare it to the things Mongoose can do with MongoDB. This...

Prepared Statements – by the Numbers!

Prepared Statements – by the Numbers!

Always be Prepared…. In our last discussion on prepared statements in couchbase we talked about the performance gains that are possible using prepared statements. I thought I’d post a “sequel” with a few real world examples and numbers using the...

Todd Greenstein February 4, 2016
Prepare for This!

Prepare for This!

Get Prepared…. One of the more impressive aspects of using N1QL is the ability to use prepared statements. What are prepared statements? Why use them? What’s the big deal? Consider the following example from the travel-sample bucket and dataset that are bundled...

Todd Greenstein February 4, 2016