RelaxedEventMapExtension and SignalCommandMapExtension

dan's Avatar


01 Apr, 2014 04:27 PM

Does anyone use these two extensions together? I'm a little unclear if there is a relationship between the two. RL has a central event bus... when signals are mapped to commands I understand that when dispatched the mapped command will execute with any parameters passed to the signal's constructor injected in the command.

Presently I have events that dispatch the results from a service call. My mediators listen for these relaxed events and get their updates just fine.

Yet there are those signals... and this is confusing to me the relationship between signals and events. Is there a relationship at all or are signals just a substitute?

Does anyone use both extensions together?

Aside from the purported speed benefits, signals are certainly easier to create. Is there anything wrong with just using signals to trigger command execution and rely upon events / relaxedeventmap for passing payloads around or am I missing something?


  1. Support Staff 1 Posted by Ondina D.F. on 02 Apr, 2014 11:23 AM

    Ondina D.F.'s Avatar

    Hi Dan,

    Does anyone use these two extensions together?

    I'm not using any of them in my projects.

    Is there a relationship at all or are signals just a substitute?

    Robert Penner says:
    "Signals are light-weight, strongly-typed AS3 messaging tools. Wire your application with better APIs and less boilerplate than AS3 Events."

    So, signals are meant to replace events:)
    I like signals, but I try to avoid using signals and events in the same project. Though, many people do just that, and that's ok.

    See creynders' demo:

    I haven't tried it out yet, but it seems that it combines the SignalCommandMap and the RelaxedSignals. I guess it uses his as3-signals fork:

    creynders could tell you more about his demo, and whether it could work with rl2 or not.


  2. 2 Posted by dan on 02 Apr, 2014 04:47 PM

    dan's Avatar

    Yes I like the 'less boilerplate' aspect of signals... thanks for the pointer. I'll drop him a line.

  3. dan closed this discussion on 02 Apr, 2014 04:50 PM.

  4. dan re-opened this discussion on 02 Apr, 2014 04:57 PM

  5. dan closed this discussion on 17 Apr, 2014 05:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac