NodeJs – Introduction

Node Js is a server platform built on a Chrome’s javascript runtime for developing a fast and scalable network applications.Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and handle the requests efficient, perfect for data-intensive real-time applications that run across distributed devices.
This Nodejs environment allows you to deploy your javascript knowledge for developing serverside scripting,whilst also running scripts to produce dynamic web page content. Node.js was developed by Ryan Dahl in 2009.

Why NodeJs?
If anyone wants to start their own project with minimal knowledge of javascript basics.I will suggest you Nodejs for your server side technology .if your front end may be AngularJs or ReactJs it is easy to write a server side code with this javascript knowledge in NodeJs.

What is AngularJs and NodeJs?
AngularJs and NodeJs both are open source tool but NodeJs is used for Server side application whereas AngularJs is build for developing a Client Side Web Application .

Why Node Js is different From Other Server Technologies ?
* NodeJs is Asynchronous in Nature .

Lets see how requests handled in Other server and Node server.
If you are Using Php Or ASP ,
1.Sends the task to the computer’s file system.
2.Waits while the file system opens and reads the file.
3.Returns the content to the client.
4.Ready to handle the next request.

Same requests handled in Node server,
1.Sends the task to the computer’s file system.
2.Ready to handle the next request.
3.The server returns the content to the client when the file system executes the Read or write file request.

Generally NodeJs eliminates a waiting time and simply start executing a next file .

Next chapter >> Getting Started with NodeJs

2 Comments

  1. Thank you it was very useful to me, Im new to node js and I have researched many websites but this tutorial is very easy to understand please do more like this.

    1. You are welcome Joshua.Thanks for reading our site and your valuable comments will improve us.Keep Reading.

Leave a Reply

Your email address will not be published. Required fields are marked *