Posted October 12, 2011
Recently, for fun and learning, I built a group chatroom feature for Drupal 6.x. I’ve been learning and using Node.js and Backbone.js the past few months and building a chatroom seemed like a great project to stretch my skills.
I’ve recently pronounced it “finished” and the code is available on Github. There are a few obscure bugs left but by and large, it’s plenty stable for those wanting a chatroom on Drupal 6.x.
The feature should work with any site using Spaces and Organic Groups. The demo site I setup, for example, is using a default installation of Open Atrium.
Hand-rolling a way to securely connect Drupal and Node.js was a pain—probably the hardest part of building the feature. Use the Node.js Integration module if you’re on Drupal 7.
Redis is really impressive. It has one of the shallowest learning curve of any technology I’ve used. I was up and running with it in perhaps 15 minutes. Add that it’s incredibly fast and you have a very handy tool to add to your toolset.
Note: the demo site that was linked from here is now off-line.
Kyle Mathews lives and works in San Francisco building useful things. You should follow him on Twitter