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
220
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
630
GIT - Good Practices
wafcio
0
75
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
180
Dry System
wafcio
0
110
dry-validations
wafcio
0
170
Validations in Ruby
wafcio
0
190
Generating a CSV file with ROM
wafcio
0
320
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
180
Jak (nie) używać Service Object
wafcio
0
210
Other Decks in Programming
See All in Programming
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
890
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
870
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
350
SODA - FACT BOOK(JP)
sodainc
1
8.6k
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
4.3k
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
AI Agent 時代的開發者生存指南
eddie
4
2.1k
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
250
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
6.1k
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.4k
Developer Joy - The New Paradigm
hollycummins
1
350
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
250
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Gamification - CAS2011
davidbonilla
81
5.5k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
A better future with KSS
kneath
239
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Site-Speed That Sticks
csswizardry
13
920
Speed Design
sergeychernyshev
32
1.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.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