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
160
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
540
GIT - Good Practices
wafcio
0
45
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
120
Dry System
wafcio
0
87
dry-validations
wafcio
0
140
Validations in Ruby
wafcio
0
140
Generating a CSV file with ROM
wafcio
0
240
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
110
Jak (nie) używać Service Object
wafcio
0
150
Other Decks in Programming
See All in Programming
Tuning GraphQL on Rails
pyama86
2
1k
Golang と Erlang
taiyow
8
1.9k
Nuxtベースの「WXT」でChrome拡張を作成する | Vue Fes 2024 ランチセッション
moshi1121
1
520
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
現場で役立つモデリング 超入門
masuda220
PRO
13
2.9k
Synchronizationを支える技術
s_shimotori
1
150
Hotwire or React? ~Reactの録画機能をHotwireに置き換えて得られた知見~ / hotwire_or_react
harunatsujita
8
4.1k
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
Android 15 でアクションバー表示時にステータスバーが白くなってしまう問題
tonionagauzzi
0
140
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
440
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
Piniaの現状と今後
waka292
5
1.5k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Music & Morning Musume
bryan
46
6.1k
A Philosophy of Restraint
colly
203
16k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
What's in a price? How to price your products and services
michaelherold
243
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
Being A Developer After 40
akosma
86
590k
The Invisible Side of Design
smashingmag
297
50k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
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