“Code should have a clear separation between logic, data, and presentation.” This sounds like an obvious and straightforward piece of advice. But when we get into the thick of coding up a user interface, the lines can blur. Sometimes it’s not clear whether some logic belongs in the model or in the view layer.
Today guest chef Federico Iachetti returns to demonstrate how Presenter Objects can neatly encapsulate the gray areas between data and display. You’ll also see how presenters can help customize the presentation of data for different contexts and audiences. Enjoy!