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
Build Elixir Phoenix
Search
Jay Hayes
July 19, 2018
Programming
0
68
Build Elixir Phoenix
https://conferences.oreilly.com/oscon/oscon-or/public/schedule/detail/66137
Jay Hayes
July 19, 2018
Tweet
Share
More Decks by Jay Hayes
See All by Jay Hayes
Elixir in Elixir
iamvery
1
150
A Less Complex Web with Ratchet & Jank
iamvery
0
270
Feature. Tests. Implementation.
iamvery
0
64
Ratchet & Jank
iamvery
0
190
Elixir in Elixir
iamvery
6
1.1k
Rubyist Does Swift
iamvery
0
83
Swift Introduction
iamvery
0
270
Data Integrity
iamvery
0
96
Pairing with tmux
iamvery
2
200
Other Decks in Programming
See All in Programming
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
140
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
320
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
850
CursorはMCPを使った方が良いぞ
taigakono
1
170
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
120
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
720
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
技術同人誌をMCP Serverにしてみた
74th
0
280
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
11
2k
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
130
XP, Testing and ninja testing
m_seki
3
180
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Building Adaptive Systems
keathley
43
2.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Designing Experiences People Love
moore
142
24k
The Language of Interfaces
destraynor
158
25k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Transcript
@iamvery BUILD PHOENIX ELIXIR
@iamvery 80 LOC B A S I C F U
N C T I O N A L I T Y
@iamvery https://iamvery.com — @iamvery Jay Hayes
@iamvery
@iamvery
@iamvery JAVASCRIPT GOT ME LIKE
@iamvery PHP GOT ME LIKE
@iamvery ____ GOT ME LIKE
We’re hiring!
@iamvery KIDS! https://stitchfix.com/kids
@iamvery
@iamvery https://www.flickr.com/photos/memoriesbymike/23561731174/ INTERNET
@iamvery https://www.flickr.com/photos/memoriesbymike/23561731174/ ⚡ INTERNET
@iamvery PIPES
@iamvery Pipeline
@iamvery 3
@iamvery ENDPOINT
@iamvery defmodule YourApp.Endpoint do use Phoenix.Endpoint, … plug(YourApp.Router) end
@iamvery ROUTER
@iamvery defmodule YourApp.Router do use Phoenix.Router… get “/cats”, YouApp.Controller, :index
get “/cats/felix”, YouApp.Controller, :show post “/cats”, YouApp.Controller, :create end
@iamvery CO TROLLER
@iamvery defmodule YourApp.Controller do use Phoenix.Controller… def index(conn, _params) do
send_resp(conn, 200, “meows”) end end
@iamvery
@iamvery PLUG
@iamvery
@iamvery 1. Build it
@iamvery 1. Build it 2. Extract it
@iamvery LET’S DO THIS
@iamvery
@iamvery
gitlab.com/iamvery/feenix
With love,
Questions? @iamvery
@iamvery bit.ly/2NBBnHO Elixir Metaprogramming