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
Cleaning up your views
Search
Rebecca Miller-Webster
April 03, 2013
Technology
2
130
Cleaning up your views
Rebecca Miller-Webster
April 03, 2013
Tweet
Share
More Decks by Rebecca Miller-Webster
See All by Rebecca Miller-Webster
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Trust & Teams: 2019 Chicago CTO Summit
rmw
2
330
Refactoring Trust on Your Team (CTO Summit 2018)
rmw
1
1.4k
Trust and Teams: GORUCO 2017
rmw
0
260
Becoming an Engineer Leader Panel Intro Slide
rmw
0
330
Frameworks for Feedback (Long version) - 2016 May Self Conference
rmw
2
970
Frameworks for Feedback (2015 May - RailsConf)
rmw
1
520
Frameworks for Feedback - DevOpsDays Chicago
rmw
0
940
Tech Talk 101: Topic Generation
rmw
0
410
Other Decks in Technology
See All in Technology
Knowledge Work の AI Backend
kworkdev
PRO
0
340
Redshift認可、アップデートでどう変わった?
handy
1
120
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
170
Agent Skillsがハーネスの垣根を超える日
gotalab555
7
5k
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
4.2k
Strands AgentsのEvaluatorをLangfuseにぶち込んでみた
andoooooo_bb
0
110
[2025-12-12]あの日僕が見た胡蝶の夢 〜人の夢は終わらねェ AIによるパフォーマンスチューニングのすゝめ〜
tosite
0
230
2025年 山梨の技術コミュニティを振り返る
yuukis
0
140
「リリースファースト」の実感を届けるには 〜停滞するチームに変化を起こすアプローチ〜 #RSGT2026
kintotechdev
0
260
AIと融ける人間の冒険
pujisi
0
100
202512_AIoT.pdf
iotcomjpadmin
0
170
LayerX QA Night#1
koyaman2
0
300
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
880
エンジニアに許された特別な時間の終わり
watany
106
220k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
360
Designing for Timeless Needs
cassininazir
0
110
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
99
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
70k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
76
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Ethics towards AI in product and experience design
skipperchong
1
150
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.2k
Transcript
Cleaning up views with Decorators & Helpers Rebecca Miller-Webster
None
None
• logic in views is harder to test • views
are difficult to reason about Problem: Our Views are messy WTF is happening here??
Decorators & Helpers WHEN SHIT GETS COMPLICATED
Decorators Logic moves with the OBJECT Helpers Logic moves with
the VIEW
This
TO
How?
Generate classes
None
Generate Copy
Encapsulate repetition in partials Sometimes zero Sometimes one Sometimes two
None
Generate html attributes From TO WITH
Thank you!