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
230
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
850
The Ecological Impact of Compute
sethvargo
6
270
Using Terraform with AWS
sethvargo
2
660
Scheduling Applications at Scale
sethvargo
6
480
Easy Ruby Development and Deployment with Otto
sethvargo
0
210
Building the World's Largest Websites
sethvargo
5
500
Consul as a Monitoring Service
sethvargo
22
3.8k
Introduction to Vault
sethvargo
10
2.6k
Vagrant 101 for Designers and Frontend Engineers
sethvargo
1
500
Other Decks in Technology
See All in Technology
サービス開発におけるVue3とTypeScriptの親和性について
tsukuha
10
1.8k
Cloudflare WorkersがPythonに対応したので試してみた
miura55
0
190
Databricksの生成AI戦略
taka_aki
1
360
ハードウェアを動かすTypeScriptの世界
9wick
3
1.2k
生成AIがもたらす変革 / GitHubGalaxy_CyberAgent
cyberagentdevelopers
PRO
2
110
5分で分かる(かもしれない) Vector engine for OpenSearch Serverless
tsukuboshi
1
400
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
36k
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
120
技術力の伸ばし方を考える
khirata
0
140
データ分析力を高めるSQL研修サービス『SQL Everyone』
hikarut
1
390
「知的単純作業」を自動化する、地に足の着いた大規模言語モデル (LLM) の活用
nrryuya
8
8.2k
本番環境で Cloudflareを 使ってみた話
miu_crescent
2
120
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
It's Worth the Effort
3n
180
27k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
The Invisible Side of Design
smashingmag
294
49k
Building Applications with DynamoDB
mza
88
5.7k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
How GitHub (no longer) Works
holman
305
140k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
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