Saturday, 29 December 2012

Nodetime in node.js

!-- google_ad_client = "ca-pub-4378340310740210"; /* rectangle-nodemongo */ google_ad_slot = "1751391070"; google_ad_width = 336; google_ad_height = 280; // --> Nodetime is node js app performance management tool set. This tool is for monitor and tracing application performance.It reveals the...

Thursday, 27 December 2012

Wednesday, 26 December 2012

Features of MongoDB

1. Document oriented storage 2. Auto Sharding 3. Querying 4. Full index support 5. Map 6. GridFS var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-37329026-1']); _gaq.push(['_setDomainName', 'nodemongo.asia']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script');...

Tuesday, 25 December 2012

1st WebServer with node.js

In this article, i will create 1st Web Server. STEPS: Listen port Receive Request send response loading static files Http Module: include http module var http=require("http"); create a server var server=http.createServer(function(request, response){ write some headers response.writeHead(200,{"content-type":"text/plain"}}; response.end("hello"); }).listen(8000); ...

Features of Node.js

Features: The main features of node.js as follows Event-Driven Non blocking I/O Node Package Manager Web Sockets Even Driven: Node.js is  an event driven model. Programming node.js has lots of call backs.It is single threaded. So, only one thing happens at once. lets take an example, Paper...

Monday, 24 December 2012

NPM

What is NPM? NPM stands for Node Package Manager. Whne we install node in our system, npm comes with node. It is a set of directory of modules, we can install individual modules depending on our requirement. To install any module in Git Bash type the following command npm install  ...

Sunday, 23 December 2012

Thursday, 20 December 2012

Wednesday, 19 December 2012

Node.js Introduction

Node is a platform for writing server side javascriptapplications uses asynchronous event driven model.Every function in node.js is asynchronous.Node is a platform means you have to do everything yourself.One script handles all communication with clients.Node cannot use for gui applications.It...