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
870
The Ecological Impact of Compute
sethvargo
6
280
Using Terraform with AWS
sethvargo
2
720
Scheduling Applications at Scale
sethvargo
6
500
Easy Ruby Development and Deployment with Otto
sethvargo
0
220
Building the World's Largest Websites
sethvargo
5
530
Consul as a Monitoring Service
sethvargo
22
3.9k
Introduction to Vault
sethvargo
10
2.8k
Vagrant 101 for Designers and Frontend Engineers
sethvargo
1
520
Other Decks in Technology
See All in Technology
【詳説】コンテンツ配信 システムの複数機能 基盤への拡張
hatena
0
180
人はなぜISUCONに夢中になるのか
kakehashi
PRO
6
1.8k
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
100
AWSを活用したIoTにおけるセキュリティ対策のご紹介
kwskyk
0
280
わたしがEMとして入社した「最初の100日」の過ごし方 / EMConfJp2025
daiksy
13
3.6k
Windows の新しい管理者保護モード
murachiakira
0
190
RemoveだらけのPHPUnit 12に備えよう
cocoeyes02
0
130
The Future of SEO: The Impact of AI on Search
badams
0
260
「正しく」失敗できる チームの作り方 〜リアルな事例から紐解く失敗を恐れない組織とは〜 / A team that can fail correctly
i35_267
2
700
JavaにおけるNull非許容性
skrb
1
400
MIMEと文字コードの闇
hirachan
2
1.4k
コンテナサプライチェーンセキュリティ
kyohmizu
1
130
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Done Done
chrislema
182
16k
Agile that works and the tools we love
rasmusluckow
328
21k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
We Have a Design System, Now What?
morganepeng
51
7.4k
Building Adaptive Systems
keathley
40
2.4k
Documentation Writing (for coders)
carmenintech
67
4.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
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