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
How Do I Really Use Rails
Search
Amr Tamimi
October 09, 2013
Programming
2
120
How Do I Really Use Rails
Tel Aviv, Oct 9, 2013
Amr Tamimi
October 09, 2013
Tweet
Share
More Decks by Amr Tamimi
See All by Amr Tamimi
Learn Ruby for Good
amrnt
0
120
Front-end Web Development — Ruby to the Rescue!
amrnt
5
150
Ruby Day @ Ramallah
amrnt
0
79
Pitching Prepend
amrnt
2
310
Prototyping Prepend
amrnt
2
240
Other Decks in Programming
See All in Programming
Macとオーディオ再生 2024/11/02
yusukeito
0
150
現場で役立つモデリング 超入門
masuda220
PRO
12
2.9k
Vue.js学習の振り返り
hiro_xre
2
130
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
110
Vitest Browser Mode への期待 / Vitest Browser Mode
odanado
PRO
2
1.7k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
260
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
23k
Piniaの現状と今後
waka292
5
1.4k
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.7k
Realtime API 入門
riofujimon
0
100
Why Spring Matters to Jakarta EE - and Vice Versa
ivargrimstad
0
950
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
130
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Writing Fast Ruby
sferik
626
61k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
790
Building an army of robots
kneath
302
42k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Rails Girls Zürich Keynote
gr2m
93
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Making the Leap to Tech Lead
cromwellryan
132
8.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Why Our Code Smells
bkeepers
PRO
334
57k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Transcript
Rails? Keep the good parts and move out the the
heavy jobs ——————————— • ——————————— How do I really use Amr Tamimi • @amrnt RailsIsrael • Tel Aviv • October 09, 2013
CONTROLLERS MODELS VIEWS as we know it RAILS
CONTROLLERS MODELS VIEWS CONCERNS LAYOUTS PRESENTERS PARTIALS MAILERS MIDDLEWARES RACK
RAILTIE RAILS • • WORKERS ASSETS PIPELINE as we know it LIVE TEST
Ordinary Rails app
This is too much, Rails.
Problems?
Resource Usage it matters
Realtime Systems
API-first web app
and
MVC Dead is Some say... http://cirw.in/blog/time-to-move-on
KISS BIG & don’t mix
Team The working on the same project — but separated
so
AND GO BIG BREAK THINGS
None
API Client App JSON, XML, ... Controllers Database Presenters Assets
Views Images, CSS, JS, ... Workers Layouts, partials, ... Let’s do some stuff in the background Models, logic, ... REST, Auth, ...
API Client App RABL, jBuilder Rails - Workers ActiveRecord, DataMapper,
... Grape, Sinatra, E, ... Sidekiq, Resque, DelayedJob ...
recap
Rails is awesome we all agree
Rails is kinda heavy
and needs N of machines to scale
use the parts that don’t hurt
do what makes you happy
——————————— • ——————————— Thank you Amr Tamimi @amrnt