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
170
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
69
Intro to WebRTC
thanpolas
1
69
Classical Inheritance in Javascript
thanpolas
0
300
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
260
Getting Serious with remote
thanpolas
2
460
Other Decks in Programming
See All in Programming
Java 22 Overview
kishida
1
160
puregoの活用例
aethiopicuschan
0
220
OpenTelemetry のサービスという概念について
azukiazusa1
2
1.1k
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
250
ONE WEDGE_company_guide
1wedge_one
0
340
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
17k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
330
Designing for tomorrow's programming workflows
honnibal
PRO
2
110
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
250
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.2k
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
658
120k
Atom: Resistance is Futile
akmur
258
25k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Teambox: Starting and Learning
jrom
128
8.4k
Raft: Consensus for Rubyists
vanstee
131
6.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
16k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
75
41k
Building Better People: How to give real-time feedback that sticks.
wjessup
353
18k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Done Done
chrislema
178
15k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
8
8.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