Introduction to Node.js

What is Node.js?

  1. It is an open-source, cross-platform, back-end JavaScript runtime environment.
  2. Executes JavaScript code outside a web browser.
  3. Lets developers use JavaScript to write command line tools.
  4. Lets developer write server-side code in javascript to produce dynamic web page content before the page is sent to the user’s web browser. 

Why Node.js and what it can do?

  1. it makes it really fast to build real-time, high-traffic apps
  2. Makes it possible to code in JavaScript for both the client and server side
  3. Increases the efficiency of the development process as it fills the gap between frontend and backend developers
  4. the ever-growing NPM (Node Package Manager) gives developers multiple tools and modules to use, thus further boosting their productivity,
  5. code executes faster than in any other language.

Node.js allows the creation of Web servers and networking tools using JavaScript and a collection of “modules” that handle various core functionalities. Modules are provided for different file system operations, networking, cryptography functions, data streams, and other core functions.

Node.js is officially supported on Linux, MacOS and Windows. Though .js refers to standard javascript file extension, Node.js does not refer to any specific file in Node.

What are people doing with Node.js?

It is not only limited to web service application development. It can also be used to build –

  1. Tools (like Networking tools)
  2. Desktop application
  3. Mobile Applications
  4. IoT (Internet of things)

The Node.js architecture consists of asynchronous function managed by an event loop triggering call back functions, rather than using threads and blocking I/O. This architecture has claimed performance improvements over the years.

Our aim in this series is to cover as many aspects of developing, refining, testing and deploying Node.js concepts as we can.

Node official site.

Leave a Reply

Your email address will not be published. Required fields are marked *