SlideShare une entreprise Scribd logo
1  sur  16
22/4/2016 1
Whatisnode.js ??????????
Node.js is an open-source, cross-platform runtime environment for developing
server-side Web applications.
The runtime environment interprets JavaScript using Google's V8 JavaScript
engine.
Node.js was originally written in 2009 by Ryan Dahl.
2
huh…...Node.jsisjustanotherserverside
developmentplatform…...no!!
3
4
5
NODE.JSSEEMSBETTER……?
Node supports asynchronous I/O, based on events such as the completion of a
file read operation or a database query.
These events are handled with callback functions, which enable the
application to proceed while I/O is being performed.
The event loop handles these events.
Users of Node are free from worries of dead-locking the process, since there are
no locks.
Almost no function in Node directly performs I/O, so the process never blocks.
6
UsesofNode.js
7
ChallengesofInternetofThings???
Internet of Things, or IoT, will usher in significant challenges.
Scalability, for one thing, will present a whole new hurdle.
The sky is no longer the limit!! Data growth is essentially limitless.
And when anything and everything begins to acquire intelligence and require
data management, network control and design will need to change.
Across all of these areas and more, application development will have to keep
up.
App dev must become more rapid, agile, and flexible than ever. 8
HEREcomesthe SAVIOUR
9
Whynode.jsforInternetofThings…..??
Node.js is known for its speed, scalability and efficiency—making it great for
developing data-intensive, real-time applications.
This, of course, makes Node.js well-suited for the IoT, which is reliant on data-
intensive, real-time devices and applications.
Further, effective and secure communications and interactivity are of
paramount importance in the IoT, which is the very reason why APIs lend
themselves so well to the IoT model.
The single greatest and most widely accepted use case for Node.js is APIs. For
example, the first thing LinkedIn built in Node.js was its mobile API. 10
MoreonIoTandNodefriendship…..
There are many frameworks— including HapiTrack, ExpressTrack,
RestifyTrack designed for creating APIs in Node.js.
Even without a powerful pre-built solution, however, it takes only a few lines of
code to get an API started using Node.js.
Devices within the IoT, such as sensors, beacons and wearables generate large
floods of requests.
Node.js is well-suited for managing these requests via streams that can be
processed and monitored very efficiently. 11
NPM…….
It’s also important to note that the Node.js community has an affinity for IoT
technologies, and early adopters of IoT have a tendency to use Node.js for
experiments and products.
In fact, the Node Packaged Modules (NPM) repository is an indicator of the
association between these communities.
It includes more than 80 packages for the Arduino controller, over 15 for
Bluetooth Low Power, and multiple packages for the Pebble and Fitbit
wearable devices.
By the end of June 2014, the number of Node.js modules in NPM had grown to
over 80,000 and surpassed Maven Central modules, putting NPM’s stake in
12
Estimated 48% of developers use Node.js at IoT companies.
33% Healthcare startups are using Node.js
In the most in-demand IoT skills , Node.js showed an 86% growth.
13
14
References
http://www.programmableweb.com/news/why-node.js-ideal-internet-
things/analysis/2014/07/31
IoT skills
http://www.itcareerfinder.com/brain-food/blog/entry/hot-it-skills-in-the-internet-of-
things.html
www.nodejs.org
15
Thank You
Harsh Gajra (Software Developer)
Connect me @ https://in.linkedin.com/in/harsh-gajra-7607a778
Cere Labs Pvt. Ltd.
16

Contenu connexe

Tendances

Tendances (20)

Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
Node js
Node jsNode js
Node js
 
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
 
Node.js Express
Node.js  ExpressNode.js  Express
Node.js Express
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS
 
NodeJS guide for beginners
NodeJS guide for beginnersNodeJS guide for beginners
NodeJS guide for beginners
 
Nodejs presentation
Nodejs presentationNodejs presentation
Nodejs presentation
 
An introduction to React.js
An introduction to React.jsAn introduction to React.js
An introduction to React.js
 
Use Node.js to create a REST API
Use Node.js to create a REST APIUse Node.js to create a REST API
Use Node.js to create a REST API
 
Express js
Express jsExpress js
Express js
 
React js
React jsReact js
React js
 
Learn react-js
Learn react-jsLearn react-js
Learn react-js
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
Node.js Basics
Node.js Basics Node.js Basics
Node.js Basics
 
React JS
React JSReact JS
React JS
 
Introduction to angular with a simple but complete project
Introduction to angular with a simple but complete projectIntroduction to angular with a simple but complete project
Introduction to angular with a simple but complete project
 
Expressjs
ExpressjsExpressjs
Expressjs
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 

Similaire à Introduction to NodeJS

Node.js Web Development SEO Expert Bangladesh LTD.pdf
Node.js Web Development  SEO Expert Bangladesh LTD.pdfNode.js Web Development  SEO Expert Bangladesh LTD.pdf
Node.js Web Development SEO Expert Bangladesh LTD.pdf
Tasnim Jahan
 
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 and the MEAN Stack Building Full-Stack Web Applications.pdf
Node.js and the MEAN Stack Building Full-Stack Web Applications.pdfNode.js and the MEAN Stack Building Full-Stack Web Applications.pdf
Node.js and the MEAN Stack Building Full-Stack Web Applications.pdf
lubnayasminsebl
 
Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .pdf
Abanti Aazmin
 

Similaire à Introduction to NodeJS (20)

Definitive Guide to Powerful Nodejs Development.pptx
Definitive Guide to Powerful Nodejs Development.pptxDefinitive Guide to Powerful Nodejs Development.pptx
Definitive Guide to Powerful Nodejs Development.pptx
 
02 Node introduction
02 Node introduction02 Node introduction
02 Node introduction
 
Node.js Web Development SEO Expert Bangladesh LTD.pdf
Node.js Web Development  SEO Expert Bangladesh LTD.pdfNode.js Web Development  SEO Expert Bangladesh LTD.pdf
Node.js Web Development SEO Expert Bangladesh LTD.pdf
 
Node js Development Company - Aparajayah
Node js Development Company - AparajayahNode js Development Company - Aparajayah
Node js Development Company - Aparajayah
 
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 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
 
Why Node.js Is A Natural Fit For IoT Application?
Why Node.js Is A Natural Fit For IoT Application?  Why Node.js Is A Natural Fit For IoT Application?
Why Node.js Is A Natural Fit For IoT Application?
 
What is the reason linked in, yahoo, netflix, twitter, trello uses nodejs
What is the reason linked in, yahoo, netflix, twitter, trello uses nodejs What is the reason linked in, yahoo, netflix, twitter, trello uses nodejs
What is the reason linked in, yahoo, netflix, twitter, trello uses nodejs
 
Node.js Vs. Python: The Most Confusing Back-End Dilemma
Node.js Vs. Python: The Most Confusing Back-End DilemmaNode.js Vs. Python: The Most Confusing Back-End Dilemma
Node.js Vs. Python: The Most Confusing Back-End Dilemma
 
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
 
What is Node.js_ Pros and Cons of Node.js Web App Development
What is Node.js_ Pros and Cons of Node.js Web App DevelopmentWhat is Node.js_ Pros and Cons of Node.js Web App Development
What is Node.js_ Pros and Cons of Node.js Web App Development
 
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
What is Node.js_ Pros and Cons of Node.js Web App Development.pdfWhat is Node.js_ Pros and Cons of Node.js Web App Development.pdf
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
 
Node js
Node jsNode js
Node js
 
Why Choose Node.js For Your Next Web Development Project?
Why Choose Node.js For Your Next Web Development Project?Why Choose Node.js For Your Next Web Development Project?
Why Choose Node.js For Your Next Web Development Project?
 
The Enterprise Case for Node.js
The Enterprise Case for Node.jsThe Enterprise Case for Node.js
The Enterprise Case for Node.js
 
What are some misconceptions about node js
What are some misconceptions about node jsWhat are some misconceptions about node js
What are some misconceptions about node js
 
Node.js and the MEAN Stack Building Full-Stack Web Applications.pdf
Node.js and the MEAN Stack Building Full-Stack Web Applications.pdfNode.js and the MEAN Stack Building Full-Stack Web Applications.pdf
Node.js and the MEAN Stack Building Full-Stack Web Applications.pdf
 
Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .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 and .NET Core.pdf
Node.js and .NET Core.pdfNode.js and .NET Core.pdf
Node.js and .NET Core.pdf
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+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@
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+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...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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)
 

Introduction to NodeJS

  • 2. Whatisnode.js ?????????? Node.js is an open-source, cross-platform runtime environment for developing server-side Web applications. The runtime environment interprets JavaScript using Google's V8 JavaScript engine. Node.js was originally written in 2009 by Ryan Dahl. 2
  • 4. 4
  • 5. 5
  • 6. NODE.JSSEEMSBETTER……? Node supports asynchronous I/O, based on events such as the completion of a file read operation or a database query. These events are handled with callback functions, which enable the application to proceed while I/O is being performed. The event loop handles these events. Users of Node are free from worries of dead-locking the process, since there are no locks. Almost no function in Node directly performs I/O, so the process never blocks. 6
  • 8. ChallengesofInternetofThings??? Internet of Things, or IoT, will usher in significant challenges. Scalability, for one thing, will present a whole new hurdle. The sky is no longer the limit!! Data growth is essentially limitless. And when anything and everything begins to acquire intelligence and require data management, network control and design will need to change. Across all of these areas and more, application development will have to keep up. App dev must become more rapid, agile, and flexible than ever. 8
  • 10. Whynode.jsforInternetofThings…..?? Node.js is known for its speed, scalability and efficiency—making it great for developing data-intensive, real-time applications. This, of course, makes Node.js well-suited for the IoT, which is reliant on data- intensive, real-time devices and applications. Further, effective and secure communications and interactivity are of paramount importance in the IoT, which is the very reason why APIs lend themselves so well to the IoT model. The single greatest and most widely accepted use case for Node.js is APIs. For example, the first thing LinkedIn built in Node.js was its mobile API. 10
  • 11. MoreonIoTandNodefriendship….. There are many frameworks— including HapiTrack, ExpressTrack, RestifyTrack designed for creating APIs in Node.js. Even without a powerful pre-built solution, however, it takes only a few lines of code to get an API started using Node.js. Devices within the IoT, such as sensors, beacons and wearables generate large floods of requests. Node.js is well-suited for managing these requests via streams that can be processed and monitored very efficiently. 11
  • 12. NPM……. It’s also important to note that the Node.js community has an affinity for IoT technologies, and early adopters of IoT have a tendency to use Node.js for experiments and products. In fact, the Node Packaged Modules (NPM) repository is an indicator of the association between these communities. It includes more than 80 packages for the Arduino controller, over 15 for Bluetooth Low Power, and multiple packages for the Pebble and Fitbit wearable devices. By the end of June 2014, the number of Node.js modules in NPM had grown to over 80,000 and surpassed Maven Central modules, putting NPM’s stake in 12
  • 13. Estimated 48% of developers use Node.js at IoT companies. 33% Healthcare startups are using Node.js In the most in-demand IoT skills , Node.js showed an 86% growth. 13
  • 14. 14
  • 16. Thank You Harsh Gajra (Software Developer) Connect me @ https://in.linkedin.com/in/harsh-gajra-7607a778 Cere Labs Pvt. Ltd. 16