Node.js Overview

Table of Contents

Tutorials1

Developer Sites

Videos

Screencasts

Books

Courses

Blogs

Podcasts

JavaScript resources

Node Modules

Other

Useful Tools for Every Project:

  • Underscore contains just about every core utility method you want.
  • CoffeeScript makes JavaScript considerably more bearable, while also keeping you out of trouble! Caveat: A large portion of the community frowns upon it. If you are writing a library, you should consider regular JavaScript, to benefit from wider collaboration.

Unit Testing:

  • Mocha is a popular test framework.
  • Vows is a fantastic take on asynchronous testing, albeit somewhat stale.
  • Expresso is a more traditional unit testing framework.
  • node-unit is another relatively traditional unit testing framework.

Web Frameworks:

  • Express is by far the most popular framework.
  • Meteor bundles together jQuery, Handlebars, Node.js, websockets, mongoDB, and DDP and promotes convention over configuration without being a Rails clone.
  • Tower is an abstraction of top of Express that aims to be a Rails clone.

Geddy is another take on web frameworks. RailwayJS is a Ruby-on-Rails inspired MVC web framework. SailsJS is a realtime MVC web framework. Sleek.js is a simple web framework, built upon express.js. Hapi is a configuration-centric framework with built-in support for input validation, caching, authentication, etc. Koa Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.

Web Framework Tools:

Networking:

  • Connect is the Rack or WSGI of the Node world.
  • Request is a very popular HTTP request library.
  • socket.io is handy for building WebSocket servers.

Command Line Interaction:

  • Optimist makes argument parsing a joy.
  • Commander is another popular argument parser.
  • Colors makes your CLI output pretty.

r

node.js

ubuntu install

sudo apt-get --purge remove node
sudo apt-get --purge remove nodejs
sudo apt-get install nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node

Footnotes:

Author: Shi Shougang

Created: 2015-03-05 Thu 23:19

Emacs 24.3.1 (Org mode 8.2.10)

Validate