TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

Node.Js - Server Side JavaScript

Have you ever thought of having the possibility of writing both server side code and client side code in one language.With the introduction of Node.js this became a reality now.Node.js is just an environment for building high performance network applications.Means developer need to take care of everything.

What is this big deal about Node.js ? You may be thinking !

Have you ever thought of having the possibility of writing both server side code and client side code in one language.With the introduction of Node.js this became a reality now.Node is a platform for simplifying the creation of complex network applications

If you ever developed a web application it is definite that you wrote some piece of Javascript. Javascript is the widely used  client side scripting language across platforms.

It's been a long journey for a Web developer from pure Html to Html with Javascript and then the combination of Html,Java script and any server side language like php,python,Ruby,ASP etc.Gradual evolvment of javascript from initial DHMTL helper to highly interactive JQuery front end scripts has made enviable position in web development space.

Till recently javascript development was very much limited to Browser level. Now Node.js  extends javascript outside browser to server side programming by allowing developers to create back end of an application as they develop javascript  front end.

What is Node?

Node.js is a 2 year old platform built on Google Chrome's JavaScript run-time specifically designed for building fast and scalable network applications easily.It is an event driven software architecture system meant for network applications that involve heavy I/O.Using Node.js we can develop applications having large number of open connections with low latency.

Node doesn't have any default server like HTTP server as you have for traditional server programs.So it is the responsibility of the developer to do everything.This reduces the resource need and also improves your web application application speed considerably.

Similar to libraries in other programs in Node  the concept of module architecure introduced.Each module contains a set of functions corresponding to the subject of the module.Node.js also provides some core in built  modules package (npm) including modules like HTTP Module,TCP Module etc., which you can download. Similar to referencing the assemblies or including libraries, in Node we need to include modules.It is very straight forward using require () function as below.

var httpModule = require("HTTP");

For installation and start developing applications using Node.js continue reading . . .

How to Install Node.js

Pingbacks and trackbacks (1)+

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading