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
Kubernetes for Data Engineers: Building Scalable, Reliable Data Pipelines
sucitw
1
210
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
0
180
現場で役立つモデリング 超入門
masuda220
PRO
14
3.1k
デプロイを任されたので、教わった通りにデプロイしたら障害になった件 ~俺のやらかしを越えてゆけ~
techouse
53
33k
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
4
1.3k
C#/.NETのこれまでのふりかえり
tomokusaba
1
180
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
530
受け取る人から提供する人になるということ
little_rubyist
0
170
Identifying User Idenity
moro
6
9.2k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
750
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
1.9k
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Ruby is Unlike a Banana
tanoku
96
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Designing for humans not robots
tammielis
249
25k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
How to Ace a Technical Interview
jacobian
276
23k
Side Projects
sachag
452
42k
4 Signs Your Business is Dying
shpigford
180
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Code Reviewing Like a Champion
maltzj
520
39k
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