這篇文章編譯整理自Stack Overflow的一個如何開始學習Node.js的Wiki帖,這份資源列表在SO上面瀏覽接近60萬次,數千個收藏和頂。特意整理髮布到這裡,其中新增了部分中文參考資料。
學習指南和教程
- NodeSchool.io 互動式課程
- Node的藝術 (Node簡介)
- Hello World
- Hello World Web Server
- Node.js 指南
- 使用Node.js, express和MongoDB建立一個部落格
- Node+MongoDB 100分鐘建站攻略
- Project 70推出的Node.Js指南
- Node.js入門
- 全面學習 Node.js
開發者網站
視訊
- Node指南
- Node+MongoDB 100分鐘建站攻略
- Ryan Dahl介紹Node.js
- 用Node.js做並行開發
- 使用Node, Connect & Express做JS的服務端開發
- 初探Node.js
- Node.js 和 MongoDB
- 使用Node.js的實時Web
Screencasts
書籍
- The Node Beginner Book
- Mastering Node.js
- Up and Running with Node.js
- Node.js in Action
- Smashing Node.js: JavaScript Everywhere
- Node.js & Co. (in German)
- Sam’s Teach Yourself Node.js in 24 Hours
- Most detailed list of free JavaScript Books
- Mixu’s Node Book
- Node.js the Right Way: Practical, Server-Side JavaScript That Scale
- Beginning Web Development with Node.js
- Node Web Development
課程
部落格
JavaScript課程
- Crockford’s videos (must see!)
- 參考這篇文章《學習JavaScript的線上課程和指南》
- Essential JavaScript Design Patterns For Beginners
- JavaScript garden
- JavaScript Patterns book
- JavaScript: The Good Parts book
Node模組
- Search for registered node.js modules
- Wiki List on Github/Joyent/Node (start here last!)
- A completely biased and incomplete selection of useful Node modules
其他工具和資源
- JSApp.US – like jsfiddle, but for node.js
- Node with VJET JS (for Eclipse IDE)
- Production sites with published source:
- Useful Node.js Tools, Tutorials and Resources
- Runnable.com – like jsfiddle, but for server side as well
- Getting Started with Node.js on Heroku
單元測試
- 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框架工具
- Jade is the HAML/Slim of the Node world
- EJS is a more traditional templating language.
- Don’t forget about Underscore’s template method!
網路
- 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.
命令列工具