background preloader

Node.js

Facebook Twitter

Understanding node.js. Node.js has generally caused two reactions in people I've introduced it to. Basically people either "got it" right away, or they ended up being very confused. If you have been in the second group so far, here is my attempt to explain node: It is a command line tool. You download a tarball, compile and install the source.It let's you run JavaScript programs by typing 'node my_app.js' in your terminal.The JS is executed by the V8 javascript engine (the thing that makes Google Chrome so fast).Node provides a JavaScript API to access the network and file system "But I can do everything I need in: ruby, python, php, java, ... !

". I hear you. "Get to the point! " Alright, I will. "Huh? " That's right, everything runs in parallel, except your code. The day starts by one servant waking up the king and asking him if he needs anything. Once a servant finishes a task, he lines up outside the kings quarter to report. "That's fantastic, but could you quit the silly metaphor and speak geek to me? " Sure. No. Installing and Running node.js applications within IIS on Windows - Are you mad? How to install Cygwin.

Cygwin is a Unix-like environment for windows. It can be obtained from: www.cygwin.comBelow are notes on how to install and setup cygwin for access to group computers.Installation Notes:Download setup.exe from www.cygwin.com.Run application from your local harddrive.Chose next on first screen.Select "Install from Internet" and click next. Enter preferred installation (Root) directory and click next. Enter a temporary installation directory and click next. Select "Direct Connection" and click next. Select a download site and click next. (Any site that you can connect to is fine. Some sites are more stable and/or faster than others. Select "Ok" to close both "Environmental Variables" and "System Properties" windows. How to Install Node.js. Node.js v0.8.19 Manual.

The Node Beginner Book » A comprehensive Node.js tutorial.