Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
What is Node.js?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hans Kristian Flaatten
February 02, 2017
Technology
48
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What is Node.js?
Introductory presentation for EVRY employees about what Node.js is and how it works.
Hans Kristian Flaatten
February 02, 2017
More Decks by Hans Kristian Flaatten
See All by Hans Kristian Flaatten
Continuous Deployment with Jenkins Pipelines
starefossen
0
65
Continuous Integrations with Jenkins
starefossen
0
74
Testing Node.js
starefossen
0
36
LeftPad Not Found
starefossen
0
92
Whats New In EcmaScript 2015 / ES6
starefossen
0
79
Experience with NoSQL at the Norwegian Trekking Asocciation
starefossen
0
57
Introduction to Geospatial Queries in MongoDB
starefossen
0
43
Åpen Tur- og Friluftsdata
starefossen
0
110
Reverse Engineering APIs from iOS and Android Apps
starefossen
0
72
Other Decks in Technology
See All in Technology
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
大型犬好きによるPugの紹介
yamanoku
1
160
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
140
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
USB PDを使ってスマホを労わりたい
raspython3
0
180
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
180
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
150
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Designing Experiences People Love
moore
143
24k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Mind Mapping
helmedeiros
1
400
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Code Review Best Practice
trishagee
74
20k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Transcript
What is Node.js? ! HANS KRISTIAN FLAATTEN
! Agenda OPTIONAL SUBHEADING • What is Node.js • Architecture
• Packages • Example • Q&A
! 3
! 4 Node.js Stats ! v6.9.5 latest stable versions 16M
" downloads/month
! 5 NPM Stats ! 400k public packages 18B "
downloads/month
! 6 Typical Use Cases Ê Real Time Systems "
Internet of Things # API backends
! • Microsoft • PayPall • IBM • Wallmart •
NASA • Netflix 7 Who uses Node.js • eBay • Uber • LinkedIn • Telenor • finn.no
! How Node.js Works "
! 9 Node.js architecture • Standard library / API •
http, dns, fs, etc. • Google’s v8 JavaScript engine • libeuv for OS bindings
! 10
! 11
! Packages $
! 13
! 14 npm package.json { "name": "my package", "version": "1.0.0",
"scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
! 15 npm package.json { "name": "my package", "version": "1.0.0",
"scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
! 16 npm package.json { "name": "my package", "version": "1.0.0",
"scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
! 17 npm install $ npm install
! Example program %
! 19 var express = require('express'); var app = express();
app.get('/', function(req, res){ res.send('Hello World'); }); app.listen(3000); console.log('Express started on port 3000');