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
220
Rails et Heroku
damln
3
320
Capucine
damln
1
120
Redis with Ruby
damln
4
250
Other Decks in Programming
See All in Programming
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
540
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
450
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
660
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
950
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
2
19k
生成AI時代のコンポーネントライブラリの作り方
touyou
1
250
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
110
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
170
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
2.2k
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
240
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
490
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Scaling GitHub
holman
460
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Visualization
eitanlees
146
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
We Have a Design System, Now What?
morganepeng
53
7.7k
The Invisible Side of Design
smashingmag
301
51k
Typedesign – Prime Four
hannesfritz
42
2.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
Balancing Empowerment & Direction
lara
1
440
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