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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Vincent Oord
November 29, 2011
Programming
2
310
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
47
Practical TDD
vindia
1
190
Other Decks in Programming
See All in Programming
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
250
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
260
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
4
2k
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
Nuxt Server Components
wattanx
0
140
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
260
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
200
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
160
モダンOBSプラグイン開発
umireon
0
180
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
250
The free-lunch guide to idea circularity
hollycummins
0
370
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Automating Front-end Workflow
addyosmani
1370
200k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
A Tale of Four Properties
chriscoyier
163
24k
The agentic SEO stack - context over prompts
schlessera
0
720
Scaling GitHub
holman
464
140k
Unsuck your backbone
ammeep
672
58k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
850
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
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