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
2
290
Fat Models and Skinny Controllers
My slides for the Springest Dev Lunch Session of November 29th, 2011
Vincent Oord
November 29, 2011
Tweet
Share
More Decks by Vincent Oord
See All by Vincent Oord
Using Umbrella in Production - Lessons Learned
vindia
0
45
Practical TDD
vindia
1
190
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
170
ECS初心者の仲間 – TUIツール「e1s」の紹介
keidarcy
0
150
複雑なドメインに挑む.pdf
yukisakai1225
5
950
私の後悔をAWS DMSで解決した話
hiramax
4
190
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
100
旅行プランAIエージェント開発の裏側
ippo012
2
790
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
0
240
Jakarta EE Core Profile and Helidon - Speed, Simplicity, and AI Integration
ivargrimstad
0
320
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
7
1k
🔨 小さなビルドシステムを作る
momeemt
3
650
print("Hello, World")
eddie
1
410
Swift Updates - Learn Languages 2025
koher
1
390
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
Into the Great Unknown - MozCon
thekraken
40
2k
Code Reviewing Like a Champion
maltzj
525
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Writing Fast Ruby
sferik
628
62k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Designing for humans not robots
tammielis
253
25k
How to Ace a Technical Interview
jacobian
279
23k
4 Signs Your Business is Dying
shpigford
184
22k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
GitHub's CSS Performance
jonrohan
1032
460k
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