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
300
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
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
510
楽して成果を出すためのセルフリソース管理
clipnote
0
210
Pythonスレッドとは結局何なのか? CPython実装から見るNoGIL時代の変化
curekoshimizu
3
820
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
840
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
680
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
220
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
630
2025年版 サーバーレス Web アプリケーションの作り方
hayatow
23
25k
ててべんす独演会〜Flowの全てを語ります〜
tbsten
1
220
CSC509 Lecture 01
javiergs
PRO
1
430
フロントエンド開発に役立つクライアントプログラム共通のノウハウ / Universal client-side programming best practices for frontend development
nrslib
7
3.7k
CSC305 Lecture 03
javiergs
PRO
0
210
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
560
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
3k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Fireside Chat
paigeccino
40
3.6k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Visualization
eitanlees
148
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
600
4 Signs Your Business is Dying
shpigford
185
22k
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