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
99
Intro to WebRTC
thanpolas
1
76
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
320
Error Handling in Javascript and Node.js
thanpolas
2
110
Classical Inheritance in Javascript
thanpolas
0
330
Getting Serious with remote
thanpolas
2
530
Other Decks in Programming
See All in Programming
ドメインイベント増えすぎ問題
h0r15h0
2
570
Rubyでつくるパケットキャプチャツール
ydah
0
170
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
선언형 UI에서의 상태관리
l2hyunwoo
0
270
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
200
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
情報漏洩させないための設計
kubotak
5
1.3k
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
400
ASP.NET Core の OpenAPIサポート
h455h1
0
120
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
450
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
89
5.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
RailsConf 2023
tenderlove
29
970
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Building Applications with DynamoDB
mza
93
6.2k
Producing Creativity
orderedlist
PRO
343
39k
It's Worth the Effort
3n
183
28k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
What's in a price? How to price your products and services
michaelherold
244
12k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Into the Great Unknown - MozCon
thekraken
34
1.6k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
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