Say hello to JIRA Agile and JIRA Capture Learn More »

Archives for the tag: JavaScript

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 »

Nested BackboneJS Models with Brace

We're big fans of Backbone here at Atlassian. It's already used in the majority of our products, and its uptake within the company is increasing. Backbone is unopinionated by design. It tries hard not to get in the way of any competing libraries and frameworks you might be using, or any coding conventions you practice. This means that, out of the box, Backbone has some shortcomings, waiting for you to custom-tailor to your own purposes. And the open-source community doesn't disappoint. There

Continue reading »

Atlassian developer Brian McKenna has been working on a new programming language, Roy, since May 2011. In this video Brian shares his motivation for building Roy as well as where the language is heading in the future. More discussion about Roy can be found in a recent Hacker News article. http://www.youtube.com/watch?v=LtLb_l3K68A Resources: More information on Roy Follow @puffnfresh Fork the Roy repo on Bitbucket

Continue reading »