Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Trailblazer bez trailblazera
Krzysztof Wawer
March 18, 2015
Programming
0
83
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
160
GIT - Good Practices
wafcio
0
32
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
74
Dry System
wafcio
0
65
dry-validations
wafcio
0
100
Validations in Ruby
wafcio
0
37
Generating a CSV file with ROM
wafcio
0
110
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
66
Jak (nie) używać Service Object
wafcio
0
82
Other Decks in Programming
See All in Programming
TechFeed Conference 2022 - Kotlin Experimental
jmatsu
0
480
LOWYAの信頼性向上とNew Relic
kazumax55
4
300
New Relicを使った Observabilityの実現方法と活用例 / gocon 2022 spring after talk
budougumi0617
0
860
Securing Kafka Connect Pipelines with Client-Side Field Level Cryptography @ Kafka Summit London 2022
hpgrahsl
0
300
Becoming an Android Librarian
skydoves
3
410
Monadic Java
mariofusco
4
250
How useEvent would change our applications
koba04
1
1.3k
Node.js 最新動向 TFCon 2022
yosuke_furukawa
PRO
5
2.5k
よりUXに近いSLI・SLOの運用による可用性の再設計
kazumanagano
3
440
Nix for Scala folks
kubukoz
0
120
職場にPythonistaを増やす方法
soogie
0
170
Improve Build Times in Less Time
zacsweers
6
2.7k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
24
6.1k
Gamification - CAS2011
davidbonilla
75
3.9k
Product Roadmaps are Hard
iamctodd
34
6.1k
Done Done
chrislema
174
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
37
3.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
Git: the NoSQL Database
bkeepers
PRO
415
59k
Fireside Chat
paigeccino
11
1.2k
A Tale of Four Properties
chriscoyier
149
20k
Build your cross-platform service in a week with App Engine
jlugia
219
17k
Web Components: a chance to create the future
zenorocha
303
40k
YesSQL, Process and Tooling at Scale
rocio
157
12k
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