dcsimg

Main » TERM » N »

Node.js Definition & Meaning

Node.js is an platform built on Google Engine (V8 Engine). It executes JavaScript code outside a and is designed to build scalable network . It uses an event-driven, non-blocking model and is influenced by EventMachine and Twisted. Node.js allows developers to use JavaScript for writing command line tools and using scripting, which employs on a web server to produce a response customized for each client's request to the website.

Node.js was developed by Ryan Dahl in 2009. The initial version supported only and . Though .js is the standard for JavaScript code, the name Node.js does not refer to a particular file and is solely the name of the product.

How Node.js works

The server engine uses an event-based, non-blocking I/O model, meaning the adaptation of JavaScript to is easier and code can be executed quickly and simply. In comparison to traditional web-serving techniques where each request spawns a new thread, Node.js operates on a single- event . This helps servers respond in a non-blocking way and makes the server highly .

Node.js features built-in support for package management using Node Package Manager (NPM). It's a default tool that comes with every Node.js installation. NPM contains millions of free downloadable libraries according to specific requirements. Anyone can publish their own module to be listed in the NPM repository. Popular NPM modules include:

  • Express: A Sinatra-inspired web development framework (yes, there's a programming language named for Ol' Blue Eyes)
  • Hapi: A modular configuration-centric framework for building web and service applications
  • Connect: An extensible server framework that provides a collection of known as
  • Redis: Redis client library
  • Forever: One of the most common utilities for ensuring that a given script runs continuously
  • Moment: A JavaScript date library for , validating, manipulating, and formatting dates

Node.js uses

Node.js can be used for:

  • Backend for social media networking
  • Single-page application development
  • Data streaming
  • application development
  • Data-intensive real-time applications

It is not advisable to use Node.js for intensive applications.










LATEST ARTICLES
Texting & Chat Abbreviations

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top... Read More »

Huge List of Computer Certifications

Have you heard about a computer certification program but can't figure out if it's right for you? Use this handy list to help you decide. Read More »

STUDY GUIDES
Computer Architecture Study Guide

Computer architecture provides an introduction to system design basics for most computer science students. Read More »

Network Fundamentals Study Guide

Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »

The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the computing devices that we use... Read More »