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
95
Optimize or Die Tryin'
damln
1
180
Rails YAML vuln.
damln
1
200
Rails et Heroku
damln
3
290
Capucine
damln
1
95
Redis with Ruby
damln
4
240
Other Decks in Programming
See All in Programming
初心者がおさえておきたいAWS CDKのベストプラクティス 2024
konokenj
15
7.3k
継続的な活動で築く地方エンジニアの道
myamashii
2
350
Cloudflare Workers x AWS Lambdaの組み合わせユースケース / Cloudflare Workers x AWS Lambda Combination Use Case
seike460
PRO
2
310
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
生成AIをkintoneに連携してみた
hideg
0
230
CSC307 Lecture 13
javiergs
PRO
0
150
20240706_CDKConf
takuyay0ne
0
1.2k
Android開発者のための Kotlin Multiplatform入門
ntaro
0
190
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
スクラムマスターって孤独じゃないですか?
yoshitaroyoyo
1
140
Introduction to GitOps
hwchiu
0
110
Featured
See All Featured
Fireside Chat
paigeccino
25
2.8k
What's new in Ruby 2.0
geeforr
338
31k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Adopting Sorbet at Scale
ufuk
71
8.8k
Teambox: Starting and Learning
jrom
130
8.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
36
9.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
189
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
16
1.6k
Building Applications with DynamoDB
mza
89
5.8k
Designing the Hi-DPI Web
ddemaree
276
34k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
The Language of Interfaces
destraynor
151
23k
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