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
71
Measure Everything
arikfr
2
79
Other Decks in Programming
See All in Programming
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
420
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
110
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
800
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
750
システム成長を止めない!本番無停止テーブル移行の全貌
sakawe_ee
1
160
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
3
6k
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
550
Is Xcode slowly dying out in 2025?
uetyo
1
260
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
770
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
150
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
160
ふつうの技術スタックでアート作品を作ってみる
akira888
0
460
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Unsuck your backbone
ammeep
671
58k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Six Lessons from altMBA
skipperchong
28
3.9k
Embracing the Ebb and Flow
colly
86
4.7k
It's Worth the Effort
3n
185
28k
How GitHub (no longer) Works
holman
314
140k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
52k
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