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
Controllers suck.
Search
Damian Le Nouaille
August 07, 2012
Programming
1
180
Controllers suck.
An alternative for controllers inspired by "Hexagonal Rails".
Video :
http://vimeo.com/47242186
Damian Le Nouaille
August 07, 2012
Tweet
Share
More Decks by Damian Le Nouaille
See All by Damian Le Nouaille
Re-Think your workflow with a piano
damln
0
97
Optimize or Die Tryin'
damln
1
180
Rails YAML vuln.
damln
1
200
Rails et Heroku
damln
3
290
Capucine
damln
1
99
Redis with Ruby
damln
4
240
Other Decks in Programming
See All in Programming
Scala アプリケーションのビルドを改善してデプロイ時間を 1/4 にした話 | How I improved the build of my Scala application and reduced deployment time by 4x
nomadblacky
1
180
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
270
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
760
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
250
2024 컴포즈 정원사
jisungbin
0
150
実践!難読化ガイド
mitchan
0
160
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
560
令和トラベルにおけるLLM活用事例:社内ツール開発から得た学びと実践
ippo012
0
150
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
How to Break into Reading Open Source
kaspth
2
210
REXML改善のその後
naitoh
0
190
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
123
18k
Faster Mobile Websites
deanohume
304
30k
4 Signs Your Business is Dying
shpigford
179
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
Documentation Writing (for coders)
carmenintech
65
4.3k
GitHub's CSS Performance
jonrohan
1029
450k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
1
48
[RailsConf 2023] Rails as a piece of cake
palkan
48
4.6k
Building Flexible Design Systems
yeseniaperezcruz
325
38k
Adopting Sorbet at Scale
ufuk
73
8.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
Transcript
@damln @damln www.dln.name Damian Le Nouaille
Controllers, sucks.
MVC and the WEB ‣ JavaScript 12764686 MV* Frameworks ‣
All is not WEB ‣ Server Side is now complex ‣Architecture over frameworks
MVC Hey show me that Can he see porn ?
NO ! He’s old. Nope.
CAN you ZOOM ? ‣ Route parameters ‣ To a
“Controller” ‣ Check params (security) ‣Do a transaction (ask Model) ‣Render something, depends on the transaction ‣Dance ‣Make a better world ‣Hang out with girls HTTP LOGIC WHAT YOU EXPECT
Add photos with tags photos.save() Ok, done. photos Better “Hey,
something want to add photos” Yes it’s done, you can render.
photos.save() Ok, done. Why ? “Hey, something want to add
photos” Yes it’s done, you can render. HTTP Workers Command line Cats
Can you do that, in Rails ? YES DEMO