close[x]


Node.js

Node.js-Home Node.js-Environment setup Node.js-Basic Node.js-Modules Node.js-HTTP (Web server) Node.js-File system Node.js-URL Modules Node.js-NPM Node.js-Event Node.js-Email Node.js-MySQl Node.js-Upload files Node.js-Event loop Node.js-File I/O Node.js-Objects Node.js-Web Node.js-RESTFull API Node.js-Thread



learncodehere.com




Node.js Tutorial

  • Node.js was developed by Ryan Dahl in 2009.
  • Node.js has grown to be the most popular framework in the world,
  • Node.js is a platform built on Chrome's V8 JavaScript engine
  • Node.js uses an event-driven, non-blocking(asynchronous) I/O and cross-platform runtime environment
  • Node.js perfect for data-intensive real-time applications that run across distributed devices.

  • Node.js is free
  • Node.js is an open source server environment
  • Node.js uses JavaScript on the server
  • Node.js perfect for developing server-side and networking applications.
  • Node.js runs within the Node.js runtime on OS X, Microsoft Windows, and Linux.
  • Node.js can generate dynamic page content
  • Node.js files have extension ".js"
  • Node.js is not preferable to use for CPU intensive applications.
  • All the user requests to web application handled by a single thread



  • Use of Node.js

  • Single Page Applications
  • I/O Applications
  • Data Streaming Applications
  • JSON APIs based Applications
  • Real-time Applications
  • Features of Node.js

  • Node.js library are asynchronous, that is, non-blocking.
  • Node.js library is very fast in code execution.
  • Node.js uses a single threaded model with event looping
  • Node.js applications never buffer any data
  • Node.js runs in a single process

  • Advantage of node.je

  • Node.js is an open-source framework
  • Node.js uses JavaScript to build server side application
  • Node.js also provides a rich library of various JavaScript modules
  • Node.js performs tasks faster than other frameworks
  • Node.js is cross-platform framework that can runs on Windows, MAC or Linux
  • Node.js can generate dynamic page content
  • Node.js can create, open, read, write, delete, and close files on the server
  • Node.js can add, delete, modify data to database
  • Node.js needs less resources than other platforms