Robin Johnson's blog

October 10, 2013

N1QL - It Makes Cents!

*Ba Dum Tschhh*  …See what I did there? Makes cents? Get it? Haha.

So… N1QL (pronounced Nickel)… Couchbase’s new next-generation query language; what is it?  Well, it’s a rather genius designed, human readable / writable, extensible language designed for ad-hoc and operational querying within Couchbase.  For those already familiar with querying within Couchbase, that blurb will probably make sense to you.  If not – well, probably not, so let me clear it up a little more.

Read more »

September 19, 2013

Ruby on Rails and Couchbase-Model for a Social Application!

Also using HAML, SASS, Bootstrap, And Twitter OmniAuth...

Before we start – Here’s the GitHub code for this App…

We recently had our 3rd Couchbase San Francisco conference which, by the way,  was a great success and a fantastic day / night.  At the conference, I gave an 80-minute session based on the very sample application we are going to be building today.  The purpose of my talk was to show how we can model JSON documents within Couchbase and utilise the full Map/Reduce capabilities to build an application end-to-end.

Read more »

August 7, 2013

Multiple Bucket Connections in Couchbase and Ruby

c = Couchbase.new("http://localhost:8091/pools/default/buckets/my-bucket")

I believe it’s safe to say we are mostly all familiar with the above Ruby code.  It establishes a connection from the Ruby SDK to a bucket of our choosing inside our Couchbase cluster.  There are, of course, multiple ways of writing this line, such as specifying the URI and Port as Ruby Symbols (:pool => "default", :bucket => "my-bucket")etc.  The point I am making here is that we write these simple one line commands, and get 1 simple connection to our chosen bucket.  But what if our application uses multiple buckets? In this article, I’m going to back to basics, and take you through setting up, and connecting to Multiple Buckets.

Read more »

July 29, 2013

Couchbase Developer Days and LivePerson: Who, What and Why?

I've recently returned from a rather brilliant Couchbase trip to Israel. My colleague Tug Grall and I lead the Couchbase Developer Day held at the LivePerson offices, which was followed by a Couchbase meetup with ILTechTalks.

Israel has an ever-growing, yet established, tech startup scene and Couchbase are becoming key players in supplying NoSQL solutions to tech companies who require the flexibility and performance that Couchbase delivers.  A short drive out of Tel Aviv city centre, in which I am staying, live the offices of LivePerson. A marvelously open-plan outfit, with a great atmosphere and even authentic home cooked meals for any late workers!  What seems to be a great place to work and a focused environment dedicated to new technologies, the LivePerson offices played host to a fantastic Couchbase Developer Day and evening Community Meetup.

Read more »

June 28, 2013

Using nginx & PHP-FPM with Couchbase – The How, and the Why

Before we get started, I’d like to point you a blog by my colleague Michael Nitschinger, in which you can learn about the best way to set up your basic PHP and Couchbase Environment, if not using nginx & PHP-FPM: 
http://nitschinger.at/Getting-Started-with-Couchbase-and-PHP

Read more »