Question

I'm working on creating my first real node.js http server, and I'm sort of drowning in it. As a good teacher of mine always said, "I'll just shove you in the water for now, and then I'll show you how to swim." Fortunately, she wasn't a swimming instructor, but it's a good analogy nonetheless. I feel like I've jumped into node.js and I've only found a ping pong ball to help, that is to say, most of the tutorials I've read stop shortly after the "Hello World" example and I've mostly been trying to make sense of copied and pasted code (or they assume I have knowledge of lower level HTTP and webserver concepts that have been done for me as an Apache/PHP developer). I have experience in both client-side Javascript and PHP, but node seems to be a beast all of its own. I don't quite have the low-level knowledge that seems necessary for creating a node server, and connect, which seems to be a nice module for simplifying things, seems quite sparsely explained, even in the docs on its Git. Where could I find some tutorials to help me in this situation?

TL;DR - Are there any tutorials for node.js that go beyond "Hello World" but don't require much low-level knowledge? Or any tutorials that explain lower-level HTTP and webserver concepts that I would need to effectively create a node HTTP server?

Was it helpful?

Solution

Over at DailyJS they've got a long-running Node tutorial called Let's Make a Web App. There are 8 parts so far:

It's a great blog for keeping up with Node news and tips as well as other general javascript topics.

OTHER TIPS

I know I'm a bit late to the party, but I still wanted to point you at my current work, The Node Beginner Book. It's exactly targeting at people like you:

http://www.nodebeginner.org/

See these tutorial sites:

Have a look at Express: http://expressjs.com/

If you're still looking for some tutorials that build up from the core Node.js library, I've been writing a series of posts on that:

  1. Extending the Node example - GitHub commit monitor
  2. Leveraging Connect
  3. Enter the Express lane

There are more articles in the series than that, but RandomEtc is right that there isn't a great deal to cover when you're looking at the HTTP-related features specifically.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top