Brett Lawson's blog

September 16, 2014

PHP SDK 2.0.0 Beta 2

I am pleased to announce the next beta release of our new PHP SDK.  This release primarily consists of minor bug fixes in addition to initial support for cross-sdk data types.

Read more »

August 5, 2014

Node.JS SDK 2.0.0-beta Released!

We’ve just released a shiney new version of our Node.js SDK, now in Beta.  This release reflects a significant amount of change from our previous SDK releases, including a brand new API which should be far easier to get started with and use, better documentation and numerous performance enhancements through our related project, libcouchbase.

Read more »

June 25, 2014

Node.js SDK 2.0.0 Developer Preview

In addition to the recent SDKs releases, I am also glad to announce the release of a newly minted Node.js SDK as well!  This new major version of the Node.js SDK introduces a number of new features and bug fixes in addition to numerous performance and maintainability changes introduced through libcouchbase 2.4.0.

Read more »

June 24, 2014

PHP SDK 2.0.0 Developer Preview 2

I'm happy to announce the second iteration of developer preview for the new PHP SDK.  This release includes a few new minor features, but primarily consists of internal changes implemented through the use of the newly release libcouchbase 2.4.0 developer preview (read more here:

Read more »

April 27, 2014

PHP SDK 2.0.0 Developer Preview

Over the past few months, the SDK development team has been working on defining a new interface for interacting with the SDKs, dubbed SDK 2.0 (not directly related to PHP SDK 2.0.0 which merely happens to implement a large portion of that specification). The existing SDKs were all designed around existing interfaces that were targeted towards the memcached project, and as such were very cache oriented and no longer effectively reflected the more document oriented nature of Couchbase Server 2.0. As such, we set out to define a new, more modern interface which would better model those traits.

Read more »

January 28, 2014

Node.js ODM for Couchbase (Ottoman)

A few months back, I was talking with some of the users of our Node.js client and heard a fairly standard opinion that people were looking for some method to simplify their life further when using Couchbase from Node.js.  One particular things that I heard a lot about was they were looking for some way to have automatically generated models to avoid needing to manually build up all the boilerplate themselves.

Read more »

January 15, 2014

Node.js and N1QL

So, recently I added support to our Node.js client for executing N1QL queries against your cluster, providing you are running an instance of the N1QL engine (to get a hold of the updated version of the Node.js client with this support, point npm to our github master branch at  When I implemented it, I didn’t have very much to test against at the time, so I figured it would be a interesting endeavorer to see how nice the Node.js’s beer-sample example would look if we used entirely N1QL queries rather than using any views.

Read more »

November 26, 2013

`startkey_docid` Behaviour

Today we had an interesting question pop up on Stack Overflow ( in relation to the correct usage of `startkey_docid`

Read more »

October 13, 2013

Game Servers and Couchbase with Node.js - Part 3

In this part of the series, we will be setting up a game data storage system to allow you to store player game state over the course of their enjoyment of your game. To do this, we are going to create some /state and /states endpoints which will represent individual blocks of state data. We will allow multiple named state blocks to allow the game to divide the state data into separately updatable blocks to avoid needing to write many state blocks when only one part has changed.

Read more »

October 6, 2013

Game Servers and Couchbase with Node.js - Part 2

In this part of the series, we will be implementing session management and authenticated endpoints (endpoints that require you to be logged in). Lets get started!

Read more »