Year: 2013

JavaScript

Fluent Interfaces in Coffeescript

We’ve all seen them – builder patterns that make object construction clean and readable. person().named(‘Bob’).withSpouse(‘Alice’).bornOn(’01-26-1982′).build() I used to do these all the time in Java (we called them fluent interfaces), and I just realized today that I had no idea how to do this style in Coffeescript. Well, lets remedy

NodeJS

Heroku vs NodeJitsu vs Appfog

What’s your database of choice? For the next few months, I’ll be working with the team at LocalRuckus, building a new Node.js API and application.  As a small shop with no dedicated Sys Admin or Dev Ops, its essential that we find Node.js hosting that is flexible, fast, and cost-effective.

JavaScript

Heroku Scheduler with Coffeescript Jobs

Heroku provides a free add on for running scheduled jobs.  This provides a convenient way to run scheduled tasks in an on-demand dyno, freeing your web dynos to focus on user requests.   I’m currently writing a node.js application in coffeescript that has some modest job scheduling needs. Heroku’s documentation