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
260
Using Terraform with AWS
sethvargo
2
650
Scheduling Applications at Scale
sethvargo
6
480
Easy Ruby Development and Deployment with Otto
sethvargo
0
200
Building the World's Largest Websites
sethvargo
5
490
Consul as a Monitoring Service
sethvargo
22
3.7k
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
Tohoku.Tech #1 「Cursorを使ったRaspberry Piの開発」by ねこまた
jun2882
0
250
これまでのキャリアとこれからMLエンジニアとしてどう動くか
masatakashiwagi
0
320
なんで私に登壇依頼が?! ~頼られるエンジニアになるためには~ /
mixi_engineers
PRO
2
200
匠MethodとRDRAとICONIXとDDDで実現する一気通貫オブジェクト指向開発
haru860
4
2k
私のRSpecの書き方 / How I write RSpec
tmtms
4
820
Ask-LLM論文紹介: How to Train Data-Efficient LLMs
s_ota
0
110
任意コード実行の原理
ffri
0
170
KubeCon EU 2024 : Knative Maintainers Session
salaboy
0
370
技術広報として2023年度に頑張ったこと / What we did well in FY2023 as a DevRel
pauli
5
460
大規模データとの戦い方
knih
1
460
.NETの非同期戦略とUnityとの相互運用
neuecc
2
2.4k
2023 Japan AWS Jr.Championsに選出されての振り返りとこれから
hiropy877
1
130
Featured
See All Featured
A Philosophy of Restraint
colly
195
15k
Scaling GitHub
holman
456
140k
Bash Introduction
62gerente
604
210k
Debugging Ruby Performance
tmm1
68
11k
Rebuilding a faster, lazier Slack
samanthasiow
72
8.2k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
How STYLIGHT went responsive
nonsquared
92
4.7k
Happy Clients
brianwarren
91
6.3k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
It's Worth the Effort
3n
180
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
319
23k
The Art of Programming - Codeland 2020
erikaheidi
40
12k
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