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
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
Transcript
33 slides
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
More Decks by gquental
See All by gquental
Desenvolvimento orientado a Serviços e APIs
gquental
0
43
Other Decks in Programming
See All in Programming
The Cost of the DOM
ypresto
2
160
Spec-driven Development with AI
simas
PRO
0
2.3k
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
800
LLM 101
dalinaum
0
530
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
300
祈るテストから、探索するテストへ 〜Lincheckではじめる並行処理テスト〜
yyh_gl
0
430
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
0
190
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
960
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Deep Space Network (abreviated)
tonyrice
0
430
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k