tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/3841-best-practices-for-ensuring-the-data-in-dynamically-created-views-is-up-to-dateRobotlegs: Discussion 2013-08-30T07:55:45Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/277473382013-07-12T16:52:04Z2013-07-12T16:52:04ZBest practices for ensuring the data in dynamically created views is up to date<div><p>I'd just go with option 1.</p>
<blockquote>
<p>This seems to break best-practices, as it tightly couples the
view to the model</p>
</blockquote>
<p>It tightly couples the mediator (not the view) to the model.
Mediators are, by their nature, coupled to the application (and
hence model) layer.</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/277473382013-07-12T17:07:11Z2013-07-12T17:07:11ZBest practices for ensuring the data in dynamically created views is up to date<div><p>Valid point man! And thanks for the correction on the mediator
being coupled not the view (waiting for the coffee to do its' thing
still) ;-)</p></div>Kyle