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
Aprenda http criando seu server
Search
Alessandro Dias Batista
August 19, 2025
Programming
0
12
Aprenda http criando seu server
Apresentação no meetup do DevParana 19-ago-2025
Alessandro Dias Batista
August 19, 2025
Tweet
Share
More Decks by Alessandro Dias Batista
See All by Alessandro Dias Batista
Aplicações Real-time com Phoenix LiveView
adbatista
0
3
GURUPI - Conhecendo Phoenix Liveview
adbatista
0
12
Ciclo de trabalho Ágil
adbatista
1
53
Ruby e o Mercado de trabalho
adbatista
0
190
Turbolinks 101
adbatista
0
110
Other Decks in Programming
See All in Programming
TVerのWeb内製化 - 開発スピードと品質を両立させるまでの道のり
techtver
PRO
3
990
FlutterKaigi 2025 システム裏側
yumnumm
0
1.1k
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
AIエージェントでのJava開発がはかどるMCPをAIを使って開発してみた / java mcp for jjug
kishida
4
640
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
550
HTTPじゃ遅すぎる! SwitchBotを自作ハブで動かして学ぶBLE通信
occhi
0
250
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
150
知られているようで知られていない JavaScriptの仕様 4選
syumai
0
600
AI駆動開発ライフサイクル(AI-DLC)のホワイトペーパーを解説
swxhariu5
0
930
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
12
5.9k
ビルドプロセスをデバッグしよう!
yt8492
0
310
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.1k
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Fireside Chat
paigeccino
41
3.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
1.8k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
320
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
For a Future-Friendly Web
brad_frost
180
10k
A better future with KSS
kneath
239
18k
Scaling GitHub
holman
463
140k
Speed Design
sergeychernyshev
32
1.2k
Faster Mobile Websites
deanohume
310
31k
Transcript
Aprenda http criando seu server
Alessandro Dias 12 anos trabalhando com desenvolvimento web Trabalhei na
Codeminer de 2014 até 2024 Fullstack developer na Medda.ai
Por que criar um HTTP server?
Learn by doing
Um pouco de história
Anos 90 • Era tudo mato • DragonBall era exibido
no SBT • One piece começa • Pesquisadores no CERN procuravam formas de compartilhar artigos • Tim Berners-Lee cria a primeira versão do HTTP
O que é o HTTP? • Protocolo de texto que
executa na camada de aplicação da rede • Tem como base o protocolo TCP • Usa o pattern request-response
None
Resposta HTTP
None
Request
Resposta
Configurar o server e responder requisições
None
None
Tratando rotas
None
Retornando "corpo"(body) na requisição
None
Aceitando mais de uma requisição ao mesmo tempo
None
Mantendo a conexão aberta entre requisições
None
Fechando a conexão
None
None
None
Repositório
Obrigado LinkedIn adbatista.github.io