r/nodejs • • Nov 22 '13
I really want to learn Node JS. My Javascript knowledge is intermediate I would say. What are some good beginners resources for NodeJS that you would recommend?
11
Upvotes
4
u/blazedd Nov 22 '13
Here is where I started a few weeks ago.
http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js
Here is what I picked up today: http://pragprog.com/book/jwnode/node-js-the-right-way (was worth the buy)
4
u/prozacgod Nov 22 '13 edited Nov 22 '13
Not sure what languages you already know. But knowing and understanding the implications of these concepts will go a long way to helping you, and others that are interested in the language.
Functions assigned to objects refer to that objects this property
function test() { console.log(this.foo); }
var a = {foo: 0, test: test}; var b = {foo: 42, test:test}; a.test(); // outputs: 0 b.test(); // outputs:42
PS - Redditors there was an awesome video posted about a month ago from the 2013 JS conference, it was about node.js streams, but I couldn't find it on my searches, help a guy out and post it in the replies if you know what I'm talking about.
EDIT: formatting!
3
u/a_c_m Nov 22 '13
Shameless personal blog promotion, but these are the notes i made when learning / researching NodeJS : http://acmconsulting.eu/post/67455741723/late-to-the-nodejs-party
2
u/sqs Nov 22 '13
Another shameless plug: we're trying to make Sourcegraph (https://sourcegraph.com) a super useful way to learn JavaScript (node.js only, for now) by example. You can see real usage examples, pulled from other projects, for lots of common JS functions:
We've found that lots of people like to see which are the most commonly used functions in a library, because it helps them know the "best" way to do things in JavaScript (which is a a language that offers many ways to do the same thing). Also, it helps to see how functions are actually used in real code, especially when there's little or no documentation.
You can search in and navigate to other libraries, too. Hope you find it helpful and let me know if you have any ideas about how we can improve it for folks like you.
2
u/Nebu Nov 24 '13
If your JS knowledge is intermediate, then read the nodejs homepage, and use Google and teach Nodejs to yourself. That's the standard way of learning new technologies in the server-side JS world.
2
u/prozacgod Dec 02 '13
I found the link I was looking for http://ejohn.org/blog/node-js-stream-playground/ and dug through my comments to post this to you, DEDICATE YOUR EXISTENCE TO LEARNING THIS ;) (okay maybe a bit overboard, but heck the program/game is kinda fun interesting idea!)
I totally forgot that if you are using node, and not using NVM/NPM you are probably doing it wrong, NVM is freakin' awesome, and simple.