Node.js is open source, completely free, and used by thousands of developers around the world. It is used to develop I/O intensive web applications like video streaming sites, single-page applications, and other web applications.
Features of Node.js
- Asynchronous and Event Driven
- Very Fast
- Single Threaded but Highly Scalable
- No Buffering
Where to Use Node.js?
Following are the areas where Node.js is proving itself as a perfect technology partner.
- I/O bound Applications
- Data Streaming Applications
- Data Intensive Real-time Applications (DIRT)
- JSON APIs based Applications
- Single Page Applications
Node JS code have the following three important keyword..
Import required modules − We use the require directive to load Node.js modules.
Creating server − A server which will listen to client's requests
Read request and return response − The server created in an earlier step will read the HTTP request made by the client which can be a browser or a console and return the response.
No comments:
Post a Comment