Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AxR - architecture approach for the best ruby p...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Volodya Sveredyuk
February 06, 2020
Technology
7
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AxR - architecture approach for the best ruby programs
RUG::B, Berlin, 6.02.2020
Volodya Sveredyuk
February 06, 2020
More Decks by Volodya Sveredyuk
See All by Volodya Sveredyuk
TDD for Rails devs. The long story.
sveredyuk
1
74
Other Decks in Technology
See All in Technology
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
180
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
hackers_champloo_2026_tidb
makocchi
0
160
パッチ更新でterraform initが落ちた日
grimoh
1
140
Optunaの最新リリースv5.0について
pfn
PRO
0
120
go-sqletch
moznion
0
140
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
100
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
夫婦で子育てするための育児標準化
codmoninc
PRO
0
340
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
大型犬好きによるPugの紹介
yamanoku
1
160
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Optimizing for Happiness
mojombo
378
71k
Everyday Curiosity
cassininazir
0
350
How to Talk to Developers About Accessibility
jct
2
580
Product Roadmaps are Hard
iamctodd
55
13k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Transcript
Volodya Sveredyuk Lviv, Ukraine @sveredyuk
None
None
None
PIVORAK.COM
None
None
Welcome ❤ Next Pivorak Apr 24th
https: // www.youtube.com/channel/ UCPsfLdQH_0CaDIe4imm7bMA
AxR architecture approach for the best ruby programs
ME > Delphi, PHP, JS, Ruby, Elixir > 20+ rails
projects in production > TDD > DDD > Hate complexity
560 pages
106 pages
Programmers suffer from only 2 illnesses Scoliosis Rewrite everything
Cool things it’s not about complexity
Cool things it’s about simplicity and discipline
Simple
Even simpler
> DIRECTORIES STRUCTURE ? > USED PATTERNS ? > _________
? RAILS ARCHITECT ?!_!$ #?!
Architecture it’s not about code
It’s about How to put things together
API REPO LOGIC PRESENTATION INTEGRATION VALIDATION PERMISSION NOTIFICATION AUTH KNOWLEDGE
SHARING
API REPO LOGIC PRESENTATION INTEGRATION VALIDATION PERMISSION NOTIFICATION AUTH KNOWLEDGE
LAYERING
API REPO BUSINESS A R X
How to implement this?
We have Modules
API -> Logic
Service Facade
Logic -> Repo
None
github.com/sveredyuk/axr
AxR DSL
axr check —load your_app.rb
Knowledge responsibility violation
None
rimark.io Real project case
Layers API RIMARK REPO STORE REMOTE
config/initializers/axr.rb
Surprise o_O
Real project case
axr check
Rails Way
Legacy
Refactoring friendly
PROS vs CONS • Simple • Flexible • Checker •
Framework agnostic • Refactoring friendly • Too simple • Team adoption • Discipline • Not popular • Self made
Thank you!