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
530
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
130
Generating a CSV file with ROM
wafcio
0
230
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
110
Jak (nie) używać Service Object
wafcio
0
140
Other Decks in Programming
See All in Programming
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
150
Scala アプリケーションのビルドを改善してデプロイ時間を 1/4 にした話 | How I improved the build of my Scala application and reduced deployment time by 4x
nomadblacky
1
150
Jakarta EE meets AI
ivargrimstad
1
230
エラーレスポンス設計から考える、0→1開発におけるGraphQLへの向き合い方
bicstone
5
1.5k
デザインシステムとコンポーネント指向によるフロントエンド開発プロセスの革新 / Innovation in Frontend Development Processes through Design Systems and Component-Oriented Architecture
nrslib
8
5.3k
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
270
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
110
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
240
New Order in Cascade Sorting Order
mugi_uno
3
2.6k
Appleの新しいプライバシー要件対応: ノーコードアプリ プラットフォームの実践事例
nao_randd
1
610
GoのIteratorに詳しくなってしまう
inatonix
1
200
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
240
Featured
See All Featured
The Mythical Team-Month
searls
218
43k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
What's in a price? How to price your products and services
michaelherold
242
11k
No one is an island. Learnings from fostering a developers community.
thoeni
18
2.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
YesSQL, Process and Tooling at Scale
rocio
167
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
Raft: Consensus for Rubyists
vanstee
135
6.5k
How to train your dragon (web standard)
notwaldorf
85
5.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