What is Node.js?

What is Node.js?

NodeJS is a Server side platform built on Javascript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and the final version is v0.10.36. Defining NodeJs by official documents is as follows:

Node.js is a platform based on the Chrome Javascript runtime to build fast, great applications. Node.js uses event-driven components, non-blocking I / O models to create lightweight and efficient applications for real-time data applications running on devices. scattered.

NodeJs is an open source, multi-platform for developing Server-side applications and network-related applications. Node.js application is written in Javascript and can run in Node.js environment on Windows operating system, Linux .

Node.js also provides us with a variety of Javascript modules that can simplify the development of web applications using Node.js with extensions.

 Node.js = Runtime Environment + Javascript libraries 

Features of Node.js

Here are some important features that make Node.js the leading choice in software development:

Event Driven : All the APIs of Node.js library are asynchronous, meaning no blocking. It is essential because Node.js never waits for an API to return data. The server switches to an API after calling it and has the Node.js Event notification mechanism that helps Server receive feedback from previous API calls.

Runs very fast : Based on the V8 Javascript Engine of Google Chrome, the Node.js library is very fast in the code execution process.

Simple but high-performance processes : Node.js uses a single thread model with repetitive events. Event mechanisms help Server return responses in a non-blocking manner and create highly efficient Servers in contrast to traditional ways of creating a limited number of threads to manage requests. Nodejs use single-threaded programs and these programs provide services for more requests than traditional servers like Apache HTTP Server.

No padding : Node.js application does not store buffer data.

License : Node.js is released based on MIT License.

With Node.js, you have to do everything

Node.js is just an environment - this means you have to do everything yourself. There won't be any default servers !!! A script handles all connections to the Client. This greatly reduces the amount of resources used in the application.

Who uses Node.js

Below is the link on the github wiki containing a list of projects, applications and companies using Node.js. Included in this list are eBay, GE, GoDaddy, Microsoft, Paypal, Uber .

Important components in Node.js

The following diagram describes the important components of Node.js that we will discuss in the next chapters.

What is Node.js? Picture 1

Where is NodeJs used?

Here are the areas where Node.js is used as a perfect choice:

  1. I / O applications
  2. Data flow applications
  3. Real-time data applications
  4. Applications rely on JSON APIs
  5. Single Page Application applications

Where Nodejs should not be used: It should not be used in CPU-intensive applications.

According to Tutorialspoint

Previous lesson: Insert algorithm (Insertion Sort)

Next lesson: How to install Node.js

5 ★ | 1 Vote

May be interested

  • 10 tips to help you become a great Pokemon trainer10 tips to help you become a great Pokemon trainer
    in the article below, tipsmake.com will introduce to you some tips to easily become a great trainer in this pokemon go game offline ...
  • How to use GoChat application in Pokémon GOHow to use GoChat application in Pokémon GO
    pokémon go has become a very hot phenomenon since its debut. any information or tricks related to the game are read and applied by players during the process of catching pokémon. and the gochat chat app for pokémon go players brings space to capture pokémon much more interesting.
  • How to play Pokemon GO in Landscape Mode on the iPhoneHow to play Pokemon GO in Landscape Mode on the iPhone
    although players can play pokemon go in portrait mode. however, if you want to watch and play games on a large and eye-catching screen, players can switch to playing games in landscape mode.
  • The secret to controlling Pokemon Go employees at workThe secret to controlling Pokemon Go employees at work
    these days, hr managers are faced with an extremely painful problem that is the status of priority employees playing pokemon go more than work. this has caused a small impact on productivity and efficiency.
  • Check out the 'buffalo' Pokémon in Pokémon GoCheck out the 'buffalo' Pokémon in Pokémon Go
    each type of pokemon has hp, cp, ability to attack and endure differently. based on these indicators, players can determine as well as choosing the most powerful pokemon for their offensive tactics.
  • Sitting home can also locate Pokemon around, do you believe it?Sitting home can also locate Pokemon around, do you believe it?
    the tightening of the niantic developers' rules to prevent players from abusing the support tools also brings annoyance, such as those who have no conditions to move much, go away, it is hard to know. get the location of the pokemon around the area they live in
  • 5 undeniable benefits when playing Pokemon Go5 undeniable benefits when playing Pokemon Go
    get to know many new people, breathe fresh air, relieve stress, increase concentration thanks to going out for a walk .... are compelling reasons to force you to try pokemon go now .
  • Want to earn the fastest Pokécoins in Pokémon Go? So don't miss this article!Want to earn the fastest Pokécoins in Pokémon Go?  So don't miss this article!
    pokécoins in pokémon go play the role of buying items in the store. the more coins you earn, the more likely you are to buy more items. to earn pokécoins, players will have to complete certain tasks or buy real money.
  • Pokémon systems when fighting in Pokémon GoPokémon systems when fighting in Pokémon Go
    each pokémon system in pokémon go has different strengths, along with a specific weakness. this type of pokémon will have the power to attack the other pokémon, but can defeat the other pokémon. if you know the characteristics of each type, it will be easier to choose which pokémon to battle.
  • The terms you need to know when playing Pokémon GoThe terms you need to know when playing Pokémon Go
    pokémon go is the most prominent name in recent days. this game of capturing and training virtual animals has created a relatively new way of playing, as players have to constantly move to catch pokémon. during the process of joining pokémon go, you will encounter and use a lot of important terms. so what do they mean?