SlideShare a Scribd company logo
1 of 11
Download to read offline
Node.js
Author : ITVoyagers
Website : itvoyagers.in
Content
 Introduction
 Functions
 Features
 Application
 REPL
 Streams
 Working
 Example
2ITVoyagers - itvoyagers.in
Introduction
 Node.js was introduced in 2009.
 Node.js provides runtime environment for server to
run JavaScript.
 Node.js is an open source server environment.
 It is free and runs on all the platforms out there.
 Node.js is built Google Chrome’s V8 JavaScript engine.
 Node.js uses asynchronous programming.
 Node.js uses single-threading, non-blocking
mechanisms which makes it memory efficient.
3ITVoyagers - itvoyagers.in
Functions
 Node.js creates dynamic responses, most often dynamic
webpage contents depending upon the client’s request.
 It can perform operations like create, open, delete, read,
write and close on files in server.
 It can add, delete and modify data in database.
4ITVoyagers - itvoyagers.in
Features
 Node.js executes its code in no time, which makes it
very fast for the server.
 Application developed on node.js never buffers.
 Node.js is asynchronous and event driven, which
means it will never wait for API to return data, It will
move to next. Notification mechanism in node.js
helps server to get data from previousAPI.
 It is single-thread model with event looping, which
makes it scalable.
5ITVoyagers - itvoyagers.in
Application
 JSON API based application can created using
node.js.
 Single page applications.
 Data Intensive Real Time application
 I/O bound applications.
6ITVoyagers - itvoyagers.in
Node.js REPL
 REPL is an environment.
 Read
◦ Accepts input from users and stores it in memory.
 Evaluate
◦ Evaluates the input.
 Print
◦ Prints the final result.
 Loop
◦ Loop through above process until users stops it.
7ITVoyagers - itvoyagers.in
Streams
 Streams are objects which allows us to read/write data
to a destination in continuous manner.There are 4 type
of it.
 Readable – Used for reading.
 Write – Used for writing.
 Transform – Used for duplex stream where output is
computed based on input.
 Duplex – Used for both read and write.
8ITVoyagers - itvoyagers.in
Working
 Node.js file is saved using “.js” extension.
 Node.js file runs on server an wait for the HTTP
request from the client.
 It holds a port on which it runs and listen to client’s
requests.
 It has multiple sections which get executed on bases of
client requests.
 It reads the query strings and create dynamic response
page according to it and sends it.
9ITVoyagers - itvoyagers.in
Example
 Simple example
Credits : nodejs.org
10ITVoyagers - itvoyagers.in
Follow us on
https://www.facebook.com/itvoyagers/
https://twitter.com/ITVoyagers
https://www.instagram.com/itvoyagers_official/
https://www.linkedin.com/in/itvoyagers-vgitcs-673642172/
https://in.pinterest.com/itvoyagers/
https://www.reddit.com/user/ITVoyagers
ITVoyagers OFFICIAL
https://www.slideshare.net/vgitcsofficialedupoi
11ITVoyagers - itvoyagers.in

More Related Content

What's hot

Consolidating Infrastructure with Azure Kubernetes Service
Consolidating Infrastructure with Azure Kubernetes ServiceConsolidating Infrastructure with Azure Kubernetes Service
Consolidating Infrastructure with Azure Kubernetes ServiceEng Teong Cheah
 
Servlets & jdbc
Servlets & jdbcServlets & jdbc
Servlets & jdbcSiva Priya
 
Reactive Architecture (PHPCon PL 2015)
Reactive Architecture (PHPCon PL 2015)Reactive Architecture (PHPCon PL 2015)
Reactive Architecture (PHPCon PL 2015)Marek Sokół
 
Couchbase - NoSQL for you! (SDP 2014)
Couchbase - NoSQL for you! (SDP 2014)Couchbase - NoSQL for you! (SDP 2014)
Couchbase - NoSQL for you! (SDP 2014)SirKetchup
 
Billing system using node Presentation
Billing system using node PresentationBilling system using node Presentation
Billing system using node PresentationSusanta Chakraborty
 
Building Services with WSO2 Microservices framework for Java and WSO2 AS
Building Services with WSO2 Microservices framework for Java and WSO2 ASBuilding Services with WSO2 Microservices framework for Java and WSO2 AS
Building Services with WSO2 Microservices framework for Java and WSO2 ASKasun Gajasinghe
 
Enterprise java unit-2_chapter-3
Enterprise  java unit-2_chapter-3Enterprise  java unit-2_chapter-3
Enterprise java unit-2_chapter-3sandeep54552
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...Kasun Gajasinghe
 
TechDays 2015 The Azure Sightseeing Tour
TechDays 2015 The Azure Sightseeing TourTechDays 2015 The Azure Sightseeing Tour
TechDays 2015 The Azure Sightseeing TourErik van Appeldoorn
 
AngularJS and REST - #omrs15 tutorial
AngularJS and REST - #omrs15 tutorialAngularJS and REST - #omrs15 tutorial
AngularJS and REST - #omrs15 tutorialSaptarshi Purkayastha
 
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)Movel
 
Building Massive AngularJS Apps
Building Massive AngularJS AppsBuilding Massive AngularJS Apps
Building Massive AngularJS AppsGordon Bockus
 
Supporting Stateful and Stateless Clients
Supporting Stateful and Stateless ClientsSupporting Stateful and Stateless Clients
Supporting Stateful and Stateless ClientsJoyce Stack
 

What's hot (14)

Consolidating Infrastructure with Azure Kubernetes Service
Consolidating Infrastructure with Azure Kubernetes ServiceConsolidating Infrastructure with Azure Kubernetes Service
Consolidating Infrastructure with Azure Kubernetes Service
 
Servlets & jdbc
Servlets & jdbcServlets & jdbc
Servlets & jdbc
 
Reactive Architecture (PHPCon PL 2015)
Reactive Architecture (PHPCon PL 2015)Reactive Architecture (PHPCon PL 2015)
Reactive Architecture (PHPCon PL 2015)
 
APM 2 - Middle East Workshop
APM 2 - Middle East WorkshopAPM 2 - Middle East Workshop
APM 2 - Middle East Workshop
 
Couchbase - NoSQL for you! (SDP 2014)
Couchbase - NoSQL for you! (SDP 2014)Couchbase - NoSQL for you! (SDP 2014)
Couchbase - NoSQL for you! (SDP 2014)
 
Billing system using node Presentation
Billing system using node PresentationBilling system using node Presentation
Billing system using node Presentation
 
Building Services with WSO2 Microservices framework for Java and WSO2 AS
Building Services with WSO2 Microservices framework for Java and WSO2 ASBuilding Services with WSO2 Microservices framework for Java and WSO2 AS
Building Services with WSO2 Microservices framework for Java and WSO2 AS
 
Enterprise java unit-2_chapter-3
Enterprise  java unit-2_chapter-3Enterprise  java unit-2_chapter-3
Enterprise java unit-2_chapter-3
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
 
TechDays 2015 The Azure Sightseeing Tour
TechDays 2015 The Azure Sightseeing TourTechDays 2015 The Azure Sightseeing Tour
TechDays 2015 The Azure Sightseeing Tour
 
AngularJS and REST - #omrs15 tutorial
AngularJS and REST - #omrs15 tutorialAngularJS and REST - #omrs15 tutorial
AngularJS and REST - #omrs15 tutorial
 
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)
Scaling AngularJS: Enterprise SOA on the MEAN Stack (Responsive Web & Mobile)
 
Building Massive AngularJS Apps
Building Massive AngularJS AppsBuilding Massive AngularJS Apps
Building Massive AngularJS Apps
 
Supporting Stateful and Stateless Clients
Supporting Stateful and Stateless ClientsSupporting Stateful and Stateless Clients
Supporting Stateful and Stateless Clients
 

Similar to Nodejs - ITVoyagers

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 scriptGhulamHussain799241
 
Kalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect GuideKalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect GuideKalp Corporate
 
Building Applications With the MEAN Stack
Building Applications With the MEAN StackBuilding Applications With the MEAN Stack
Building Applications With the MEAN StackNir Noy
 
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.pdfDarshanaMallick
 
Node.js Web Development.pdf
Node.js Web Development.pdfNode.js Web Development.pdf
Node.js Web Development.pdfSonia Simi
 
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 itFibonalabs
 
Node Session - 1
Node Session - 1Node Session - 1
Node Session - 1Bhavin Shah
 
The Difference Between Node.js and React.js.pdf
The Difference  Between Node.js and React.js.pdfThe Difference  Between Node.js and React.js.pdf
The Difference Between Node.js and React.js.pdfTutorialsFreak
 
The Positive and Negative Aspects of Node.js Web App Development.pdf
The Positive and Negative Aspects of Node.js Web App Development.pdfThe Positive and Negative Aspects of Node.js Web App Development.pdf
The Positive and Negative Aspects of Node.js Web App Development.pdfWDP Technologies
 
8 Best Ways To Boost Node.js Performance Of Your Application!.pdf
8 Best Ways To Boost Node.js Performance Of Your Application!.pdf8 Best Ways To Boost Node.js Performance Of Your Application!.pdf
8 Best Ways To Boost Node.js Performance Of Your Application!.pdfSufalam Technologies
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developerEdureka!
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperEdureka!
 

Similar to Nodejs - ITVoyagers (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
 
Best node js course
Best node js courseBest node js course
Best node js course
 
Kalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect GuideKalp Corporate Node JS Perfect Guide
Kalp Corporate Node JS Perfect Guide
 
Building Applications With the MEAN Stack
Building Applications With the MEAN StackBuilding Applications With the MEAN Stack
Building Applications With the MEAN Stack
 
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
 
Node.js Web Development.pdf
Node.js Web Development.pdfNode.js Web Development.pdf
Node.js Web Development.pdf
 
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 Session - 1
Node Session - 1Node Session - 1
Node Session - 1
 
Nodejs
NodejsNodejs
Nodejs
 
NodeJS and what is actually does
NodeJS and what is actually doesNodeJS and what is actually does
NodeJS and what is actually does
 
node.js
node.jsnode.js
node.js
 
The Difference Between Node.js and React.js.pdf
The Difference  Between Node.js and React.js.pdfThe Difference  Between Node.js and React.js.pdf
The Difference Between Node.js and React.js.pdf
 
The Positive and Negative Aspects of Node.js Web App Development.pdf
The Positive and Negative Aspects of Node.js Web App Development.pdfThe Positive and Negative Aspects of Node.js Web App Development.pdf
The Positive and Negative Aspects of Node.js Web App Development.pdf
 
Node.js.pdf
Node.js.pdfNode.js.pdf
Node.js.pdf
 
Node js internal
Node js internalNode js internal
Node js internal
 
Top java script frameworks ppt
Top java script frameworks pptTop java script frameworks ppt
Top java script frameworks ppt
 
8 Best Ways To Boost Node.js Performance Of Your Application!.pdf
8 Best Ways To Boost Node.js Performance Of Your Application!.pdf8 Best Ways To Boost Node.js Performance Of Your Application!.pdf
8 Best Ways To Boost Node.js Performance Of Your Application!.pdf
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developer
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js Developer
 
Node js
Node jsNode js
Node js
 

More from ITVoyagers

Theory building - Chapter 3
Theory building - Chapter 3Theory building - Chapter 3
Theory building - Chapter 3ITVoyagers
 
Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2ITVoyagers
 
The role of business research - Chapter 1
The role of business research - Chapter 1The role of business research - Chapter 1
The role of business research - Chapter 1ITVoyagers
 
XMPP, HTTP and UPnP
XMPP, HTTP and UPnPXMPP, HTTP and UPnP
XMPP, HTTP and UPnPITVoyagers
 
FPGA, GPU and ALU
FPGA, GPU and ALUFPGA, GPU and ALU
FPGA, GPU and ALUITVoyagers
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersITVoyagers
 
Constructor in Java - ITVoyagers
Constructor in Java - ITVoyagersConstructor in Java - ITVoyagers
Constructor in Java - ITVoyagersITVoyagers
 

More from ITVoyagers (8)

Theory building - Chapter 3
Theory building - Chapter 3Theory building - Chapter 3
Theory building - Chapter 3
 
Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2
 
The role of business research - Chapter 1
The role of business research - Chapter 1The role of business research - Chapter 1
The role of business research - Chapter 1
 
XMPP, HTTP and UPnP
XMPP, HTTP and UPnPXMPP, HTTP and UPnP
XMPP, HTTP and UPnP
 
MQTT and CoAP
MQTT and CoAPMQTT and CoAP
MQTT and CoAP
 
FPGA, GPU and ALU
FPGA, GPU and ALUFPGA, GPU and ALU
FPGA, GPU and ALU
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagers
 
Constructor in Java - ITVoyagers
Constructor in Java - ITVoyagersConstructor in Java - ITVoyagers
Constructor in Java - ITVoyagers
 

Recently uploaded

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Recently uploaded (20)

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

Nodejs - ITVoyagers

  • 2. Content  Introduction  Functions  Features  Application  REPL  Streams  Working  Example 2ITVoyagers - itvoyagers.in
  • 3. Introduction  Node.js was introduced in 2009.  Node.js provides runtime environment for server to run JavaScript.  Node.js is an open source server environment.  It is free and runs on all the platforms out there.  Node.js is built Google Chrome’s V8 JavaScript engine.  Node.js uses asynchronous programming.  Node.js uses single-threading, non-blocking mechanisms which makes it memory efficient. 3ITVoyagers - itvoyagers.in
  • 4. Functions  Node.js creates dynamic responses, most often dynamic webpage contents depending upon the client’s request.  It can perform operations like create, open, delete, read, write and close on files in server.  It can add, delete and modify data in database. 4ITVoyagers - itvoyagers.in
  • 5. Features  Node.js executes its code in no time, which makes it very fast for the server.  Application developed on node.js never buffers.  Node.js is asynchronous and event driven, which means it will never wait for API to return data, It will move to next. Notification mechanism in node.js helps server to get data from previousAPI.  It is single-thread model with event looping, which makes it scalable. 5ITVoyagers - itvoyagers.in
  • 6. Application  JSON API based application can created using node.js.  Single page applications.  Data Intensive Real Time application  I/O bound applications. 6ITVoyagers - itvoyagers.in
  • 7. Node.js REPL  REPL is an environment.  Read ◦ Accepts input from users and stores it in memory.  Evaluate ◦ Evaluates the input.  Print ◦ Prints the final result.  Loop ◦ Loop through above process until users stops it. 7ITVoyagers - itvoyagers.in
  • 8. Streams  Streams are objects which allows us to read/write data to a destination in continuous manner.There are 4 type of it.  Readable – Used for reading.  Write – Used for writing.  Transform – Used for duplex stream where output is computed based on input.  Duplex – Used for both read and write. 8ITVoyagers - itvoyagers.in
  • 9. Working  Node.js file is saved using “.js” extension.  Node.js file runs on server an wait for the HTTP request from the client.  It holds a port on which it runs and listen to client’s requests.  It has multiple sections which get executed on bases of client requests.  It reads the query strings and create dynamic response page according to it and sends it. 9ITVoyagers - itvoyagers.in
  • 10. Example  Simple example Credits : nodejs.org 10ITVoyagers - itvoyagers.in