NODE JS
Increase your technical knowledge through our FSH Infotech Blog section.
We add various blog categories that is related to IT technologies.
You can find more blogs added by our administrator by using the below link. Click here for more blogs
Introduction
Node JS is a JavaScript runtime built on Chrome's V8 Javascript Engine.
Node JS is an asynchronous event-driven JavaScript runtime, it is used to develop scalable networks and dynamic web applications.
NODE JS consists of a lot of inbuilt and third-party modules which are invoked in the application to be developed. We can also create our modules in NODE JS.
It is an open-source server environment.
It supports various platforms including Windows, Linux, and macOS.
Node.js = Runtime Environment + JavaScript Library
We know that when a user requests something from a server, the server needs to send the response to the client and many programming languages and platforms have different methods of handling the requests and responses in a different manner. Here is how PHP and NODE JS handle the request-response.
Features
Asynchronous and Event-driven Environment:
A NODE JS program or the API runs asynchronously which makes the application boost and it never waits for another program in order to execute the current task.
Dynamic:
Node JS is dynamic and flexible with its wide variety of packages offered with NPM
Speed:
Applications built on NODE JS are very scalable in real-time and are speedy due to NODE JS's non-blocking nature.
Comparison
PHP :
- Sends the request to the server.
- Waits while the file system opens and reads the file.
- Return results to the client.
- Ready to handle the next request.
NODE JS:
- Sends the request to the server.
- Ready to handle the next request.
- When the server has opened and read the file, the results are returned to the client machine.
By using node js we can create dynamic web applications and network side apps. File Handling is possible.
Usage
Node JS is widely used to develop applications and Software like:
- Data Streaming applications
- JSON API based web apps
- Single-page applications
- Chat Applications
- I/O Bound applications
- Dynamic web apps
Official Website
The official website of the node js is https://nodejs.org
License
Node JS is released under MIT License
Download NODE JS
You can download the node js application from the link provided below to start developing applications using node js.
Windows version: https://nodejs.org/dist/v16.14.2/node-v16.14.2-x64.msi