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
82
Redis with Ruby
damln
4
230
Other Decks in Programming
See All in Programming
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
Code Reviews
bkuhlmann
4
890
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4k
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
270
Semantic search with Django and pgvector
pauloxnet
0
240
ゆるい個人開発のススメ
kuroppe1819
10
990
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
ONE WEDGE_company_guide
1wedge_one
0
470
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
140
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3k
Featured
See All Featured
Statistics for Hackers
jakevdp
789
220k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
In The Pink: A Labor of Love
frogandcode
138
21k
Done Done
chrislema
178
15k
Into the Great Unknown - MozCon
thekraken
10
990
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Building Applications with DynamoDB
mza
88
5.6k
The Invisible Side of Design
smashingmag
294
49k
RailsConf 2023
tenderlove
4
540
Git: the NoSQL Database
bkeepers
PRO
422
63k
GraphQLとの向き合い方2022年版
quramy
32
12k
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