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
190
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
120
Optimize or Die Tryin'
damln
1
200
Rails YAML vuln.
damln
1
210
Rails et Heroku
damln
3
320
Capucine
damln
1
120
Redis with Ruby
damln
4
250
Other Decks in Programming
See All in Programming
「兵法」から見る質とスピード
ickx
0
240
バランスを見極めよう!実装の意味を明示するための型定義 TSKaigi 2025 Day2 (5/24)
whatasoda
2
810
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
PRO
1
130
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
290
Parallel::Pipesの紹介
skaji
2
890
Feature Flag 自動お掃除のための TypeScript プログラム変換
azrsh
PRO
4
660
機械学習って何? 5分で解説頑張ってみる
kuroneko2828
0
180
JSAI2025 RecSysChallenge2024 優勝報告
unonao
1
420
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
100
コンポーネントライブラリで実現する、アクセシビリティの正しい実装パターン
schktjm
1
710
DevDay2025-OracleDatabase-kernel-addressing-history
oracle4engineer
PRO
7
1.7k
Zennの運営完全に理解した #完全に理解したTalk
wadayusuke
1
170
Featured
See All Featured
It's Worth the Effort
3n
184
28k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Rails Girls Zürich Keynote
gr2m
94
13k
YesSQL, Process and Tooling at Scale
rocio
172
14k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
For a Future-Friendly Web
brad_frost
178
9.8k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Agile that works and the tools we love
rasmusluckow
329
21k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
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