Most of these were mentioned during the class or in the discussion afterward.
- Node.js website: go here to download and install Node
- Nodejitsu: a great service for very easily deploying your Node code to the cloud.
- Kitten Game: the kitten game (with websockets) has been deployed to Nodejitsu. It also has homework!
- Node.js tag wiki on StackOverflow: has a lot of good links for further reading, including to several full-length books (some free).
- NYC Node.js meetup
- Packages used in the demos:
- request (GitHub): a highly-capable helper for making HTTP requests, including easy piping, buffering, and callbacks.
- ecstatic (GitHub): a simple static file server you can plug into the basic Node HTTP server, as in the demos, or into higher-level frameworks like express or flatiron.
(GitHub): a small little package transforming the
GitHub events API into a
EventEmitter. The source code is good reading!
- socket.io (npm, GitHub): a very high-level web sockets abstraction for bidirectional communication among multiple clients and your server.
- browserify (GitHub): performs “compilation” of Node-style modules and packages into browser-ready bundles.
- jsdom (GitHub): a virtual DOM on the server-side.
- canvas: an implementation of the HTML5 canvas API on the server.
- Packages discussed or otherwise recommended:
- express (npm, GitHub): the most popular higher-level framework for writing websites. Gives you thinks like views and routing, as well as the basics like caching or redirection.
- restify (npm, GitHub): a higher-level framework for writing RESTful APIs, inspired by express.
- mongoose (npm, GitHub): a client for a MongoDB that will map your models to your database.
- q (GitHub): implements the promise abstraction in Node, which in my opinion is the best solution for handling asynchronous operations, and especially asynchronous errors.
- Packages for unit testing:
A Small Plug
I'm giving a talk on unit testing at my HTML5 App Developers meetup next Monday! You should come.