Promises

Organiser
NYC Node.JS
Date
17-18 Apr 2012 (Add to calendar) GMT
Venue
(Exact location not available) , New York, US
Cost
Free

Node developers are well acquainted with callback hell, the tendency of any node program to become a rat's nest of callbacks calling callbacks, tedious error checks, and exceptions spinning off into the void. There are several popular ways to tame the mess, and one of the most elegant is the promise pattern (aka deferreds). I'll give a brief introduction to promises with a special focus on the Q API and jQuery flavors, and show how the pattern can help you keep your asynchronous code understandable, modular, maintainable, and testable. I will also discuss the lurking pitfalls (there are a few), and try to help people decide whether or not to make the leap.

You might also like...

Comments

Other nearby events

Map

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'” - Isaac Asimov