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
CW 35: Node.JS - Guilherme Quental
Search
hackthursday
August 30, 2012
Programming
52
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
67
CW 34: Bus1.me - Rafael Silva
hackthursday
2
62
CW 33: Pathfinding - Vinicius Maciel
hackthursday
1
42
CW 31: Ruby - Filipe Giusti
hackthursday
1
48
CW 26: Computação Gráfica - Lucas Texeira
hackthursday
1
59
CW 25: Object Calisthenics - Vinícius Krolow
hackthursday
1
110
Other Decks in Programming
See All in Programming
Flow は今どうなっているか
mizdra
PRO
0
770
AIの中の人になってみる
htkym
0
140
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
400
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
540
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.3k
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
110
Deep dive into the select statement (GopherCon UK)
jespino
0
160
Introducing Stack Pull Request in GitHub
kkamegawa
0
110
Hono + Inertia + React で LP を構築した話
oukayuka
2
190
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.3k
高専キャリア LT 発表内容
crysta1221
6
5k
仕様駆動開発の消費期限
watany
20
9.1k
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
350
Balancing Empowerment & Direction
lara
6
1.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
480
The Cost Of JavaScript in 2023
addyosmani
55
10k
Optimizing for Happiness
mojombo
378
71k
Building AI with AI
inesmontani
PRO
1
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
430
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Designing Experiences People Love
moore
143
24k
New Earth Scene 8
popppiees
3
2.5k
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