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
170
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
93
Optimize or Die Tryin'
damln
1
170
Rails YAML vuln.
damln
1
200
Rails et Heroku
damln
3
290
Capucine
damln
1
83
Redis with Ruby
damln
4
230
Other Decks in Programming
See All in Programming
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
400
Sheets API使ってみた
toshi0383
2
160
Try creating your own orderedmap
kazamori
1
170
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
280
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
440
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
300
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
420
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
160
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
240
雑に思考を整理する技術と効能
konifar
63
30k
Code Reviews
bkuhlmann
4
900
AppRouter Panel Talk
yosuke_furukawa
PRO
1
450
Featured
See All Featured
Making Projects Easy
brettharned
109
5.5k
What the flash - Photography Introduction
edds
64
11k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Agile that works and the tools we love
rasmusluckow
325
20k
What's new in Ruby 2.0
geeforr
337
31k
We Have a Design System, Now What?
morganepeng
44
6.8k
Automating Front-end Workflow
addyosmani
1357
200k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
46k
Docker and Python
trallard
35
2.7k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
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