How to access functionality from various JS files in Node.js

In this post we will take a look on working with different JS files in Node.js. To start with let us assume a scenario that you have several js files and you need to work with these js files and use functionalities from these files in server.js. In Node a JS file is a module. … Continue reading How to access functionality from various JS files in Node.js

Can you answer these 10 basic Knockout Questions?

Q1. KO performs following operations   Automatic Refresh Two way Binding Templating All of the above   Q2. On which event bindings in KO fire notification   Change event Update event On Any event None of the above   Q3. Value of computed observable is determined at Time of creation Time of update Time of … Continue reading Can you answer these 10 basic Knockout Questions?

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 memory … Continue reading Working with OS Module in Node.JS

Create your First MVVM based JavaScript App in two simple steps using Knockoutjs

Read all Knockoutjs posts here Setting up Visual Studio 2013 for Knockoutjs Development Okay purpose of this post is very simple to explain you why Knockoutjs. I will try to put it in simplest way that Why we need to work Knockoutjs. If you are not a begineer then probably this post may appear very … Continue reading Create your First MVVM based JavaScript App in two simple steps using Knockoutjs

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 Handles … Continue 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/ and … Continue 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 for … Continue 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 has … Continue reading Setup Environment on Windows machine for Node.js Development