If you already know JavaScript… I ah, I'm sorry, this doesn't actually answer 
your question. But if you don't mind me rephrasing your question as "What 
should I do to master node.js?" then I can answer that:

Aria (aredridel) introduced me to the idea of "code katas" for learning new 
concepts and I think it's quite valuable.  That is, find modules solving 
problems in the spaces you want to master and try to reproduce their behavior 
yourself. If you need a hint, you've got code right there to inspect. The idea 
behind code kata's isn't necessarily to write a complete module that you share 
with others, but rather to implement enough to fully understand the concept. Or 
to understand how to best implement a concept you already know in a new 
language.  I found this invaluable when first learning node. (I've done all of 
these, to various degrees, across a few languages.)

To really wrap your head around Node.js, callbacks and event driven programming 
these come to my mind immediately:

* Implementing your own version of EventEmitter.
* Implementing some of the functions from the async module– the functional 
programming core at least (that is: map, filter, reduce, some, every).
* Implementing stream.Transform streams that map/filter/reduce and getting very 
used to pipe to combine them together.

Bonus, if you're interested in promises:

* Implementing the same functions as you did with async, only for promises, eg: 
map, filter, reduce, some, every.
* Implementing promises/futures (as this is an exercise, don't limit yourself 
to the A+ or ES6 versions, work with concept not a spec)

-- Rebecca


On August 4, 2014 at 2:15:50 AM, Martin Ransome (martin.s.rans...@gmail.com) 
wrote:

What should I read to master node.js?
--
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/b887330c-14c3-423e-b78e-c8bfe4e53475%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/etPan.53e010b2.79e2a9e3.ec1b%40sierra.manhunt.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to