Cocoaheads Berlin -> Data Sync with Couchbase Mobile

I had the pleasure to give a talk at Blacklane about Couchbase Mobile and Distributed Databases; Below is the video recording (please excuse audio quality), and further down you can find the presentation slides (with some of my footnotes for those who are just reading through). Special thanks to @sbpankevich Stanislaw (Blacklane) for the video, Jens Alfke (Couchbase Mobile)

Continue reading Cocoaheads Berlin -> Data Sync with Couchbase Mobile

Couchbase Mobile + oAuth (JWT tokens)

Whereas in the last post I showed the theory / basics on custom authentication, in this article we’ll see those concepts applied in a practical example. When it comes to ‘real life’, an integration of couchbase mobile will most probably need to run in parallel with regular REST api supporting calls. That said, to unify/integrate their authentication/authorization processes into one

Continue reading Couchbase Mobile + oAuth (JWT tokens)

What can Couchbase Mobile do for you? – Introduction

Which option for data storage to take for the next app ?  CoreData, Sqlite, Sqlite with some ORM flavor, or maybe some cross-platform C based implementation, BerkleyDB, LevelDB, etc, or Couchbase Lite? Or should you go for SaaS into something like Parse that will handle offline and sync for us? While using SaaS is a great deal for

Continue reading What can Couchbase Mobile do for you? – Introduction

Data management in distributed applications

Due limitations around HTTP/v1.1, developers have found interesting solutions to optimise page loading times, for instance: Sprinting: This is the technique where we put small images together into a single large image, and then you use javascript or CSS to “cut out” pieces of that big image to show smaller individual ones. The reason being that getting a single

Continue reading Data management in distributed applications

Improving UX RESTfully with HTTP/1.1 cache injection

The Motivation In the end, the user experience will almost completely be converted from: “please wait, loading” to: “blazing fast, I am in the future and my connection has 0ms latency”. Do you work with an application querying data via http? Then this article might be just for you. With the technique shown here you will

Continue reading Improving UX RESTfully with HTTP/1.1 cache injection

Connecting Couchbase Lite database to Sync Gateway

This article explains how to get your mobile app’s Couchbase Lite documents / data pushed and pulled to a remote end point using the sessions-based mechanism. There are two things to be done in the mobile app: one is to create the methods to communicate with your authentication server in order to create users in the gateway

Continue reading Connecting Couchbase Lite database to Sync Gateway

Configuring your own couchbase mobile sync backend

This article explains the main steps involved in setting up a working sync gateway end point with user management. It is assumed you have basic knowledge of POSIX-like system services administration and networking. It is also assumed that you know the design of a Couchbase Mobile Application (explained in Understanding Couchbase Mobile article). By the end of the article, you should

Continue reading Configuring your own couchbase mobile sync backend

Understanding Couchbase Mobile (sync)

We’ve seen in the last article how to use Couchbase Lite to persist data locally. But the real power of it stands out with its synchronisation mechanism, which brings the benefits of a fast local database together with the data exchange demand of today’s applications. This article is an introduction to the infra-structure that acts as a synchronisation end-point for Couchbase Lite database. It will show

Continue reading Understanding Couchbase Mobile (sync)

Beginning with Couchbase Lite on iOS

Here’s an introduction to using Couchbase Lite for data persistence on iOS, showing the minimum steps required to get this storage system integrated in your application. The text expects you have a bit of SQL background for comparison purposes, and should be a good start if you’re somewhat new to NoSQL technologies. Written to speed-up your learning of how all the parts fit together, hopefully

Continue reading Beginning with Couchbase Lite on iOS

Couchbase Server on Debian Wheezy

  UPDATE 21/02/2014: Couchbase Server packages are now available from the website. Leaving this post online just for reference.. At the time of this writing, CouchBase unfortunately is not distributing packages for Debian, and well, my server is Debian. There are several ways to go about this (like compiling the software yourself). Since I’m just attempting to test the

Continue reading Couchbase Server on Debian Wheezy