tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/839-existing-data-event-flow-call-for-opinionsbest-practicesRobotlegs: Discussion 2012-06-21T08:08:52Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/141638352012-03-02T12:44:42Z2012-03-02T12:44:42ZExisting Data Event Flow ... Call for opinions/best practices<div><p>IMO, re-reporting is definitely not right, since the items have
NOT been updated.</p>
<p>One of the simplest solutions is to use the relaxed eventmap
utility:<br>
<a href=
"https://github.com/Stray/robotlegs-utilities-RelaxedEventMap">https://github.com/Stray/robotlegs-utilities-RelaxedEventMap</a><br>
if a listener subscribes to an event after-the-fact it will
automatically be triggered.</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/141638352012-04-26T16:35:51Z2012-04-26T16:35:51ZExisting Data Event Flow ... Call for opinions/best practices<div><p>creynders,</p>
<p>Thanks for the feedback and apologies for not responding sooner.
I was up against a deadline and the thread was closed when I
returned to thank you.</p>
<p>I like the sound of the relaxed eventmap, but since I had a
deadline, I ended up just injecting the model and conditionally
requesting the data if it had not been previously loaded.</p>
<p>I'm ok with the coupling for now, but I would love it if
something like the relaxed eventmap was stock in RL. This seems to
be a very common need.</p>
<p>Thanks again,<br>
Justin</p></div>Justin