Most Popular Tutorials
Most Popular Tutorials :-

Simply Easy Learning at Your Fingertips. Click Tutorials Menu to view More Tutorial List





what is node.js?

Node.js is an open-source and cross-platform JavaScript runtime server environment. Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.) Node.js uses JavaScript library on the server.

  • NodeJs is used for creating server-side web applications (backend).
  • Node.js files saved with extension ".js"
  • Node.js is mostly used to run real-time server applications.
  • Node.js uses asynchronous programming.
  • Node.js runs the V8 JavaScript engine, the core of Google Chrome.
  • Node.js is based on the JavaScript framework, but it is used for developing server-based web applications.
  • Node.js = Runtime Environment + JavaScript Library

    What Can Node.js Do?

  • Node.js can generate dynamic web page content
  • Node.js can create, open, read, write, delete, and close files on the server
  • Node.js can collect form data
  • Node.js can add, delete, modify data in your database

  • A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.

    Advantages of Node.js

    File Name :

  • Node.js is an open-source framework
  • Node.Js Uses JavaScript to build entire server side application.
  • Asynchronous by default. So it performs faster than other frameworks
  • Cross-platform framework that runs on Windows, MAC or Linux
  • Lightweight framework that includes minimum modules. Other modules can be included as per the requirement of an application.

  • Feature of Node.Js

  • Asynchronous and Event Driven :- All APIs of Node.js library are asynchronous, that is, non-blocking. It essentially means a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call.
  • Very Fast :Node.Js runs on the Google’s open-source scripting engine V8. so Node.js library is very fast in code execution.
  • Single Threaded but Highly Scalable : Node.js uses a single threaded model with event looping. Event mechanism helps the server to respond in a non-blocking way and makes the server highly scalable as opposed to traditional servers which create limited threads to handle requests.
  • No Buffering :- Node.js applications never buffer any data.




  • Previous Next


    Trending Tutorials




    Review & Rating

    0.0 / 5

    0 Review

    5
    (0)

    4
    (0)

    3
    (0)

    2
    (0)

    1
    (0)

    Write Review Here