Node.js的學習資源、教程和工具

伯小樂發表於2014-08-11

這篇文章編譯整理自Stack Overflow的一個如何開始學習Node.js的Wiki帖,這份資源列表在SO上面瀏覽接近60萬次,數千個收藏和頂。特意整理髮布到這裡,其中新增了部分中文參考資料。

學習指南和教程

開發者網站

視訊

Screencasts

書籍

課程

部落格

JavaScript課程

Node模組

其他工具和資源

單元測試

  • 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框架

  • 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框架工具

網路

  • 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.

命令列工具

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

相關文章