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
110
Optimize or Die Tryin'
damln
1
190
Rails YAML vuln.
damln
1
210
Rails et Heroku
damln
3
310
Capucine
damln
1
110
Redis with Ruby
damln
4
240
Other Decks in Programming
See All in Programming
変化の激しい時代における、こだわりのないエンジニアの強さ
satoshi256kbyte
1
870
Datadog DBMでなにができる? JDDUG Meetup#7
nealle
0
160
Jakarta EE meets AI
ivargrimstad
0
860
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
170
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
180
Webフレームワークとともに利用するWeb components / JSConf.jp おかわり
spring_raining
1
160
CloudRun, Spanner に対する負荷試験の反省と オブザーバビリティによるアプローチ
oyasumipants
1
210
はじめての Go * WASM * OCR
sgash708
1
130
PEPCは何を変えようとしていたのか
ken7253
3
320
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
310
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
9
2.7k
Jasprが凄い話
hyshu
0
200
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
GraphQLの誤解/rethinking-graphql
sonatard
69
10k
Adopting Sorbet at Scale
ufuk
75
9.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
11
1.3k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
The Cost Of JavaScript in 2023
addyosmani
47
7.5k
Building Adaptive Systems
keathley
40
2.4k
Raft: Consensus for Rubyists
vanstee
137
6.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
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