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
81
Pitching Prepend
amrnt
2
310
Prototyping Prepend
amrnt
2
240
Other Decks in Programming
See All in Programming
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
15
2.3k
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
Functional Event Sourcing using Sekiban
tomohisa
0
110
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
120
Missing parts when designing and implementing Android UI
ericksli
0
200
受け取る人から提供する人になるということ
little_rubyist
0
250
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
290
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
140
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2.1k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Writing Fast Ruby
sferik
627
61k
Code Review Best Practice
trishagee
64
17k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Music & Morning Musume
bryan
46
6.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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