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
81
Intro to WebRTC
thanpolas
1
69
Classical Inheritance in Javascript
thanpolas
0
310
Testing Node.js Applications
thanpolas
1
120
Top Tier Remote
thanpolas
6
2.4k
Desktop apps with Electron
thanpolas
2
300
Error Handling in Javascript and Node.js
thanpolas
2
100
Classical Inheritance in Javascript
thanpolas
0
290
Getting Serious with remote
thanpolas
2
490
Other Decks in Programming
See All in Programming
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
最近追加した型の紹介とその振り返り
aki19035vc
0
170
継続的な活動で築く地方エンジニアの道
myamashii
2
350
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
はしめてのプログラミングとロボット制御
watawatavoltage
0
290
3 Effective Rules for Success with Signals in Angular
manfredsteyer
PRO
0
120
CSC307 Lecture 06
javiergs
PRO
0
360
Advanced App Shrinking Techniques
cbeyls
2
150
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
149
45k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
Building Flexible Design Systems
yeseniaperezcruz
323
37k
Building Your Own Lightsaber
phodgson
101
5.9k
Optimising Largest Contentful Paint
csswizardry
18
2.6k
GraphQLとの向き合い方2022年版
quramy
36
13k
Raft: Consensus for Rubyists
vanstee
134
6.5k
How GitHub (no longer) Works
holman
305
140k
Docker and Python
trallard
37
2.9k
Documentation Writing (for coders)
carmenintech
63
4.2k
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