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
160
Ruby Day @ Ramallah
amrnt
0
82
Pitching Prepend
amrnt
2
320
Prototyping Prepend
amrnt
2
240
Other Decks in Programming
See All in Programming
Оптимизируем производительность блока Казначейство
lamodatech
0
880
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1k
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.1k
103 Early Hints
sugi_0000
1
330
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
600
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.2k
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
360
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
240
テストケースの名前はどうつけるべきか?
orgachem
PRO
1
180
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
350
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
500
快速入門可觀測性
blueswen
0
480
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Producing Creativity
orderedlist
PRO
343
39k
Writing Fast Ruby
sferik
628
61k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
A Tale of Four Properties
chriscoyier
157
23k
Music & Morning Musume
bryan
46
6.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
490
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