> > It seems this is the most popular type of question in the Node community :) > > There are tons of libraries to fight it, async.js (allow to write state > machine instead of callbacks), iced coffee script (code manipulation, > really cool thing), fibers (node extension to create pseudo - syncronous > code). > > I personally prefer fibers, You may take a look at this spec/test as a > sample of how to use fibers with DB calls > https://github.com/alexeypetrushin/mongo-lite/blob/master/test/collection.coffee > > , more details here http://alexeypetrushin.github.com/synchronize . > >
-- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en