Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

node.js beginner tutorials? [closed]

Tags:

node.js

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?

like image 439
Trey Keown Avatar asked Jan 05 '11 04:01

Trey Keown


People also ask

Can a beginner learn Node JS?

Node is written in JavaScript. JavaScript is one of the most popular programming languages and nearly every developer is familiar with it. Therefore, learning Node requires less effort and time, even for a junior JavaScript programmer.

How do I completely learn Node JS?

Start with the basic introduction part of NodeJS. You should know what is NodeJS, where it is used, some of its features, and why companies are using it. You can read the article 7 Famous Apps Built on NodeJS: Reasons and Benefits to know why companies switched to NodeJS to build their application.

Can I learn nodes in 1 month?

How much time does it take to learn Node JS? It takes around 3 months to fully learn Node JS and be able to build a functional full-stack application. If you already know some other programming, you can get the basics down within a few week's time.


2 Answers

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

  • Part 1: Introduction
  • Part 2: Installation and Skeleton App, source code commit: 4ea936b
  • Part 3: RESTful Methods and Testing, source code commit: 39e66cb
  • Part 4: Templates, Partials, Creating and Editing Documents, source code commit: f66fdb
  • Part 5: Authentication, Sessions, Access Control Middleware, source code commit: 03fe9b
  • Part 6: Interface Basics, source code commit: f2261c
  • Part 7: Node Library Versions, Jade Tricks, Error Pages, source code commit: 929f5
  • Part 8: Flash Messages, Helpers, Feedback Display, source code commit: df0b954

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

like image 102
RandomEtc Avatar answered Sep 20 '22 17:09

RandomEtc


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/

like image 42
Manuel Kießling Avatar answered Sep 22 '22 17:09

Manuel Kießling