Node.js- An event-driven Networking

Feb 17, 2015   Allumez   3D Animation

Node.js

Node.js is an open source runtime environment for networking and server-side applications. Node.js applications are cross-platform and are written in JavaScript. These applications can be run on Microsoft Windows, Linux, OS X within the Node.js runtime. Node.js provides a non-blocking I/O and an event-driven architecture API that improves an application’s output and scalability. These technologies are widely used for real-time web applications.

Node.js uses the Google V8 JavaScript engine to execute code. It also contains a built-in library to allow applications to act as a Web server without using software such as Apache HTTP Server. Node.js is gaining popularity and is used by LinkedIn, Yahoo!, Microsoft and PayPal.

Node.js was first published for use in Linux in 2009. Node.js was created by Ryan Dahl and sponsored by Joyent. The first Node.js version build to support Windows was released in July 2011.

Overview-

Ryan Dahl originally had the goal of creating Websites with push capabilities. He chose JavaScript because of the lack of an existing I/O API. JavaScript has no consolidated API for I/O. In Node.js, all I/O is implemented in a non-blocking and asynchronous way. Node.js applications are designed to enhance throughput and efficiency. Node.js is based on single-threaded execution. It can be compiled locally.

V8- V8 is a JavaScript engine built for Google Chrome. It is written in C++. V8 provides the run-time for JavaScript. The basic functionality of Node.js resides in a JavaScript library. The Node.js bindings connect these technologies to each other and to operating system.

Package Management-

Npm is the pre-installed package manager for Node.js server. It is used to install Node.js programs. It is used to manage code dependencies from the command line.

Tools-

Desktop IDEs:

  • Brackets
  • Sublime Text
  • Microsoft Visual Studio
  • Atom
  • JetBrains WebStorm

Rutimes and debuggers:

  • Microsoft WebMatrix
  • Microsoft Visual Studio

Applications-

Node.js has also been used to implement MVC frameworks such as:

  • Derby
  • Nombo
  • Mean
  • Meteor
  • Sails
  • Tower.js

Share this post

We are always here to help. If you have a query Send Now