Posts in  javascript

4.19.2013

Chicago Node.js - Control Flow Techniques

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

Abstract

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!

Video

Code

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

iced-coffee-script

TameJS

streamline - coffee

streamline - javascript

backcalls - coffeescript (proposed)

3.18.2013

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:

https://github.com/g0t4/Presentations

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.

3.10.2013

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