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
JoseLuis Torres
August 20, 2015
Programming
0
68
Elixir/Phoenix for @ruby_gdl
Phoenix Web Framework basics
JoseLuis Torres
August 20, 2015
Tweet
Share
More Decks by JoseLuis Torres
See All by JoseLuis Torres
Refactoring an action in a controller to use a filterer pattern
joseluistorres
0
46
Use MessageBus instead of ActionCable
joseluistorres
1
550
Learn to be humble from a JSON
joseluistorres
0
41
SOA, provisioning and escalating - Ignite Format
joseluistorres
0
53
Other Decks in Programming
See All in Programming
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
17k
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
380
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
170
Register is more than clipboard
satorunooshie
1
150
理論と実務のギャップを超える
eycjur
0
200
Dive into Triton Internals
appleparan
0
250
Go言語はstack overflowの夢を見るか?
logica0419
0
660
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
890
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
710
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
130
Devoxx BE - Local Development in the AI Era
kdubois
0
150
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
4 Signs Your Business is Dying
shpigford
186
22k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Context Engineering - Making Every Token Count
addyosmani
8
320
The Pragmatic Product Professional
lauravandoore
36
7k
Documentation Writing (for coders)
carmenintech
75
5.1k
Rails Girls Zürich Keynote
gr2m
95
14k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
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