Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CW 35: Node.JS - Guilherme Quental
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
hackthursday
August 30, 2012
Programming
56
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CW 35: Node.JS - Guilherme Quental
hackthursday
August 30, 2012
More Decks by hackthursday
See All by hackthursday
CW 36: Joomla! for dummies - Jerônimo Medina Madruga
hackthursday
1
71
CW 34: Bus1.me - Rafael Silva
hackthursday
2
63
CW 33: Pathfinding - Vinicius Maciel
hackthursday
1
47
CW 31: Ruby - Filipe Giusti
hackthursday
1
56
CW 26: Computação Gráfica - Lucas Texeira
hackthursday
1
62
CW 25: Object Calisthenics - Vinícius Krolow
hackthursday
1
120
Other Decks in Programming
See All in Programming
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.9k
LLM 101
dalinaum
0
460
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.4k
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
310
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
140
Groovy as a human and AI friendly programming language
paulk
0
180
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
2
190
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
870
AI-Powered Domain-Driven Design
ziobrando
0
380
AmebaブログはKMPから卒業します
kmars0605
0
310
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
130
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
520
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Optimizing for Happiness
mojombo
378
71k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
430
Paper Plane
katiecoart
PRO
5
54k
The SEO identity crisis: Don't let AI make you average
varn
0
620
Transcript
NodeJS Guilherme Quental github.com/gquental fb.com/gquental
Alguém conhece?!
Conhecido como JavaScript no lado do servidor
X
Node é muito mais que isso
None
Ryan Dahl
O que define Node?
I/O não bloqueante
JavaScript API V8 libuv libeio libev IOCP
• select • poll • epoll • kqueue • IOCP
Tipos
Agora a parte buena!
Na realidade ele mesmo é um conjunto de módulos Node
é totalmente modular
• File System • TCP • UDP • HTTP •
Buffer • Events • Stream • Process Existem diversos módulos
Pera ai!!! Antes disso quero ver aquele esquema de I/O
não bloqueante!!!
Partiu então! Entendido?
Módulos em Node C e JavaScript
C?! WTF?!
Primeiro vamos entender sistema de módulos
None
Mas e os módulos em C?
node-gyp
Ok... e módulos de terceiros?
None
E se eu quiser criar meu módulo?
Exemplos! E agora uma parte melhor ainda!
Events
HTTP
Socket
Buffer
E criemos Gists! Peçam exemplos!
Perguntas?!
[email protected]
github.com/gquental fb.com/gquental Contato