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
Elixir/Phoenix for @ruby_gdl
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
JoseLuis Torres
August 20, 2015
Programming
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elixir/Phoenix for @ruby_gdl
Phoenix Web Framework basics
JoseLuis Torres
August 20, 2015
More Decks by JoseLuis Torres
See All by JoseLuis Torres
Refactoring an action in a controller to use a filterer pattern
joseluistorres
0
52
Use MessageBus instead of ActionCable
joseluistorres
1
580
Learn to be humble from a JSON
joseluistorres
0
48
SOA, provisioning and escalating - Ignite Format
joseluistorres
0
57
Other Decks in Programming
See All in Programming
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
はてなアカウント基盤 State of the Union
cockscomb
1
1.1k
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.1k
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
130
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
770
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
230
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.6k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
7.1k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
310
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
580
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
270
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
260
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
GitHub's CSS Performance
jonrohan
1033
470k
Technical Leadership for Architectural Decision Making
baasie
3
430
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Making Projects Easy
brettharned
120
6.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
370
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
RailsConf 2023
tenderlove
30
1.5k
4 Signs Your Business is Dying
shpigford
187
22k
Transcript
Elixir/Phoenix - Web Framework Application Servers for "Tools for Full
Stack Development"
What it is Phoenix? • Web framework MVC based on
Elixir the functional programming language with capabilities to develop quick solutions with failed tolerance and high performance
Components Mix Plug Ecto Channels Endpoint Router Controllers Views Templates
Mix A tool to run convenience Phoenix tasks • built-in
Phoenix-specific • ecto-specific $ mix help | grep -i phoenix mix phoenix.digest mix phoenix.gen.channel mix phoenix.gen.html mix phoenix.gen.json mix phoenix.gen.model mix phoenix.new mix phoenix.routes mix phoenix.server
Plug A specification and conveniences for composable modules between web
applications Connection adapters for different web servers in the Erlang VM
Ecto DB abstracion for the web app Adapters: • PostgreSQL
• MySQL • MSSQL • SQLite3 • (coming soon) MongoDB $ mix ecto.create $ mix ecto.migrate The repo Model Changesets and validations
Channels Real-time ready to use communication tool for our web
app. Websockets Sending and receiving messages
None
Other highlights • Pattern Matching • Meta-Programming • Erlang VM
• Brunch.io • Cowboy • Exrm