Developing with Couchbase Server

catI’ve just completed my latest book, this time looking at the development side of using Couchbase Server for building applications. The book goes through the basics of the Couchbase Server data store, the mechanics of storing and using data, the API and operations available, and a quick overview of the different client libraries available for building applications.

With the core details out of the way, I move on to building a sample application using the PHP client library as the base, showing the different operations in context, and then looking at the indexing and query system for searching for data from Couchbase Server.

You can read more, and get the table of contents and description here: Developing with Couchbase Server

BeOS: Porting Unix Applications

Back in 1998 I wrote my first book, all about how to port Unix applications to what was then seen as a brand new operating system set to take on the world. BeOS was at the time seen as a revolutionary OS containing a number of radical features and departures from many of the traditional current operating systems, but with some new and improved functionality, like an improved GUI layer, better networking and subsystem interfaces, and a new filesystem.

At the time I’d spent a lot of time porting applications to HP-UX and Solaris, and took to BeOS immediately, which is when I was contacted about writing a book.

The history of the book development is unremarkable, but after troubles at the original publisher it was eventually published by Morgan Kaufmann. After some negotiation, I’ve now had the book copyright signed back over to me, and with the burgeoning Haiku community, I’ve decided to release the book freely under a Creative Commons licence.

You can download it here: Porting UNIX Applications.pdf

This is a rough-ish copy of the book, based on the original content I submitted over 15 years ago. It’s complete, and formatted but understandably quite dated. Please comment or email if you have changes of improvements that you would like to see.

Getting Started with Couchbase Server Published!

Extreme Scalability at Your FingertipsHaving not published a book in years, I’ve just published my second book in as many months. 

Getting Started with Couchbase Server provides an overview of the main administration and user information that you need to install, setup, manage, and develop against Couchbase Server. 

In the book, I’ve tried to cover the installation, and then the main admin tasks, such as rebalancing and expanding your cluster, along with backups and restore. 

Also in the book is some basic information on developing an application, including using the main operations and how you store and retreieve information in the cluster. 

The book is on Couchbase Server 1.8, so no views, but there should be enough for you get going. 

Get more information here.

Getting Started with CouchDB published!

I’ve just published my first book for a few years. The book is Getting Started with CouchDB with O’Reilly.

The book is a quick guide to everything you need to know to start working with and building applications with CouchDB. 

Some highlights of the contents:

  • Install CouchDB on Linux, Mac OS X, Windows, or (if you must) from the source code
  • Interact with data through CouchDB’s RESTful API, and use standard HTTP operations, such as PUT, GET, POST, and DELETE
  • Use Futon—CouchDB’s web-based interface— to manage databases and documents, and to configure replications
  • Learn how to create, update, and delete documents in JSON format, and how to create and delete databases
  • Work with design documents to get the formatting and indexing your application requires


Understanding MySQL Internals

Sash Pachev has written a new guide on Understanding MySQL Internals for O’Reilly. I was one of the technical reviewers on this book and can tell you that it makes a good read if you want to understand more of what is going on under the hood in MySQL. There’s a lot to cover, for example the pluggable storage engine archtiecture, how queries are parsed and executed, and how individual storage engines work. The book is compact, but very readable, and worth a look if you any interest in how databases are programmed, or are thinking about building your own storage engine to plug into MySQL.

LoCA 2006 Keynote

As previously announced, I presented the keynote at LoCA 2006. The keynote was on Google Maps and Google Earth, related to the new book which I just announced on the book’s new companion website. I’d like to think that the presentation went well – we started late (due to Dublin traffic, the attendees had trouble getting in – my taxi, by comparison, got us there an hour early), but we finished even later as the questions and queries came thick and fast. We had a taxi booked at 11:00am to take us to the airport, but by 11:15am my wife had to come and collect me to ensure we made it for the flight.If any LoCA attendees want to comment, please feel free!As to the book – and apologies to those from LoCA who I instructed to visit this site for more information – I’m just in the process of organizing the examples and downloadable book content today.