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
200
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
120
String Calculator Kata
arikfr
0
64
Measure Everything
arikfr
2
74
Other Decks in Programming
See All in Programming
Arm移行タイムアタック
qnighy
0
330
Quine, Polyglot, 良いコード
qnighy
4
640
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
RubyLSPのマルチバイト文字対応
notfounds
0
120
Jakarta EE meets AI
ivargrimstad
0
190
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Code Reviewing Like a Champion
maltzj
520
39k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
What's in a price? How to price your products and services
michaelherold
243
12k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Statistics for Hackers
jakevdp
796
220k
Done Done
chrislema
181
16k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Music & Morning Musume
bryan
46
6.2k
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