tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/55-using-signals-in-place-of-events-with-mediatorsRobotlegs: Discussion 2018-10-18T16:35:08Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/10162892010-02-12T02:48:00Z2010-02-12T02:48:00ZUsing Signals in place of Events with Mediators<div><p>There is no signal map ;)</p>
<p>I don't know that I'd inject the model on the mediator if all
you need is a signal and they are perfectly injectable. The
advantage there I suppose would be that you wouldn't need a bunch
of custom signals to be injected, so either way would work just
fine. I'd lean towards a suite of custom typed signals personally.
It sounds like you are already injecting those onto your
models.</p>
<p>Another thought it to have a SignalController. A class that has
one-to-n signals as properties. Sorta like a VO, but not ;) you
could then inject the SignalController where you needed it. I
haven't tried that, but it would be interesting.</p></div>Joel Hookstag:robotlegs.tenderapp.com,2009-10-18:Comment/10162892010-02-12T08:01:52Z2010-02-12T08:01:52ZUsing Signals in place of Events with Mediators<div><p>Nice idea about the 'all in one' - sounds kinda like a
switchboard...</p></div>Stray