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
57
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
150
Feature. Tests. Implementation.
iamvery
0
59
Ratchet & Jank
iamvery
0
180
Elixir in Elixir
iamvery
6
1.1k
Rubyist Does Swift
iamvery
0
72
Swift Introduction
iamvery
0
200
Data Integrity
iamvery
0
92
Pairing with tmux
iamvery
2
160
Other Decks in Programming
See All in Programming
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
130
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
ONE WEDGE_company_guide
1wedge_one
0
470
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
120
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.2k
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
270
Apache Hive 4 on Treasure Data
ryukobayashi
0
220
Git Rebase
bkuhlmann
11
1.6k
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
110
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Agile that works and the tools we love
rasmusluckow
325
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Atom: Resistance is Futile
akmur
259
25k
How to name files
jennybc
65
93k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
The Pragmatic Product Professional
lauravandoore
25
5.8k
Code Review Best Practice
trishagee
55
15k
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