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
Why not to use Rails? (actually it's when not t...
Search
Arik Fraimovich
November 12, 2012
Programming
2
210
Why not to use Rails? (actually it's when not to use Rails)
My Rails Israel 2012 conference talk.
Arik Fraimovich
November 12, 2012
Tweet
Share
More Decks by Arik Fraimovich
See All by Arik Fraimovich
Reversim Summit 2014: re:dash a new way to query, visualize and collaborate on data
arikfr
0
130
String Calculator Kata
arikfr
0
73
Measure Everything
arikfr
2
81
Other Decks in Programming
See All in Programming
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
110
はじめてのMaterial3 Expressive
ym223
2
900
個人軟體時代
ethanhuang13
0
330
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
Kiroで始めるAI-DLC
kaonash
2
620
概念モデル→論理モデルで気をつけていること
sunnyone
3
300
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
11
4.4k
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
Deep Dive into Kotlin Flow
jmatsu
1
370
AIでLINEスタンプを作ってみた
eycjur
1
230
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
BBQ
matthewcrist
89
9.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Docker and Python
trallard
46
3.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Unsuck your backbone
ammeep
671
58k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
The Invisible Side of Design
smashingmag
301
51k
KATA
mclloyd
32
14k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Transcript
Rails Israel 2012 Why not to use Rails? Monday, November
12, 12
Arik Fraimovich @arikfr TRuby Podcast Monday, November 12, 12
actually... Why use Rails at all? Monday, November 12, 12
Monday, November 12, 12
• Community Monday, November 12, 12
• Community • Ruby Gems Monday, November 12, 12
• Community • Ruby Gems • Simplicity Monday, November 12,
12
• Community • Ruby Gems • Simplicity • Convention over
configuration Monday, November 12, 12
• Community • Ruby Gems • Simplicity • Convention over
configuration • Choices that are made for you Monday, November 12, 12
• Community • Ruby Gems • Simplicity • Convention over
configuration • Choices that are made for you Monday, November 12, 12
Monday, November 12, 12
When not to use Rails? Monday, November 12, 12
general purpose libraries (gems) Monday, November 12, 12
for the simple stuff Monday, November 12, 12
for large web application or anything that isn’t a web
application Monday, November 12, 12
“Our tools shape our thinking.” @drnic Monday, November 12, 12
Monday, November 12, 12
• Everything is sort of global, no need for require
• (Usually) no namespacing • Everything in the context of HTTP request Monday, November 12, 12
No need to require? Monday, November 12, 12
• Sounds nice at the beginning No need to require?
Monday, November 12, 12
• Sounds nice at the beginning • But then it
starts to creep on you and everything becomes sllllowww... No need to require? Monday, November 12, 12
• Sounds nice at the beginning • But then it
starts to creep on you and everything becomes sllllowww... • Slow boot time No need to require? Monday, November 12, 12
• Sounds nice at the beginning • But then it
starts to creep on you and everything becomes sllllowww... • Slow boot time • Slow specs No need to require? Monday, November 12, 12
• Sounds nice at the beginning • But then it
starts to creep on you and everything becomes sllllowww... • Slow boot time • Slow specs • Slow everything No need to require? Monday, November 12, 12
Solution? Spork (Zeus?) Monday, November 12, 12
Solution? Spork (Zeus?) Monday, November 12, 12
The common Rails app. Monday, November 12, 12
The Rails app you want Monday, November 12, 12
Engines Monday, November 12, 12
Wagons Monday, November 12, 12
What about the everything in “HTTP context”? Monday, November 12,
12
Good question. Monday, November 12, 12
No good answers* * from me. yet. Monday, November 12,
12
Some Pointers Monday, November 12, 12
Some Pointers • Actor Model - “easy” concurrency. Popular implementation
in Ruby: Celluloid Monday, November 12, 12
Some Pointers • Actor Model - “easy” concurrency. Popular implementation
in Ruby: Celluloid • JRuby Monday, November 12, 12
Some Pointers • Actor Model - “easy” concurrency. Popular implementation
in Ruby: Celluloid • JRuby • TorqueBox Monday, November 12, 12
Wrap up Monday, November 12, 12
• Use Rails, but remember there are other things out
there Wrap up Monday, November 12, 12
• Use Rails, but remember there are other things out
there • Use Rails “carefully”, as your project grows Wrap up Monday, November 12, 12
• Use Rails, but remember there are other things out
there • Use Rails “carefully”, as your project grows • Don’t forget that not everything is a nail Wrap up Monday, November 12, 12
• Use Rails, but remember there are other things out
there • Use Rails “carefully”, as your project grows • Don’t forget that not everything is a nail • And most important: keep using Ruby. It’s awesome Wrap up Monday, November 12, 12
Questions? @arikfr Monday, November 12, 12
• Architecture The Lost Years • Wrangling Large Rails Codebases
• Hexagonal Rails • Celluloid • JRuby • TorqueBox • About concurrency and the GIL • Images taken shamelessly from Google. Monday, November 12, 12