Node.js - Introduction

01.What is Node.js ?

Node.js was developed by Ryan  Dahl in 2009. It latest LTS version: 14.16.0 (includes npm 6.14.11) and latest current version: 15.10.0 (includes npm 7.5.3). Node.js is known as server-side platform which build on Google Chrome's JavaScript Engine (V8 Engine). 
    
    Node.js is,
  • an open source sever environment
  • it's free
  • runs on various platforms ( Windows, Unix, Linux, Mac OS X, etc.)
  • uses java script on the server

02.Why Node.js?

Node.js is primarily  used for non-blocking, event-driven servers, due to its single-threaded nature. It's primarily used for traditional web sites and  back-end API services, but was designed with real-time, push-based architecture in mind.

03.What Can Node.js Do?

Node.js can generate dynamic page content and it can create, open, read, write, delete, and close file on the server. Also Node.js can collect form data and can add, delete, modify data in your database. 

04.Pros and Cons of Node.js

Pros                                                                                                                                 
1.Scalability                                                                            
2.Single Programing Language                                           
3.High performance                                                               
4.Cross-platform development                                           
5.Simple to learn                                                                 
6.Large Community Support
7.Web App development speed
8.Freedom to Develop Cross 
Platform Apps
9.Imporve App Response Time

Cons

1. Unstable API
2. Lack of Library Support
3. High demand for Experienced Recourse
4. Heavy Computing Task 
5. Asynchronous programming Model

05. Where to Use Node.js?

Node.js is proving itself as a perfect technology partner in the  following areas,
  1. I/O bound Applications
  2. Data Streaming Applications
  3. Data Intensive Real-Time Applications (DIRT)
  4.  Single Page Applications          

06. Where Not to Use Node.js?

It is not advisable to use Node.js for CPU intensive applications.






Posted By Dilshan K.G.T









Comments