Working with OS Module in Node.JS

In this post we will take a quick look on OS module in Node.js. OS module is to work with OS component. It provides some functionality to work with Operating System. Using this module you can get following information like below, OS target version Host name OS temp folder Total memory in system Free memoryContinueContinue reading “Working with OS Module in Node.JS”

Events in NodeJS : Write your first event

Setup Environment on Windows machine for Node.js Development: Part 1 Let us simplify “Hello World” Node.js Example and EventLoop : Part 2 Each objects in NodeJS emit an asynchronous event. That event is handled by an object EventEmitter. EventEmitter is underneath every object. EventEmitter object, Takes care of event being emitted by Node object HandlesContinueContinue reading “Events in NodeJS : Write your first event”

How to setup JavaScript Build in Sublime Text 2

Yes I am turning friend of Sublime Text and thought to use Sublime for JavaScript development as well. To execute JavaScript in Sublime, you need to create new Build System for JavaScript. There are two steps you need to follow, Install Node.js Create new build system for JavaScript To install Node navigate to http://nodejs.org/ andContinueContinue reading “How to setup JavaScript Build in Sublime Text 2”

Let us simplify “Hello World” Node.js Example and EventLoop

We are learning Node together. In last post We Setup Environment on Windows machine for Node.js Development. We also wrote a Hello World program to verify whether environment is setup as expected or not. In this post we will try to understand each line of Hello World program. Understanding of this is very useful forContinueContinue reading “Let us simplify “Hello World” Node.js Example and EventLoop”

Setup Environment on Windows machine for Node.js Development

I am aspired to learn Node and I had tough time setting up environment for Node development. Guess what I got none other than Mr Glenn Block to help me. We did pair programming over Google Hangout and he helped me setting up. It was his kindness that he spent time with me. He hasContinueContinue reading “Setup Environment on Windows machine for Node.js Development”

Configure Node.js for Windows

In this post we will walkthrough step by step to set up environment for node.js on windows. Very first navigate to Windows Azure Download page and select node.js for Windows to download Once you click on node.js download option for Windows you will get following confirmation windows. Click on Save File. After saving the fileContinueContinue reading “Configure Node.js for Windows”