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
61
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
140
A Less Complex Web with Ratchet & Jank
iamvery
0
210
Feature. Tests. Implementation.
iamvery
0
61
Ratchet & Jank
iamvery
0
180
Elixir in Elixir
iamvery
6
1.1k
Rubyist Does Swift
iamvery
0
77
Swift Introduction
iamvery
0
240
Data Integrity
iamvery
0
92
Pairing with tmux
iamvery
2
160
Other Decks in Programming
See All in Programming
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Contemporary Test Cases
maaretp
0
140
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
Click-free releases & the making of a CLI app
oheyadam
2
110
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
900
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
RubyLSPのマルチバイト文字対応
notfounds
0
120
受け取る人から提供する人になるということ
little_rubyist
0
230
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
A Modern Web Designer's Workflow
chriscoyier
693
190k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Unsuck your backbone
ammeep
668
57k
4 Signs Your Business is Dying
shpigford
180
21k
Designing Experiences People Love
moore
138
23k
YesSQL, Process and Tooling at Scale
rocio
169
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
89
Building Adaptive Systems
keathley
38
2.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
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