Node - Js Server Side Javascript
Node - Js Server Side Javascript
Js
Server Side Javascript
Introduction Node.js
Node.js was created by Ryan Dahl starting
in 2009, and its growth is sponsored by
Joyent, his employer.
Node JS is a JavaScript framework
invented to execute the code by interacting
with the input and output.
Node's goal is to provide an easy way to
build scalable network programs.
What is node.js ?
Node.js uses an event-driven, non-blocking I/O
model that makes it lightweight and efficient,
perfect for data-intensive real-time applications
that run across distributed devices.
Node.js Runs on Google's V8 JavaScript Engine
Node.js programs are executed by V8 Java script
engine the same used by Google chrome
browser.
Node.js is used to build server side applications.
The Node.js platform provides abstractions that
make it easier to create event-driven applications.
Node.js scales on a per processor basis as well as
across servers.
Why to use Node?
Firstly, for performance and scalability.
Node can handle thousands of requests
concurrently where PHP would just
collapse.
Today it is used to power websites for
LinkedIn, New York Times, PayPal, eBay,
Walmart, Yahoo!, Intuit, Voxer and Uber,
among other companies.
What is unique about
Node.js?
1. JavaScript used in client-side but node.js
puts the JavaScript on server-side thus
making communication between client and
server will happen in same language.