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
220
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
160
Intro to WebRTC
thanpolas
1
140
Classical Inheritance in Javascript
thanpolas
0
400
Testing Node.js Applications
thanpolas
1
160
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
420
Getting Serious with remote
thanpolas
2
620
Other Decks in Programming
See All in Programming
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
480
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
1
110
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
490
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
180
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
510
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
200
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
6
1.6k
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
350
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
390
Oxlint JS plugins
kazupon
1
1.1k
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
120
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
370
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
A Soul's Torment
seathinner
5
2.4k
How to train your dragon (web standard)
notwaldorf
97
6.5k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Deep Space Network (abreviated)
tonyrice
0
79
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
380
Believing is Seeing
oripsolob
1
68
Making Projects Easy
brettharned
120
6.6k
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