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
86
Intro to WebRTC
thanpolas
1
69
Classical Inheritance in Javascript
thanpolas
0
320
Testing Node.js Applications
thanpolas
1
120
Top Tier Remote
thanpolas
6
2.4k
Desktop apps with Electron
thanpolas
2
310
Error Handling in Javascript and Node.js
thanpolas
2
100
Classical Inheritance in Javascript
thanpolas
0
300
Getting Serious with remote
thanpolas
2
500
Other Decks in Programming
See All in Programming
How to Break into Reading Open Source
kaspth
2
220
Lessons by WebAssembly app in production on CDN Edge Computing Service
tetsuharuohzeki
0
220
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
930
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
620
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
680
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
400
o1モデルのプロンプトエンジニアリングって?
ktc_wada
0
300
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
400
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
4
90k
Hermes: Better Performance with Bytecode Translation (React Universe 2024)
tmikov2023
0
100
Featured
See All Featured
Code Review Best Practice
trishagee
62
16k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
Testing 201, or: Great Expectations
jmmastey
36
7k
A designer walks into a library…
pauljervisheath
201
24k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.8k
GraphQLとの向き合い方2022年版
quramy
43
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
43
2k
How GitHub (no longer) Works
holman
310
140k
The Mythical Team-Month
searls
218
43k
How To Stay Up To Date on Web Technology
chriscoyier
786
250k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Thoughts on Productivity
jonyablonski
66
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