• April 17, 2012 · 7:00 PM
  • This location is shown only to members

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.

Join or login to comment.

  • Leon S.

    Great presentation! Thanks Chris!

    April 19, 2012

  • Sam E.

    Overall very good. I had done some reading first which helped. If there was one thing that would have improved the talk for me, not having had much experience with node, would be so see some more concrete examples and in particular with conditionals.

    April 18, 2012

  • Steve R.

    Great meetup... glad to see the group growing!

    April 18, 2012

  • Andrew P.

    Thanks Sam!

    April 17, 2012

  • Sam E.

    April 17, 2012

  • Andrew P.

    Where is this thing? The map doesn't actually work.

    April 17, 2012

  • Michael P.

    Who ever decided not to go I thank you so much!

    April 16, 2012

  • Domenic D.

    I'm also a committer to Q so I'm eager to hear about the lurking pitfalls and how we can fix them ;)

    April 10, 2012

  • Leon Stankowski changed the location for this Meetup

    March 28, 2012

  • Leon Stankowski changed the location for this Meetup

    March 27, 2012

  • Leon Stankowski changed the date and time to Tuesday, April 17, 2012 at 7:00 PM

    March 27, 2012

  • matt

    I'm eager for this meetup mainly because i tried to wrap my head around Q and only got a headache. I found when.js which solves all my problems without using the promise pattern. I found finding and learning the correct promise/deferred/async management lib to be the hardest part in learning how to use node

    March 3, 2012

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more

I decided to start Reno Motorcycle Riders Group because I wanted to be part of a group of people who enjoyed my passion... I was excited and nervous. Our group has grown by leaps and bounds. I never thought it would be this big.

Henry, started Reno Motorcycle Riders

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy