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
Trailblazer bez trailblazera
Search
Krzysztof Wawer
March 18, 2015
Programming
0
140
Trailblazer bez trailblazera
Krzysztof Wawer
March 18, 2015
Tweet
Share
More Decks by Krzysztof Wawer
See All by Krzysztof Wawer
The Good Architecture
wafcio
0
490
GIT - Good Practices
wafcio
0
44
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
120
Dry System
wafcio
0
82
dry-validations
wafcio
0
130
Validations in Ruby
wafcio
0
98
Generating a CSV file with ROM
wafcio
0
190
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
98
Jak (nie) używać Service Object
wafcio
0
120
Other Decks in Programming
See All in Programming
『データ可視化学入門』をPythonからRに翻訳した話(増強版)
bob3bob3
0
280
Deep Dive into the Symfony Security Component
hhamon
1
180
生成 AI の中身を覗いてみよう〜基礎から医療現場での応用まで〜
soh9834
2
700
Honoとhtmx
yusukebe
6
1.1k
Laravel標準バリデーションでできること
hmb_ok
1
330
架空のコンペ_スクワットフォーム判別コンペの解法
cpptake
0
420
iOS / Android ネイティブ 実装アプリの Flutter 化事例
mthiroshi
0
650
マイ隙間家具OSSたちのご紹介
karupanerura
2
120
Learning PHP and Static Analysis with PHP Parser
inouehi
1
220
BuefyのMaintainerを引き継いだ件
kikuomax
0
320
PHPカンファレンス関西2024でLTとスタッフした
ohmori_yusuke
2
120
とにかくHTTP3をライトニングに話す / Anyway, I'll talk to Lightning about HTTP3.
seike460
PRO
0
110
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
How to Ace a Technical Interview
jacobian
272
22k
GitHub's CSS Performance
jonrohan
1023
450k
We Have a Design System, Now What?
morganepeng
42
6.7k
Web Components: a chance to create the future
zenorocha
304
41k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
219
21k
How GitHub (no longer) Works
holman
301
140k
Rails Girls Zürich Keynote
gr2m
91
13k
Ruby is Unlike a Banana
tanoku
95
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
67
38k
Building a Modern Day E-commerce SEO Strategy
aleyda
15
6.3k
Navigating Team Friction
lara
177
13k
Transcript
TRAILBLAZER bez Trailblazera !
Krzysztof Wawer GITHUB: wafcio TWITTER: @KrzysztofWawer O MNIE
None
None
reform roar View Model (Presenter)
REFORM • Form Object • opcjonalna integracja z ActiveRecord •
zagnieżdżone formularze przykład: https://github.com/gogogarrett/reform_example
REFORM Alternatywa -> np. Virtus https://github.com/solnic/virtus
ROAR representable roar roar-rails Mapowanie klas do JSON, XML
ROUTING ZASOBÓW W RUBY ON RAILS destroy update edit show
create new index
OPERATION 1. wyświetlenie formularza 2. wykonanie operacji 3. wyświetlenie wyniku
https://github.com/apotonick/gemgem-trbrb/blob/master/app/concepts/comment/crud.rb https://github.com/apotonick/gemgem-trbrb/blob/master/app/concepts/thing/crud.rb
OPERATION Alternatywa: • Virtus (jako contract) • ServiceObject (jako process)
CELL • View Model • brak helperów, czy na pewno
? https://github.com/apotonick/cells
CELL Alternatywa: • Kontroler • Widok
WNIOSKI • Trailblazer - więcej „magii” • Tylko Ruby on
Rails • „Buy my book on leanpub…” - zdecyduj sam
KONIEC