SlideShare una empresa de Scribd logo
1 de 11
Node Js
A platform for scalable network applications...
By M. Riyaz
Topics
 Introduction.
 What is Node Js?
 Why Node Js?
 Begin with node js.
 Node Js vs SignalR.
 Making Believable.
 Tough Part.
Introduction
What is Node Js?
 Node.js is server side program that is based on v8 JavaScript engine.
 Node.js is designed to write scalable Internet applications.
 Node.js programs are written in server side JavaScript.
 Node JS contains a built-in http server. This http server can be control
using server side JavaScript.
Using this can develop simple client-server based web application also.
Introduction : How its work?
On Special Demand :
If the fast food joint followed a traditional thread-based model, you'd order your
food and wait in line until you received it. The person behind you wouldn't be
able to order until your order was done. In an event-driven model, you order
your food and then get out of line to wait. Everyone else is then free to order.
Why Node Js?
 Node.js is well suited for applications that have a lot of concurrent connections
and each request only needs very few CPU cycles, because the event loop (with all
the other clients) is blocked during execution of a function.
 If server side application code requires very less cpu cycle. In other world
application are doing non blocking operation and does not have heavy algorithm or
Job which consumes lots of CPU cycle. then you can use Node Js.
 If you are Java Script programmer and comfortable in writing Single Threaded
code just like client side JS.
 Node JS can be use to serve client site scripts as css,javascript,images etc.
Using this web server load will be reduce hence get high performance application.
Begin with Node Js?
var http = require("http"); //Modules (already build libraries)
http.createServer(function(request, response) {
response.writeHeader(200, {"Content-Type": "text/plain"});
response.write("Hello Team from Node.Js!!! Now believed, He can…");
response.end();
}).listen(7777); //It can be anything. But shouldn’t be already on IIS
//Make a call for define port using localhost in your web browser.
Browser > localhost:7777
Node js vs SignalR
Node Js (*)
 This is a server side software
system.
 Programs are written on the
server side in JS.
 This is a packaged compilation of
G. v8 engine, core lib written in JS
 Using Modules & JS.
 Need to write code for specific
call.
 Supported OS : Mac, Linux,
Solaris, Windows*
SignalR (Microsoft)
 This is a server side software
system.
 Programs are written on the
server side in C#.
 SignalR is a library for Asp. Net
(auto. best transport given the
clients )
 Using Hub & Persistent Conn.
 Provide hooks for connected.
 Supported OS :  Cool
Making Believable 
1. Bottom Level (Fresher’s program )
2. Middle Level (Push type notification)
3. Top Level (Live video streaming with mobile cam)
Thank you!

Más contenido relacionado

La actualidad más candente

Nodejs - Building a RESTful API
Nodejs - Building a RESTful APINodejs - Building a RESTful API
Nodejs - Building a RESTful API
Sang Cù
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
Ben Lin
 

La actualidad más candente (20)

Rest api with node js and express
Rest api with node js and expressRest api with node js and express
Rest api with node js and express
 
NodeJS and what is actually does
NodeJS and what is actually doesNodeJS and what is actually does
NodeJS and what is actually does
 
Angular js introduction
Angular js introductionAngular js introduction
Angular js introduction
 
Nodejs - Building a RESTful API
Nodejs - Building a RESTful APINodejs - Building a RESTful API
Nodejs - Building a RESTful API
 
Nodejs
NodejsNodejs
Nodejs
 
Nodejs - ITVoyagers
Nodejs - ITVoyagersNodejs - ITVoyagers
Nodejs - ITVoyagers
 
Node.js with Express
Node.js with ExpressNode.js with Express
Node.js with Express
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
 
NodeJS ecosystem
NodeJS ecosystemNodeJS ecosystem
NodeJS ecosystem
 
Node js
Node jsNode js
Node js
 
Best node js course
Best node js courseBest node js course
Best node js course
 
Introduction to node.js by jiban
Introduction to node.js by jibanIntroduction to node.js by jiban
Introduction to node.js by jiban
 
Complete MVC on NodeJS
Complete MVC on NodeJSComplete MVC on NodeJS
Complete MVC on NodeJS
 
Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...
Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...
Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...
 
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
JavaScript as a Server side language (NodeJS): JSConf 2011, DhakaJavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
 
Nodejs
NodejsNodejs
Nodejs
 
Node js
Node jsNode js
Node js
 
Node js training (1)
Node js training (1)Node js training (1)
Node js training (1)
 
MEAN Stack - Google Developers Live 10/03/2013
MEAN Stack - Google Developers Live 10/03/2013MEAN Stack - Google Developers Live 10/03/2013
MEAN Stack - Google Developers Live 10/03/2013
 
Nodejs
NodejsNodejs
Nodejs
 

Destacado

Destacado (12)

Twitter Bootstrap
Twitter BootstrapTwitter Bootstrap
Twitter Bootstrap
 
Business considerations for node.js applications
Business considerations for node.js applicationsBusiness considerations for node.js applications
Business considerations for node.js applications
 
Building a Windows Store App for SharePoint 2013
Building a Windows Store App for SharePoint 2013Building a Windows Store App for SharePoint 2013
Building a Windows Store App for SharePoint 2013
 
Samsung ARTIK Cloud and Genuino MKR100
Samsung ARTIK Cloud and Genuino MKR100Samsung ARTIK Cloud and Genuino MKR100
Samsung ARTIK Cloud and Genuino MKR100
 
A Cloud-Centric Ecosystem Approach to Ease IoT Development
A Cloud-Centric Ecosystem Approach to Ease IoT DevelopmentA Cloud-Centric Ecosystem Approach to Ease IoT Development
A Cloud-Centric Ecosystem Approach to Ease IoT Development
 
Node.js Anti-Patterns and bad practices
Node.js Anti-Patterns and bad practicesNode.js Anti-Patterns and bad practices
Node.js Anti-Patterns and bad practices
 
WebRTC in the Real World
WebRTC in the Real WorldWebRTC in the Real World
WebRTC in the Real World
 
Golden Mean in Design
Golden Mean in DesignGolden Mean in Design
Golden Mean in Design
 
IoT開發平台NodeMCU
IoT開發平台NodeMCUIoT開發平台NodeMCU
IoT開發平台NodeMCU
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction
 
Anatomy of a Modern Node.js Application Architecture
Anatomy of a Modern Node.js Application Architecture Anatomy of a Modern Node.js Application Architecture
Anatomy of a Modern Node.js Application Architecture
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqttNode mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
 

Similar a Node.js

Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .pdf
Abanti Aazmin
 
Node Js Non-blocking or asynchronous Blocking or synchronous.pdf
Node Js Non-blocking or asynchronous  Blocking or synchronous.pdfNode Js Non-blocking or asynchronous  Blocking or synchronous.pdf
Node Js Non-blocking or asynchronous Blocking or synchronous.pdf
DarshanaMallick
 
Node.js.pdf
Node.js.pdfNode.js.pdf
Node.js.pdf
gulfam ali
 

Similar a Node.js (20)

Difference between Node.js vs Java script
Difference between Node.js vs Java scriptDifference between Node.js vs Java script
Difference between Node.js vs Java script
 
Kalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect GuideKalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect Guide
 
Nodejs
NodejsNodejs
Nodejs
 
Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .pdf
 
Proposal
ProposalProposal
Proposal
 
Node Js Non-blocking or asynchronous Blocking or synchronous.pdf
Node Js Non-blocking or asynchronous  Blocking or synchronous.pdfNode Js Non-blocking or asynchronous  Blocking or synchronous.pdf
Node Js Non-blocking or asynchronous Blocking or synchronous.pdf
 
All You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdfAll You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdf
 
Node JS reverse shell
Node JS reverse shellNode JS reverse shell
Node JS reverse shell
 
Node
NodeNode
Node
 
What is Node.js_ Where, When & How To Use It.pdf
What is Node.js_ Where, When & How To Use It.pdfWhat is Node.js_ Where, When & How To Use It.pdf
What is Node.js_ Where, When & How To Use It.pdf
 
Node js Introduction
Node js IntroductionNode js Introduction
Node js Introduction
 
Node.js.pdf
Node.js.pdfNode.js.pdf
Node.js.pdf
 
Beginners Node.js
Beginners Node.jsBeginners Node.js
Beginners Node.js
 
Node.js Web Development.pdf
Node.js Web Development.pdfNode.js Web Development.pdf
Node.js Web Development.pdf
 
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
 
Node.js and Enterprise Web Apps: Know all About it
Node.js and Enterprise Web Apps: Know all About itNode.js and Enterprise Web Apps: Know all About it
Node.js and Enterprise Web Apps: Know all About it
 
Node J pdf.docx
Node J pdf.docxNode J pdf.docx
Node J pdf.docx
 
Node J pdf.docx
Node J pdf.docxNode J pdf.docx
Node J pdf.docx
 
Intro to Sails.js
Intro to Sails.jsIntro to Sails.js
Intro to Sails.js
 
Getting started with node JS
Getting started with node JSGetting started with node JS
Getting started with node JS
 

Más de Techizzaa (6)

Chronicles Of Garbage Collection (GC)
Chronicles Of Garbage Collection (GC)Chronicles Of Garbage Collection (GC)
Chronicles Of Garbage Collection (GC)
 
ORM Tools
ORM ToolsORM Tools
ORM Tools
 
Umbraco CMS
Umbraco CMSUmbraco CMS
Umbraco CMS
 
iPhone Development
iPhone DevelopmentiPhone Development
iPhone Development
 
Android app development
Android app developmentAndroid app development
Android app development
 
Introducing mono & xamarin
Introducing mono & xamarinIntroducing mono & xamarin
Introducing mono & xamarin
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Node.js

  • 1. Node Js A platform for scalable network applications... By M. Riyaz
  • 2. Topics  Introduction.  What is Node Js?  Why Node Js?  Begin with node js.  Node Js vs SignalR.  Making Believable.  Tough Part.
  • 4. What is Node Js?  Node.js is server side program that is based on v8 JavaScript engine.  Node.js is designed to write scalable Internet applications.  Node.js programs are written in server side JavaScript.  Node JS contains a built-in http server. This http server can be control using server side JavaScript. Using this can develop simple client-server based web application also.
  • 5. Introduction : How its work? On Special Demand : If the fast food joint followed a traditional thread-based model, you'd order your food and wait in line until you received it. The person behind you wouldn't be able to order until your order was done. In an event-driven model, you order your food and then get out of line to wait. Everyone else is then free to order.
  • 6. Why Node Js?  Node.js is well suited for applications that have a lot of concurrent connections and each request only needs very few CPU cycles, because the event loop (with all the other clients) is blocked during execution of a function.  If server side application code requires very less cpu cycle. In other world application are doing non blocking operation and does not have heavy algorithm or Job which consumes lots of CPU cycle. then you can use Node Js.  If you are Java Script programmer and comfortable in writing Single Threaded code just like client side JS.  Node JS can be use to serve client site scripts as css,javascript,images etc. Using this web server load will be reduce hence get high performance application.
  • 7. Begin with Node Js? var http = require("http"); //Modules (already build libraries) http.createServer(function(request, response) { response.writeHeader(200, {"Content-Type": "text/plain"}); response.write("Hello Team from Node.Js!!! Now believed, He can…"); response.end(); }).listen(7777); //It can be anything. But shouldn’t be already on IIS //Make a call for define port using localhost in your web browser. Browser > localhost:7777
  • 8. Node js vs SignalR Node Js (*)  This is a server side software system.  Programs are written on the server side in JS.  This is a packaged compilation of G. v8 engine, core lib written in JS  Using Modules & JS.  Need to write code for specific call.  Supported OS : Mac, Linux, Solaris, Windows* SignalR (Microsoft)  This is a server side software system.  Programs are written on the server side in C#.  SignalR is a library for Asp. Net (auto. best transport given the clients )  Using Hub & Persistent Conn.  Provide hooks for connected.  Supported OS :  Cool
  • 9. Making Believable  1. Bottom Level (Fresher’s program ) 2. Middle Level (Push type notification) 3. Top Level (Live video streaming with mobile cam)
  • 10.