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
210
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
120
Intro to WebRTC
thanpolas
1
97
Classical Inheritance in Javascript
thanpolas
0
360
Testing Node.js Applications
thanpolas
1
140
Top Tier Remote
thanpolas
6
2.5k
Desktop apps with Electron
thanpolas
2
330
Error Handling in Javascript and Node.js
thanpolas
2
130
Classical Inheritance in Javascript
thanpolas
0
380
Getting Serious with remote
thanpolas
2
580
Other Decks in Programming
See All in Programming
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
740
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
16
3.9k
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
630
統一感のある Go コードを生成 AI の力で手にいれる
otakakot
0
2.9k
ワンバイナリWebサービスのススメ
mackee
10
7.7k
CSC307 Lecture 17
javiergs
PRO
0
110
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
PRO
1
130
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
240
FormFlow - Build Stunning Multistep Forms
yceruto
1
150
Rails産でないDBを Railsに引っ越すHACK - Omotesando.rb #110
lnit
1
160
Use Perl as Better Shell Script
karupanerura
0
690
Featured
See All Featured
Thoughts on Productivity
jonyablonski
69
4.7k
Agile that works and the tools we love
rasmusluckow
329
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Adopting Sorbet at Scale
ufuk
77
9.4k
The Cost Of JavaScript in 2023
addyosmani
50
8.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
For a Future-Friendly Web
brad_frost
179
9.8k
We Have a Design System, Now What?
morganepeng
52
7.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
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