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
880
The Ecological Impact of Compute
sethvargo
6
290
Using Terraform with AWS
sethvargo
2
750
Scheduling Applications at Scale
sethvargo
6
510
Easy Ruby Development and Deployment with Otto
sethvargo
0
250
Building the World's Largest Websites
sethvargo
5
540
Consul as a Monitoring Service
sethvargo
22
4k
Introduction to Vault
sethvargo
10
2.9k
Vagrant 101 for Designers and Frontend Engineers
sethvargo
1
530
Other Decks in Technology
See All in Technology
Railsの話をしよう
yahonda
0
170
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
240
今この時代に技術とどう向き合うべきか
gree_tech
PRO
2
2.1k
Digitization部 紹介資料
sansan33
PRO
1
5.6k
OCIjp_Oracle AI World_Recap
shinpy
1
150
AWS UG Grantでグローバル20名に選出されてre:Inventに行く話と、マルチクラウドセキュリティの教科書を執筆した話 / The Story of Being Selected for the AWS UG Grant to Attending re:Invent, and Writing a Multi-Cloud Security Textbook
yuj1osm
1
110
GoでもGUIアプリを作りたい!
kworkdev
PRO
0
160
Kubernetes self-healing of your workload
hwchiu
0
310
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
事業開発におけるDify活用事例
kentarofujii
4
1.2k
[2025年10月版] Databricks Data + AI Boot Camp
databricksjapan
1
230
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
430
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
What's in a price? How to price your products and services
michaelherold
246
12k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Mobile First: as difficult as doing things right
swwweet
225
10k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Context Engineering - Making Every Token Count
addyosmani
7
280
Measuring & Analyzing Core Web Vitals
bluesmoon
9
630
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
560
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