NodeJS joins the other popular web languages like Python, Ruby and PHP. It can access file systems, create and connect to servers, serve HTML, JSON and XML and manage user sessions.
NodeJS has the added benefit of JavaScript's asynchronous function execution.
- JavaScript language
- Asynchronous
- JSON, JavaScript Objects
- Fun to write
- Growing community
- Very Web ready
- Servers of past, present and future
- TCP
- HTTP
- Websocket
- HTTP
- TCP
Node is available for lots of different platforms including OSX, get a copy here http://nodejs.org/download/.
NPM is one of the nicest package managers. Using a package.json file you can declare an app's dependencies.
NPM is included when you download and install NodeJS. NPMJS.org is the official site for the application.
- Heroku - great service. Git deployment. No websockets yet, only long polling.
- Nodejitsu - NodeJS hosting and Websocket support
- Any VPS server where you are allowed to run scripts as root, EC2, Linode, etc.
- Nodemon - https://github.com/remy/nodemon - auto restart node script when you are developing
- Forever - https://github.com/nodejitsu/forever - a process manager for Node. Use Forever to start a Node script then close the terminal window. With Forever you can come back to your shell and use the Forever command line to view, stop or restart the running Node scripts.