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
Endpoints_Phoenix.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Moroni
April 07, 2021
Technology
0
65
Endpoints_Phoenix.pdf
Moroni
April 07, 2021
Tweet
Share
More Decks by Moroni
See All by Moroni
Inicialização de Aplicações Elixir
moronisauner
0
33
Other Decks in Technology
See All in Technology
今日から始めるAmazon Bedrock AgentCore
har1101
4
390
Agile Leadership Summit Keynote 2026
m_seki
1
380
2026年はチャンキングを極める!
shibuiwilliam
9
1.9k
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
140
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
290
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
5
760
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
4.6k
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
700
GCASアップデート(202510-202601)
techniczna
0
250
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
590
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
KATA
mclloyd
PRO
34
15k
So, you think you're a good person
axbom
PRO
2
1.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Leo the Paperboy
mayatellez
4
1.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Accessibility Awareness
sabderemane
0
49
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Transcript
Endpoints Phoenix O caminho por onde todas requisições passam
github.com/moronisauner
Vamos ao que interessa
Phoenix e Plug • O Phoenix foi construído em cima
do Plug • Inclusive o Plug está presente em toda a parte • O Phoenix fornece ferramentas excelentes para trabalhar com o Plug ◦ Endpoint ◦ Router ◦ Controllers • Só os Channels e Sockets que são um pouco diferentes
Como que funciona?
Plug
Plug.Conn
Endpoint
Router
Controller
Deveres do Endpoint • Coloca toda manipulação do Plug.Conn numa
árvore de supervisão • Define um pipeline inicial para todas as requests • Guarda algumas configurações • Qualquer coisa além são os plugs que fazem
O que é comum encontrar no Endpoint • CORS e
CSRF • Autenticação • Validação de Token (ex: Guardian) • Coleta de Métricas • Plugs de plataformas de monitoramento (ex: DataDog e NewRelic)
Vale comentar
None
None