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
230
1
Share
Intro to Node.js
An introduction to Node.js
Thanos Polychronakis
September 10, 2014
More Decks by Thanos Polychronakis
See All by Thanos Polychronakis
Why Logging is Important
thanpolas
0
170
Intro to WebRTC
thanpolas
1
140
Classical Inheritance in Javascript
thanpolas
0
400
Testing Node.js Applications
thanpolas
1
170
Top Tier Remote
thanpolas
6
2.5k
Desktop apps with Electron
thanpolas
2
370
Error Handling in Javascript and Node.js
thanpolas
2
160
Classical Inheritance in Javascript
thanpolas
0
430
Getting Serious with remote
thanpolas
2
620
Other Decks in Programming
See All in Programming
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
120
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
170
飯MCP
yusukebe
0
480
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
220
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
120
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
500
Java 21/25 Virtual Threads 소개
debop
0
320
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
560
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
840
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
250
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
7
1.2k
Featured
See All Featured
WENDY [Excerpt]
tessaabrams
9
37k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Are puppies a ranking factor?
jonoalderson
1
3.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
160
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
200
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
120
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Unsuck your backbone
ammeep
672
58k
The Spectacular Lies of Maps
axbom
PRO
1
680
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
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