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
230
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
640
GIT - Good Practices
wafcio
0
83
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
190
Dry System
wafcio
0
110
dry-validations
wafcio
0
190
Validations in Ruby
wafcio
0
200
Generating a CSV file with ROM
wafcio
0
330
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
190
Jak (nie) używać Service Object
wafcio
0
220
Other Decks in Programming
See All in Programming
開発に寄りそう自動テストの実現
goyoki
2
1.5k
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
200
Cell-Based Architecture
larchanjo
0
150
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
120
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
200
Basic Architectures
denyspoltorak
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
470
マスタデータ問題、マイクロサービスでどう解くか
kts
0
150
tparseでgo testの出力を見やすくする
utgwkk
2
310
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
320
Cap'n Webについて
yusukebe
0
150
Python札幌 LT資料
t3tra
7
1.1k
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
The Limits of Empathy - UXLibs8
cassininazir
1
200
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
40
How STYLIGHT went responsive
nonsquared
100
6k
Discover your Explorer Soul
emna__ayadi
2
1k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Curse of the Amulet
leimatthew05
0
5.9k
AI: The stuff that nobody shows you
jnunemaker
PRO
1
35
Navigating Team Friction
lara
191
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Un-Boring Meetings
codingconduct
0
170
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
33
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