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
Endpoints_Phoenix.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Moroni
April 07, 2021
Technology
78
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Endpoints_Phoenix.pdf
Moroni
April 07, 2021
More Decks by Moroni
See All by Moroni
Inicialização de Aplicações Elixir
moronisauner
0
41
Other Decks in Technology
See All in Technology
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
夫婦で子育てするための育児標準化
codmoninc
PRO
0
210
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
280
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
110
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
160
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
400
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
100
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
430
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
240
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.6k
Local CI × GitHub Actions
gogutan
2
140
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
My Coaching Mixtape
mlcsv
0
350
Leo the Paperboy
mayatellez
10
2.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Agile that works and the tools we love
rasmusluckow
331
22k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
360
Building Adaptive Systems
keathley
44
3.2k
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