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
83
Pitching Prepend
amrnt
2
320
Prototyping Prepend
amrnt
2
240
Other Decks in Programming
See All in Programming
iOSエンジニアから始める visionOS アプリ開発
nao_randd
3
120
技術を根付かせる / How to make technology take root
kubode
1
240
AHC041解説
terryu16
0
590
Open source software: how to live long and go far
gaelvaroquaux
0
620
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
CI改善もDatadogとともに
taumu
0
110
Conform を推す - Advocating for Conform
mizoguchicoji
3
680
『品質』という言葉が嫌いな理由
korimu
0
160
チームリードになって変わったこと
isaka1022
0
190
Domain-Driven Transformation
hschwentner
2
1.9k
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
41
15k
Unity Android XR入門
sakutama_11
0
140
Featured
See All Featured
A better future with KSS
kneath
238
17k
The Pragmatic Product Professional
lauravandoore
32
6.4k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Docker and Python
trallard
44
3.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
31
2.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Into the Great Unknown - MozCon
thekraken
35
1.6k
Raft: Consensus for Rubyists
vanstee
137
6.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
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