Realtime Node.js and Backbone Boilerplate Code

I've had to do a few projects lately that require using Socket.io as the primary transport for single page apps communicating with a server. Having looked around a bit on the web, there are not a whole lot of examples as to how to do this using…

Taming Javascript's 'this' Keyword

My last blog entry, Understanding Javascript's 'this' Keyword, explained how Javascript's this keyword is different from other languages, and what kinds of pitfalls to expect when using it. Here, I'll show you some techniques for getting this under control. VAR SELF = THIS…

Understanding Javascript's 'this' Keyword

Javascript is a pretty great little language, but it can be a bit special at times. One particularly unintuitive aspect of Javascript is the this keyword. As a (former?) C++/C# developer, I've always had certain expectations as to how this behaves. Javascript does a pretty good job…

Amazon SQS vs. RabbitMQ

Heads Up: This post is quite old. Friends don't let friends make business decisions based on four-year-old blog posts. We've been using Amazon SQS where I work for awhile. We have a fairly heavy (though, that's relative: we're a small company) cloud…