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
サーバーレスで負荷試験!Step Functions + Lambdaを使ったk6の分散実行
shuntakahashi
6
1.6k
GoのIteratorに詳しくなってしまう
inatonix
1
210
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
230
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
690
Amazon BedrockでサーバレスなAIお料理ボットを作成する!!
tosuri13
0
230
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
rails_girls_is_my_gate_to_join_the_ruby_commuinty
maimux2x
0
200
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
160
Securify_エンジニア採用資料
3shake
0
110
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
170
Why Prism?
kddnewton
4
1.7k
GraphQLの魅力を引き出すAndroidクライアント実装
morux2
3
860
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
Designing Experiences People Love
moore
138
23k
Designing for humans not robots
tammielis
248
25k
The Pragmatic Product Professional
lauravandoore
31
6.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
89
16k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Into the Great Unknown - MozCon
thekraken
29
1.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
3.9k
How To Stay Up To Date on Web Technology
chriscoyier
786
250k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
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