SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
NodeJS
/henricavalcante
github facebook twitter
Julho 2015
What is NodeJS?
NodeJS is a runtime environment for running JavaScript application
outside the browser, so, JavaScript on your back-end.
JavaScript everywhere
Multiprotocol
Lightweight
Multiplatform
Non-blocking
Real Time Programming
Large and Active Community
Used by giants
Why the hell would I use Node.js?
Benefits
Under the 'v8' hood
How does it works?
request
request
request
request
request
request
request
thread
thread
thread
Tradicional
request
request
request
request
request
request
request
thread
NodeJS
Chat
Real-time Application
Streaming
Game Server
Rest api
IoT
High level concurrence
When should I use Node.js?
Silver Bullet? NO
Just a baby
Fev2009
Nov2014
io.js
born
Today
Mar2013node@0.11.x
Who uses?
source: https://github.com/joyent/node/wiki/Projects%2C-Applications%2C-and-Companies-Using-Node
288+
* 3rd most popular project on Github.
* Over 2 million downloads per month.
* 500+ meetups and conferences yearly.
* 100k Linkedin members with node skills.
* 160k modules on NPM.
How big is it?
Community
source: https://strongloop.com/wp-content/uploads/2015/02/final-node-infographic-3-18-15v1.pdf
NPM
• browserify
• pm2
• grunt
• karma
• express
• bower
• cordova
• gulp
• ionic
• forever
• less
• socket.io
• sass
• jade
Node Package Manager
...
var express = require('express');
var app = express();
app.get('/', function (req, res) {
res.send('Hello World!');
});
var server = app.listen(3000, function () {
var host = server.address().address;
var port = server.address().port;
console.log('Ex app listening at http://%s:%s', host, port);
});
var io = require('socket.io')(80);
var cfg = require('./config.json');
var tw = require('node-tweet-stream')(cfg);
tw.track('socket.io');
tw.track('javascript');
tw.on('tweet', function(tweet){
io.emit('tweet', tweet);
});
npm install
LiveCode

Weitere ähnliche Inhalte

Ähnlich wie Node js

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
 
NodeJS_Presentation
NodeJS_PresentationNodeJS_Presentation
NodeJS_Presentation
Arpita Patel
 
Where the developers_are_
Where the developers_are_Where the developers_are_
Where the developers_are_
James Governor
 

Ähnlich wie Node js (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
 
Introduction to NodeJS
Introduction to NodeJSIntroduction to NodeJS
Introduction to NodeJS
 
NodeJS and what is actually does
NodeJS and what is actually doesNodeJS and what is actually does
NodeJS and what is actually does
 
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
 
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
 
NET !!! A must have tool under your belt
NET !!! A must have tool under your beltNET !!! A must have tool under your belt
NET !!! A must have tool under your belt
 
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
 
Hire Leading Nodejs Development Service Providers in 2022.pptx
Hire Leading Nodejs Development Service Providers in 2022.pptxHire Leading Nodejs Development Service Providers in 2022.pptx
Hire Leading Nodejs Development Service Providers in 2022.pptx
 
What is node.js
What is node.jsWhat is node.js
What is node.js
 
Node.js use cases a comprehensive guide on how flagship industries can leve...
 Node.js use cases  a comprehensive guide on how flagship industries can leve... Node.js use cases  a comprehensive guide on how flagship industries can leve...
Node.js use cases a comprehensive guide on how flagship industries can leve...
 
Magnificent Meteor -By Dipali Vyas (PM Zestard Technologies) for GDG Ahmedaba...
Magnificent Meteor -By Dipali Vyas (PM Zestard Technologies) for GDG Ahmedaba...Magnificent Meteor -By Dipali Vyas (PM Zestard Technologies) for GDG Ahmedaba...
Magnificent Meteor -By Dipali Vyas (PM Zestard Technologies) for GDG Ahmedaba...
 
Analyzing Twitter with Node-RED
Analyzing Twitter with Node-RED Analyzing Twitter with Node-RED
Analyzing Twitter with Node-RED
 
Keynote - Open Source 101 - How JavaScript Became a Legitimate Open Source En...
Keynote - Open Source 101 - How JavaScript Became a Legitimate Open Source En...Keynote - Open Source 101 - How JavaScript Became a Legitimate Open Source En...
Keynote - Open Source 101 - How JavaScript Became a Legitimate Open Source En...
 
Node js
Node jsNode js
Node js
 
Node.js by Alex and Nalin
Node.js by Alex and NalinNode.js by Alex and Nalin
Node.js by Alex and Nalin
 
NodeJS VS Python
NodeJS VS PythonNodeJS VS Python
NodeJS VS Python
 
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
 
NodeJS_Presentation
NodeJS_PresentationNodeJS_Presentation
NodeJS_Presentation
 
Where the developers_are_
Where the developers_are_Where the developers_are_
Where the developers_are_
 

Mehr von Henri Cavalcante

Mehr von Henri Cavalcante (6)

From front-end to the hardware
From front-end to the hardwareFrom front-end to the hardware
From front-end to the hardware
 
Playing hardware with Firebase
Playing hardware with FirebasePlaying hardware with Firebase
Playing hardware with Firebase
 
IoT em tempo real com Firebase e JavaScript
IoT em tempo real com Firebase e JavaScriptIoT em tempo real com Firebase e JavaScript
IoT em tempo real com Firebase e JavaScript
 
Johnny-Five
Johnny-FiveJohnny-Five
Johnny-Five
 
MQTT
MQTTMQTT
MQTT
 
IoT4Devs (1)
IoT4Devs (1)IoT4Devs (1)
IoT4Devs (1)
 

Node js