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
63
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
37
Use MessageBus instead of ActionCable
joseluistorres
1
450
Learn to be humble from a JSON
joseluistorres
0
35
SOA, provisioning and escalating - Ignite Format
joseluistorres
0
49
Other Decks in Programming
See All in Programming
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
260
Java 22 Overview
kishida
1
190
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.3k
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 Function Composition
bkuhlmann
1
330
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
雑に思考を整理する技術と効能
konifar
60
29k
Polars入門
daikikatsuragawa
1
100
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.2k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
370
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
820
2 週間で Twitter Bot を作ってみた
contour_gara
0
600
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Building an army of robots
kneath
300
41k
The Invisible Customer
myddelton
114
12k
A Modern Web Designer's Workflow
chriscoyier
689
190k
We Have a Design System, Now What?
morganepeng
43
6.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Unsuck your backbone
ammeep
663
57k
The Pragmatic Product Professional
lauravandoore
25
5.8k
For a Future-Friendly Web
brad_frost
172
9k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
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