Data Binding With cqlr

A while ago I wrote about using cqlc to reduce the boilerplate of binding Go structs to data in Cassandra. In the meantime, I’ve been building out an alternative approach that eliminates the need to use cqlc for this purpose. This experiment is called cqlr and it provides runtime bindings for gocql using either field tags, reflection or a user supplied mapping or any combination of these.

The motivation behind cqlr stems from gocql users asking for richer and more convenient data binding in the...


Struct Binding In CQLC

One of the major design goals of cqlc is to reduce the amount of boilerplate code required to maintain non-trivial Cassandra based applications. I’ve been thinking for a while that the cqlc fluent API would be more convenient if it offered a convenience...


go get private dependency with a git subtree

Travis is a great CI tool that has pretty good support for Go builds. Working with Go is reasonably straight forward because you can get most things you need with a simple go get. That said, I ran into an issue today trying to include a dependency...


Introducing CQLC

This is an introduction to cqlc, which provides a layer of convenience on top of the gocql Cassandra client. This article describes how cqlc compliments the usage of gocql.

Despite it’s self declared alpha status, gocql is a functional and stable...


Leex And Yecc

leex and yecc are the Lex and Yacc of the Erlang toolset. Whilst there is ample documentation about using the standard Unix lexer and parser generators, the Erlang equivalents are far less documented. This article1 demonstrates how to use leex and...


Capabilities For Messaging

This article introduces the potential usage of capabilities as an access control mechanism in a messaging broker. It describes the motivation behind a proof-of-concept implementation that demonstrates the feasibility of a capability based approach...