News for hackers. Stuff that matters.
Re:Mixu's Node book-A book about using Node.js by hopeless on Wednesday February 15, 2012 @06:31AM (#3593838)
Every Node-newbie should read and understand the chapter on Control Flows (http://book.mixu.net/ch7.html), particularly the async for loop. This tripped me up with my little node app (http://urlpipe.com) before I refactored it to use recursion (and then eliminated the problem by using Redis Pipelining).

But it still strikes me as one of those "think differently" parts of Node

Re:Mixu's Node book-A book about using Node.js by krmmalik on Wednesday February 15, 2012 @09:03AM (#3594231)
Thanks for pointing this out. That chapter was a complete eye opener for me. When you're new to not just Node but programming itself - understanding the terms used is in itself a challenge. I'm writing my very first app and i chose to do it in Node. I started to suspect i was going to hit the problems described in this chapter very soon but i had no clue what terms to search or where to look.

At least now i know what control flow actually means, and while i havent understood the examples completely at least its given me enough of a taster to start thinking about it.

Re:Mixu's Node book-A book about using Node.js by TrevorBurnham on Thursday February 16, 2012 @10:29AM (#3599044)
May I mention that I have an entire book on this subject coming out in March? http://leanpub.com/asyncjs/
Re:Mixu's Node book-A book about using Node.js by krmmalik on Monday February 20, 2012 @05:08AM (#3611925)
Yes you may. Thanks. Could you please tell me at what level this book is aimed at? Experienced developers, average? Complete beginners?
Re:Mixu's Node book-A book about using Node.js by TrevorBurnham on Friday February 24, 2012 @12:26PM (#3629972)
Intermediate. It would work well as the second book you read on JavaScript (or, given the way most devs come to JavaScript, the book you read after reading a book on jQuery). But there's stuff in there that even experienced devs might not know about, like Promises and control flow libs like Async.js.
Re:Mixu's Node book-A book about using Node.js by mark_l_watson on Wednesday February 15, 2012 @06:09PM (#3596585)
This online book is very well done, at least the parts I read today. BTW, the author's main web site http://mixu.net/ lists an impressive number of earning and utility projects. Someone who enjoys writing code!
Re:Mixu's Node book-A book about using Node.js by saroj on Thursday February 16, 2012 @12:28PM (#3599687)
Perfect! I'd been looking for a Node.js book for a while. This weekend is booked now for reading this one.
Re:Mixu's Node book-A book about using Node.js by Lazare on Wednesday February 15, 2012 @03:38AM (#3593582)
I found chapter 13 on Comet (long polling, socket.io, etc.) especially interesting. Speaking as a beginner, it seems like a good reference for a beginner. :)
Re:Mixu's Node book-A book about using Node.js by forestanderson on Wednesday February 15, 2012 @01:19PM (#3595377)
Whooohooo!