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
64
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
230
Feature. Tests. Implementation.
iamvery
0
61
Ratchet & Jank
iamvery
0
190
Elixir in Elixir
iamvery
6
1.1k
Rubyist Does Swift
iamvery
0
79
Swift Introduction
iamvery
0
250
Data Integrity
iamvery
0
93
Pairing with tmux
iamvery
2
170
Other Decks in Programming
See All in Programming
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
170
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
1.2k
ErdMap: Thinking about a map for Rails applications
makicamel
1
590
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
190
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.1k
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
940
為你自己學 Python
eddie
0
520
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
540
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
functionalなアプローチで動的要素を排除する
ryopeko
1
190
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
44
13k
What's in a price? How to price your products and services
michaelherold
244
12k
Mobile First: as difficult as doing things right
swwweet
222
9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Cult of Friendly URLs
andyhume
78
6.1k
Facilitating Awesome Meetings
lara
51
6.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Code Review Best Practice
trishagee
65
17k
Automating Front-end Workflow
addyosmani
1366
200k
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