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
Fat Models and Skinny Controllers
Search
Vincent Oord
November 29, 2011
Programming
320
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fat Models and Skinny Controllers
My slides for the Springest Dev Lunch Session of November 29th, 2011
Vincent Oord
November 29, 2011
More Decks by Vincent Oord
See All by Vincent Oord
Using Umbrella in Production - Lessons Learned
vindia
0
50
Practical TDD
vindia
1
190
Other Decks in Programming
See All in Programming
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
240
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
680
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
280
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
130
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
180
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
160
ふつうのFeature Flag実践入門
irof
7
3.9k
OSもどきOS
arkw
0
560
スマートグラスで並列バイブコーディング
hyshu
0
140
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
How to train your dragon (web standard)
notwaldorf
97
6.7k
RailsConf 2023
tenderlove
30
1.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
280
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Ethics towards AI in product and experience design
skipperchong
2
310
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Music & Morning Musume
bryan
47
7.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
GitHub's CSS Performance
jonrohan
1033
470k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
410
Transcript
FAT MODELS skinny controllers Vincent Oord -
[email protected]
&
QUICK MVC RECAP
WHAT IS MVC Source: Wikipedia
MODEL Manages data Contains business rules Keeps and changes state
VIEW Builds interface to interact with model
CONTROLLER Receive user requests Initiate responses Instructs model and view
to perform certain actions
WHY FAT CONTROLLERS SUCK
HOW CONTROLLERS GET FAT
None
TRIMMING THE FAT
None
WHY FAT MODELS RULE
BEWARE OF OBESITY