[Node.js] First step into Node! Why node.js should be preferred over other programming languages?



Definition For Node:

Definition for node as per Nodejs.org is
Node.js is a JavaScript runtime built on Chrome's V8 Javascript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. 
☝☝ Question: what is event-driven & non-blocking I/O model?? 
These terms will be little confusing but we will discuss about it in sometime. Explaining above terms in the start will be little boring too..

☝☝ Question: what is npm?? 
Npm stands for node package manager. We will discuss about it in details in our next blog.


Why Node.js? 

I want to discuss in details about why Node.js? since you are new to node.js, you need to know why it is popular?

In the past Javascript was mainly used for client side validation. So front end developers will develop code with HTML, CSS and javascript combo and backend developers will use Java, PHP or some other server side programming language.


Usually there will be more problem when you are using different language for frontend and backend? Do you agree with me?

Prominent problem will be communication gap between front end and back end developer ?


Front end developer doesn't have much knowledge about back end. how code designed and data handled at the backend.

To overcome the above problem, Node will be helpful, you can write front and backend code with Javascript Language.

Using javascript you can write frontend and backend code, Learning javascript is an easy task when compared to any other programming language. For front end, you can use angularjs, reactjs or any other client side javascript library and for backend you can use Node.

Now you can understand, how node became popular in short time.


Next article we can discuss about installation of Node Js and how to use npm?

Please share your comments or questions in the below comment section!!👍👍

Comments

  1. I am Java developer. Can I start with Node.js without knowing Javascript???

    ReplyDelete
    Replies
    1. Yes, You can learn Node.js without javascript knowledge. Please follow this blog in sometime you can able to write your own node application.

      Delete
    2. https://developer.mozilla.org/en-US/docs/Web/JavaScript refer this URL to learn javascript. Everything is clearly explained in that link.

      Delete

Post a Comment