Posts in  javascript


Chicago Node.js - Control Flow Techniques

I'm excited to share the recording of this talk from the 4/16 Chicago Node.js meetup.


Verbose asynchronous programming in javascript can be frustrating. This talk focuses on alternatives to the pyramid of doom. We'll look at await/defer CPS transforms with IcedCoffeeScript/TameJS and streamline, control flow libraries, backcalls and promises. We'll cover some evaluation criteria for the solutions to this problem, including how the new C# 5 await/async syntax fares. Hopefully this talk can help keep a few more hairs on your head as you explore the wonderful world of asynchronous javascript programming!



The video has guiding slides that match up to the code samples below:

pyramid of doom - javascript

pyramid of doom - coffeescript

async package - coffeescript

promises with Q package - coffeescript



streamline - coffee

streamline - javascript

backcalls - coffeescript (proposed)


Nebraska Code Camp 3 Recap

Thanks again to everyone that came to my workshop and presentation.

You can find the content of the presentation here:

I've added a tag for nebraskacodecamp3 in the event I reuse and continue to modify these presentations in the future.

Async Programming in Javascript with Await and Defer, look in JavascriptAwaitAndDefer. I exported my google doc analysis spreadsheet to an html file and checked it in too.

HALF DAY WORKSHOP: Introduction to Refactoring with Resharper, look in RefactoringWithResharper.


Teaser: Async Programming in Javascript with Await and Defer #ncc3