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
Hack Thursday - CW35 - NodeJS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
gquental
August 31, 2012
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Hack Thursday - CW35 - NodeJS
Lecture about NodeJS in our weekly event, Hack Thursday
gquental
August 31, 2012
More Decks by gquental
See All by gquental
Desenvolvimento orientado a Serviços e APIs
gquental
0
41
Other Decks in Programming
See All in Programming
JIS keyboard support in Omarchy
lef237
0
120
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.2k
すこし踏み込む CancellationToken
htkym
2
1.7k
Railsバージョンを4倍にした話
optim
0
390
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
230
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building the Perfect Custom Keyboard
takai
2
910
Done Done
chrislema
187
17k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
30 Presentation Tips
portentint
PRO
1
430
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Google's AI Overviews - The New Search
badams
0
1.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Navigating Weather and Climate Data
rabernat
0
560
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