Get Off My Grass: Weeding Out Logic with Presenters (THAT 2019)

Get Off My Grass: Weeding Out Logic with Presenters (THAT 2019)

Logic in the view layer is a bit of a dandelion on the lawn. What starts with one or two cases often grows and grows to the point of the markup lawn being unrecognizable. Just as I love weeding my yard, I love to refactor brittle controller-view relationships with presenter objects.

In this talk, I'll cover the theory behind the presenter pattern, why it's useful, and breakdown a real-world example where a presenter was the proverbial "right tool for the job". You will learn how to use presenters to let controllers focus on integration and views on displaying data. Lawn care not included.

481a1f18bdd124c255bcf9e79a281ec3?s=128

tmikeschu

August 08, 2019
Tweet