Archives for the tag: Node.js

Every quarter, Atlassian holds an event called ShipIt. Essentially, the whole company stops work for 24 hours (usually a Thursday and Friday) to form teams and compete to build kickass products, plugins, or features. For ShipIt 25, Patrick Teen, Jason Sheehy, and I decided to tackle the visitor sign in app at reception here in Sydney. The current sign in experience (an iPad with a rather ugly app) has been the target of much critique from the design team. Anyone who visits the Atlassian

Continue reading »

Today I'm here to preach the gospel of promise-based async programming in Node.js, when coupled with an exciting new Harmony feature called generators. If you've been writing Node.js code for a while, then I'm sure you're familiar with the Node.js callback model. You've probably also heard some of the more common nicknames for it: callback hell, callback soup, pyramid of doom, etc. It looks a little something like this: [cc lang="js"] var checkIfBaconIsDelicious = function(cb) { // Truth

Continue reading »