About Me

My photo
जिंदगी की परीक्षा में कोई नम्बर नहीं मिलते है लोग आपको दिल से याद करे तो समझ लेना आप पास हो गए....

Friday 24 January 2014

Node.js

Node.js :  The JavaScript web application development platform which is the primary target of socket.io.

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
                  Node.js uses Google Chrome's JavaScript VM to execute JavaScript applications outside the browser, on the server. Node.js does provide an HTTP Server, which can be used to build web applications.

Ryan Dahl developed Node.js in 2008.In the January of 2008, he came up with the idea of building a small web server based on JavaScript. He was inclined towards JavaScript because it was independent of the OS and came without any I/O APIs. He quit his job and worked on Node.js for 6 months. In November 2009, he presented Node.js in JSConf, and has been working for Joyent since then. 

Node.js is a modular framework with a modern module system from the ground
up. Everything in Node.js is built as modules running in the V8 JavaScript engine. Every functionality in the platform is provided by means of modules. This keeps the platform lean and brings in only that what is required. Having a native module system also helps in keeping our applications modular.

Installation :
1.You can go to http://nodejs.org/ and download the appropriate
distribution for your operating system.
2.You'll find the instructions for installing Node.js using
package manager here:
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager


Reference : Socket.IO Real-time Web Application Development

No comments:

Post a Comment