StrongLoop | Promises in Node.js with Q – An Alternative to Callbacks

Source: StrongLoop | Promises in Node.js with Q – An Alternative to Callbacks

One thing you should use when you feel you’re reaching the pyramid of doom.

I am currently using Promises heavily in one of the projects I currently work on: Notepads. I use bluebird as it is a very nice, complete and a clever Promises library that goes beyond the original specification (and saves you time).

Converting Mongoose model functions to be Promise and callback friendly simultaneously

I just started using promises in one of my Node.js applications after watching the callback ...

Learn more

About Iliyan Trifonov

Web Developer, Blogger
Tagged , , , . Bookmark the permalink.