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
190
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
570
GIT - Good Practices
wafcio
0
54
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
140
Dry System
wafcio
0
89
dry-validations
wafcio
0
150
Validations in Ruby
wafcio
0
160
Generating a CSV file with ROM
wafcio
0
270
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
140
Jak (nie) używać Service Object
wafcio
0
170
Other Decks in Programming
See All in Programming
仕様変更に耐えるための"今の"DRY原則を考える
mkmk884
9
3k
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
220
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
140
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
830
GAEログのコスト削減
mot_techtalk
0
120
React 19アップデートのために必要なこと
uhyo
7
1.3k
Rails アプリ地図考 Flush Cut
makicamel
1
130
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
4
160
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
240
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
1
210
Code smarter, not harder - How AI Coding Tools Boost Your Productivity | Angular Meetup Berlin
danielsogl
0
100
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
6
2.2k
Featured
See All Featured
A better future with KSS
kneath
238
17k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Done Done
chrislema
182
16k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Practical Orchestrator
shlominoach
186
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
430
Code Reviewing Like a Champion
maltzj
521
39k
How to train your dragon (web standard)
notwaldorf
91
5.9k
A Philosophy of Restraint
colly
203
16k
YesSQL, Process and Tooling at Scale
rocio
172
14k
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