Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advanced documentation for node.js developer [closed]

Tags:

Recently our team is working on a new project with node.js. It is not difficult to start working with node.js. But now we're all just start to use this new technique and have little experience in such event-based development.

So I am wondering if there are any books, blogs or other materials covering the topics of "best practice" of node.js, just like "effective c++", "effective java", etc.

like image 203
CMinus Avatar asked Mar 23 '11 03:03

CMinus


People also ask

Is node js the future of back end technologies?

Node. js is extensively used for back-end development and, according to Stack Overflow Research, is a worldwide leader among frameworks. Many experts say whether is node js worth learning 2022 or not depends on your preferences.

How do I end a Node script?

Method 1: Using ctrl+C key: When running a program of NodeJS in the console, you can close it with ctrl+C directly from the console with changing the code shown below: Method 2: Using process. exit() Function: This function tells Node. js to end the process which is running at the same time with an exit code.

What is process CWD ()?

process. cwd() returns the current working directory, i.e. the directory from which you invoked the node command. __dirname returns the directory name of the directory containing the JavaScript source code file.

How long will node js last?

Major Node. js versions enter Current release status for six months, which gives library authors time to add support for them. After six months, odd-numbered releases (9, 11, etc.) become unsupported, and even-numbered releases (10, 12, etc.)


1 Answers

Well, i can just support you with the findings that helped me the most when learning "how to node":

  • DailyJS: JavaScript in general, contains a lot of node.js specific posts/tutorials
  • HowToNode: Blog specifically about node.js, highly recommended
  • Essential JS Design Patterns: REALLY good description of design pattern implementations in JavaScript
  • JavaScript Garden: great documentation about the most quirky parts of JavaScript

There are also some good books on advanced JavaScript techniques around, i haven't read them all in full though.

  • High Performance Javascript (by Nicholas C. Zakas)
  • Pro JavaScript Design Patterns (by Ross Harmes & Dustin Diaz)
  • Secrets of a JavaScript Ninja (by John Resig, to be released end of August 2011)

And last but not least, i recommend GitHub as a source of learning. By digging through the source of some more sophisticated projects (such as express, mongoose or socket.io), you can learn A LOT about writing clean and proper node.js code.

like image 110
schaermu Avatar answered Nov 01 '22 05:11

schaermu