Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Intro to Node.js
Thanos Polychronakis
September 10, 2014
Programming
1
120
Intro to Node.js
An introduction to Node.js
Thanos Polychronakis
September 10, 2014
Tweet
Share
More Decks by Thanos Polychronakis
See All by Thanos Polychronakis
Why Logging is Important
thanpolas
0
21
Intro to WebRTC
thanpolas
1
63
Classical Inheritance in Javascript
thanpolas
0
250
Testing Node.js Applications
thanpolas
1
110
Top Tier Remote
thanpolas
6
2.1k
Desktop apps with Electron
thanpolas
2
290
Error Handling in Javascript and Node.js
thanpolas
2
86
Classical Inheritance in Javascript
thanpolas
0
160
Getting Serious with remote
thanpolas
2
400
Other Decks in Programming
See All in Programming
코드 품질 1% 올리기
pluu
0
800
Go API クライアントの実装 〜Go Conference に載せれなかったTIPS〜
yyoshiki41
0
180
Develop your CI tools
xgouchet
2
180
あなたの会社の古いシステム、なんとかしませんか?~システム刷新から考えるDX化への道筋とバリエーション~/webinar20220420-grapecity
grapecity_dev
0
120
Groovy Roadmap
paulk
7
13k
バンドル最適化マニアクス at tfconf
mizchi
3
1.7k
ebpfとWASMに思いを馳せる2022 / techfeed-conference-2022-ebpf-wasm-amsy810
masayaaoyama
0
390
Angular's new Standalone Components: How Will They Affect My Architecture? @iJS London 2022
manfredsteyer
PRO
0
380
Jakarta EE 10 is Coming Your Way
ivargrimstad
0
1.8k
Keep Your Cache Always Fresh With Debezium
gunnarmorling
0
170
既存のプロジェクトにKMMを導入するための対応策
martysuzuki
2
280
About Type Syntax Proposal
quramy
1
840
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
238
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
What the flash - Photography Introduction
edds
61
9.8k
Atom: Resistance is Futile
akmur
255
20k
Designing Experiences People Love
moore
130
22k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
103
16k
Scaling GitHub
holman
451
140k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
Rails Girls Zürich Keynote
gr2m
86
12k
How to name files
jennybc
39
58k
Transcript
Intro to node.js @thanpolas Nov 2016 Revised
Core Concepts
Why Node? • Asynchronous • Robust • Blazingly FAST •
Javascript / Browserify / React • Largest growth year over year • Largest frontend tool belt
Asynchronous • Event Based Development • Real Time Applications •
Single Threaded • Non Blocking I/O
Robust • Very small footprint / stack • Hundreds thousand
production installations • Easily Scalable • Every major company is deploying node ◦ Yahoo ◦ Paypal ◦ eBay ◦ LinkedIn
Blazingly Fast • Superior V8 engine under the hood •
2x speed compared to Threaded langs ◦ PHP ◦ Java ◦ Ruby • Wins both in RPS and Response Time
Why Blazingly Fast source: http://strongloop.com/strongblog/node-js-is-faster-than-java/
Javascript & the Web • Javascript is the Lingua Franca
of the web • Huge & Growing developer pool • Minimum context switching for back / front • Websockets / Isomorphic applications
Largest Growth source: http://www.modulecounts.com/ • 95k NPM Modules • Grows
at 159m/day • Second is Maven with 73/d That was Jul 2014...
Largest Growth source: http://www.modulecounts.com/ • 351k NPM Modules • Grows
at 421/day This is Nov 2016
Largest Frontend Tool Belt
A Quick Look Under the Hood
Philosophy • No Frameworks • Small reusable libraries • NPM
• Open Source
A Typical Node Web App Your App Core HTTP ExpressJS
Middleware Pattern HTTP Request Express JS Matched Route CORS Middleware
CSRF Middleware Auth Middleware Main Task HTTP Response
Thank you! Thanasis Polychronakis @thanpolas thanpolas@gmail.com #SKGNode Meetup Group: http://bit.ly/skgnode
Slides: http://bit.ly/nodeIntro
Questions? Thanasis Polychronakis @thanpolas thanpolas@gmail.com #SKGNode Meetup Group: http://bit.ly/skgnode Slides:
http://bit.ly/nodeIntro