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
MVC + Rails
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Seth Vargo
March 30, 2013
Technology
4
250
MVC + Rails
These are the slides from the talk I gave at a Scotty Labs event at Carnegie Mellon University.
Seth Vargo
March 30, 2013
Tweet
Share
More Decks by Seth Vargo
See All by Seth Vargo
Taming the Modern Data Center
sethvargo
11
900
The Ecological Impact of Compute
sethvargo
6
300
Using Terraform with AWS
sethvargo
2
770
Scheduling Applications at Scale
sethvargo
6
520
Easy Ruby Development and Deployment with Otto
sethvargo
0
260
Building the World's Largest Websites
sethvargo
5
560
Consul as a Monitoring Service
sethvargo
22
4.1k
Introduction to Vault
sethvargo
10
2.9k
Vagrant 101 for Designers and Frontend Engineers
sethvargo
1
550
Other Decks in Technology
See All in Technology
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
770
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
400
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
180
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.6k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
400
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
180
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
今こそ学びたいKubernetesネットワーク ~CNIが繋ぐNWとプラットフォームの「フラッと」な対話
logica0419
5
400
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
150
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
240
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
Statistics for Hackers
jakevdp
799
230k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
340
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Exploring anti-patterns in Rails
aemeredith
2
250
Discover your Explorer Soul
emna__ayadi
2
1.1k
Navigating Team Friction
lara
192
16k
Producing Creativity
orderedlist
PRO
348
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
68
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Transcript
MVC Magical Vegetarian Cars
design pattern
model
model
model queries
model queries
model queries results
model queries results
controller glue component middleman
controller glue component middleman @variable session helpers
view @variable session helpers
view @variable session helpers
view @variable session helpers
view @variable session helpers
view model controller
view model controller
view model controller
view model controller
view model controller BAD
None
view model controller
controller router /posts/1
controllers router /posts/1
controllers router ? /posts/1
controllers router router
Sooo... Rails?
Ruby on Rails, often shortened to Rails, is an open
source web application framework for the Ruby programming language.
Rails is a web application framework written in Ruby
Rails is an MVC framework
Rails is an MVC framework + some sugar
Don't do what I do!
Data Modeling
1. Entity Identification 2. Relationship Correlation 3. Attribute Definition 4.
Type Definition
1. Entity Identification 2. Relationship Correlation 3. Attribute Definition 4.
Type Definition
1. Entity Identification 2. Relationship Correlation 3. Attribute Definition 4.
Type Definition
1. Entity Identification 2. Relationship Correlation 3. Attribute Definition 4.
Type Definition
None