Home » Tag Archives: Couchbase

Tag Archives: Couchbase

How to install 3 popular NoSQL databases for development in MacOSX for newbies Part 3 (CouchBase)

couchbase-logo

Part 1(Mongodb) Part 2 (Cassandra) Part 3 (CouchBase) In this post we are going to install CouchBase, a NoSQL database that has gained a lot of momentum latetly. CouchBase is very very developer friendly in terms of setting up and getting started time. Actually is the simplest. It offers a single download for many platforms (including MacOSX). You can find ...

Read More »

Moving My Beers From Couchbase to MongoDB

mongodb-logo

Few days ago I have posted a joke on Twitter:                       Moving my Java from Couchbase to MongoDB pic.twitter.com/Wnn3pXfMGi — Tugdual Grall (@tgrall) January 26, 2015 So I decided to move it from a simple picture to a real project. Let’s look at the two phases of this so called ...

Read More »

Pagination with Couchbase

couchbase-logo

If you have to deal with a large number of documents when doing queries against a Couchbase cluster it is important to use pagination to get rows by page. You can find some information in the documentation in the chapter “Pagination“, but I want to go in more details and sample code in this article. For this example I will ...

Read More »

How to implement Document Versioning with Couchbase

couchbase-logo

Introduction Developers are often asking me how to “version” documents with Couchbase 2.0. The short answer is: the clients and server do not expose such feature, but it is quite easy to implement. In this article I will use a basic approach, and you will be able to extend it depending of your business requirements. Design The first thing to ...

Read More »

Deploy your Node/Couchbase application to the cloud with Clever Cloud

couchbase-logo

Introduction Clever Cloud is the first PaaS to provide Couchbase as a service allowing developers to run applications in a fully managed environment. This article shows how to deploy an existing application to Clever Cloud. I am using a very simple Node application that I have documented in a previous article: “Easy application development with Couchbase, Angular and Node”. Clever Cloud ...

Read More »

SQL to NoSQL : Copy your data from MySQL to Couchbase

couchbase-logo

Introduction During my last interactions with the Couchbase community, I had the question how can I easily import my data from my current database into Couchbase. And my answer was always the same: Take an ETL such as Talend to do it Just write a small program to copy the data from your RDBMS to Couchbase… So I have written ...

Read More »

Introduction to Collated Views with Couchbase 2.0

couchbase-logo

Most of the applications have to deal with ‘master/detail’ type of data: breweries and beer department and employees invoices and items … This is necessary for example to create application view like the following:         With Couchbase, and many of the document oriented databases you have different ways to deal with this, you can: Create a single ...

Read More »

Couchbase 101: Create views (MapReduce) from your Java application

couchbase-logo

When you are developing a new applications with Couchbase 2.0, you sometimes need to create view dynamically from your code. For example you may need this when you are installing your application, writing some test, or you can also use that when you are building frameworks, and wants to dynamically create views to query data. This post shows how to ...

Read More »

Couchbase : Create a large dataset using Twitter and Java

couchbase-logo

An easy way to create large dataset when playing/demonstrating Couchbase -or any other NoSQL engine- is to inject Twitter feed into your database. For this small application I am using: Couchbase Server 2.0 Server Couchbase Java SDK (will be installed by Maven) Twitter4J (will be installed by Maven) Twitter Streaming API called using Twitter4J In this example I am using ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close