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
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
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
180
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
220
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
190
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
150
AWS Network Firewall Proxyを触ってみた
nagisa53
1
220
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
220
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
AI駆動開発を事業のコアに置く
tasukuonizawa
1
170
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
How to train your dragon (web standard)
notwaldorf
97
6.5k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Being A Developer After 40
akosma
91
590k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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