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
240
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to Node.js
An introduction to Node.js
Thanos Polychronakis
September 10, 2014
More Decks by Thanos Polychronakis
See All by Thanos Polychronakis
Why Logging is Important
thanpolas
0
190
Intro to WebRTC
thanpolas
1
160
Classical Inheritance in Javascript
thanpolas
0
430
Testing Node.js Applications
thanpolas
1
180
Top Tier Remote
thanpolas
6
2.6k
Desktop apps with Electron
thanpolas
2
390
Error Handling in Javascript and Node.js
thanpolas
2
180
Classical Inheritance in Javascript
thanpolas
0
460
Getting Serious with remote
thanpolas
2
640
Other Decks in Programming
See All in Programming
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
600
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
460
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
770
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
340
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
650
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
350
テーブルをDELETEした
yuzneri
0
140
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
370
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
150
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.4k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
500
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Java REST API Framework Comparison - PWX 2021
mraible
34
9.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
260
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
470
Accessibility Awareness
sabderemane
1
170
Exploring anti-patterns in Rails
aemeredith
3
460
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
200
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
380
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