2. What is node Js?
Developed by Ryan Dahl in 2009.
Runtime Environment and Library for running javascript
application outside of browser
Server side programming framework.
3. Features of node Js
Very Fast : Google ChromeV8 Java Script Engine.
Single Threaded but Highly Scalable : Single threaded model
with event looping
No Buffering
Asynchronous and Event Driven
open source
Non-Blocking
4. Where to use node Js?
Streaming or Event-based real-time applications like:
Chat Applications
Game Server
Ad Server
Streaming Servers
High level of concurrency but little dedicated CPU time.
writing JavaScript code everywhere.
5. Node in the Wild
Microsoft
Yahoo!
Linkedin
eBay
Cloud9
The NewYork Times
6. NPM (Node Package Manager)
Online Repositories for node.js package/module
Command line utility to install node js package.
7. Event-driven
Main loop that listens for every events and triggers a
callback function when those event detected.
run in one process — one thread.
11. Socket.io
Socket.IO enables real-time bidirectional event-based
communication.
It works on every platform, browser or device, focusing
equally on reliability and speed.
like :
Chat Application
Binary Streaming
Document Collaboration
13. Install Node
Download node.js source code from below website.
https://nodejs.org/en/download/
Install it
Check version on Terminal(Mac) or Command
line(Windows).