Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Node.js
Search
Thanos Polychronakis
September 10, 2014
Programming
1
200
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
95
Intro to WebRTC
thanpolas
1
75
Classical Inheritance in Javascript
thanpolas
0
330
Testing Node.js Applications
thanpolas
1
130
Top Tier Remote
thanpolas
6
2.4k
Desktop apps with Electron
thanpolas
2
310
Error Handling in Javascript and Node.js
thanpolas
2
110
Classical Inheritance in Javascript
thanpolas
0
330
Getting Serious with remote
thanpolas
2
520
Other Decks in Programming
See All in Programming
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
Go の GC の不得意な部分を克服したい
taiyow
3
830
情報漏洩させないための設計
kubotak
4
770
ドメインイベント増えすぎ問題
h0r15h0
2
410
fs2-io を試してたらバグを見つけて直した話
chencmd
0
240
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
530
Zoneless Testing
rainerhahnekamp
0
120
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
160
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
150
快速入門可觀測性
blueswen
0
400
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
2
130
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1031
460k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
KATA
mclloyd
29
14k
Testing 201, or: Great Expectations
jmmastey
41
7.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
How STYLIGHT went responsive
nonsquared
96
5.2k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
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
[email protected]
#SKGNode Meetup Group: http://bit.ly/skgnode
Slides: http://bit.ly/nodeIntro
Questions? Thanasis Polychronakis @thanpolas
[email protected]
#SKGNode Meetup Group: http://bit.ly/skgnode Slides:
http://bit.ly/nodeIntro