Category: Couchbase SDK

Couchbase .NET SDK 1.3.7 Released and 2.X News!
SDK 1.3.7 Released Today Today we released a minor version of the .NET 1.X SDK: 1.3.7. This was a very small bug fix release and featured some contribitions from the community. A big thank you to the individuals who contributed...

Couchbase .NET Client 1.3.5 Released!
Hey folks, just a quick update that we have released version 1.3.5 of Couchbase .NET SDK! This a maintenance release and includes the following fixes: NCBC-438: Add finalizer to CouchbaseClient to ensure resources are released Add a destructor to CouchbaseClient...

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

.NET Couchbase Client Instrumentation with ASP.NET and Glimpse
The .NET Client Library provides detailed error information by way of its IOperationResult interface. To find out why a store operation failed, use ExecuteStore instead of Store. var result = client.ExecuteStore(StoreMode.Add, “key”, “value”); if (! result.Success) { Console.WriteLine(“Operation failed with...

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

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

Understanding group_level in View Queries with Compound Keys
Querying Views is what views are all about. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html Compound Keys Just to illustrate how group level works, let’s use a Map function that sorts users by the latest login timestamp, converting...

Understanding Letter Ordering in View Queries
Map/Reduce Views are an important part of Couchbase 2.0 and understanding how to query them is also important. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html One of the subtleties is understanding Unicode Collation ordering of letters which is...

Updates to libcouchbase 2.4
If you’ve been following along, a developer preview version of the library was released last month. It contained a whole bunch of improvements which you can read about here. TL;DR: Updated API docs is at http://docs.couchbase.com/sdk-api/couchbase-c-client-2.4.0-beta/index.html Download Page is at http://packages.couchbase.com/clients/c/index.html We’ve made some more...

Using Couchbase Ruby Gem with EventMachine
As you may have noticed the new couchbase ruby gem has been released recently. The release 1.2.2 is mostly a maintenance release with several bug fixes, but yet you can try one new experimental feature: integration with EventMachine library. This...

XDCR with ASP.NET and Nancy
You’re probably aware of the new Cross Data Center Replication (XDCR) feature of Couchbase Server 2.0. Its most obvious utility is to allow you to replicate data from one Couchbase cluster to another. However, there are more novel use cases...

10 Things Developers Should Know about Couchbase
As a developer, I’ve been using Couchbase Server for couple of months now and I love it. Having written several apps myself, I’ve come to learn many (but not all) of the ins-and-outs of Couchbase. To be a good Couchbase...