Video Tutorial - How to install and run Node.js on Windows


  What this post is about
  This post is about getting Node.js up and running on a Windows Platform. This step will be followed by some guidance on how to host Node.js in a Microsoft Cloud Data Center, called Windows Azure. Node.js is a software system designed for writing highly-scalable internet applications, notably web servers. What makes Node.js compelling is the fact that is is based on the JavaScript language, opening the door for developers to not only write client side JavaScript put also server side.Node.js is built for scale, using event-driven, asynchronous I/O to minimize overhead and maximize scalability.        

  Video Content
   image This content shows 3 basic steps:       
Step 1 Install Node.js to run under Windows.
Step 2 Use an editor to write some JavaScript
Step 3 Run the application and a browser to test with.

  Source Code
 
 // JScript source codevar http = require('http');http.createServer(function (req, res) {    res.writeHead(200, { 'Content-Type': 'text/plain' });    res.end('Hello World\n');}).listen(1337, "127.0.0.1");console.log('Server running at http://127.0.0.1:1337/');        

  Watch the video
 
Video of Install and Running for Node.js http://brunoblogfiles.com/videos/Node_js_Install.wmv

  Conclusions
  Future content will explain more complex topics, like using Socket.IO and Express. Migrating applications to the Microsoft Cloud (Windows Azure) will also be explained and demonstrated.

Download for Free Azure Trial

lahxjo2d