Monday, November 8, 2010

node.js setup on Mac

node.js has been getting a lot tractions lately due to its high performance on V8 engine, event-based model and reusability of client side JavaScript on server side without any changes.

There are several articles discussing how to set it up on the Mac and I found this one from Florian Kubis to be the easiest to follow.

If you are using homebrew as your package management system instead of MacPorts, you should use this tutorial instead.

The tutorials also cover npm (the package manager for node.js) and express (a Web app framework built for node.js)

There is no MacPorts ports for npm and express yet, maybe someone should create them?

Several slides and quick intro about node.js:

  1. "Evented I/O based web servers, explained using bunnies", the idea behind node.js in 10 pages
  2. "Node.js and websockets intro", a bit more technical than the bunnies example
  3. "Node.js: how JavaScript is changing server programming", more details in 65 pages
  4. "Running YUI3 on node.js", integration with YUI3, moving client js to server side without any changes!

No comments:

Post a Comment