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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
400
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
260
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
240
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
11
4.1k
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
250
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.3k
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
130
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
160
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
200
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
630
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Music & Morning Musume
bryan
47
7.2k
Unsuck your backbone
ammeep
672
58k
Chasing Engaging Ingredients in Design
codingconduct
0
220
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
The Spectacular Lies of Maps
axbom
PRO
1
810
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
620
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
180
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
530
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
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