Welcome to the fourth article of my series 'The Learning's 101'. At the time of writing this article, I am on Day 97 of the #100DaysOfCode challenge.
In this article, I am not going to start with the basic answer to ' What is Nodejs?' as we generally do. I am starting with giving you reasons to love Nodejs.
- When Nodejs walks into the room it also brings along the largest package repository(npm) with it. npm has a collection of about 350,000 packages to make your life easier.
npm ecosystem is open to all, and anyone can publish their own module that can be listed in the npm repository.Some of the most useful npm modules are express, socket.io, connect, router, mongoose, etc.
I can send a request to an API which will not sent result back instantly, but even during the wait, I can work on a separate task without being blocked by the API.
Like every other programming langauge,there are some bright side and some gray areas as well. Not all kind of application can be made using Nodejs as it does have some drawbacks.
Here are few types of application which shine out when using Nodejs for developement.
If your application focuses majorly on Data retrival, I/O operation, API call in an eventful manner and run in a non-blocking manner with an asychronous approach then Nodejs is your go to techstack.
But if you are dealing with an application which wants you to do any of the following :
In these senarios, Nodejs isn't the best solution.
If you are planning to build: