Question about modular applications

oscar's Avatar


25 Jun, 2010 11:56 PM

In a modular application, the "Shell" conext, and mediator should extend ModuleMediator and ModuleContext. What about the other mediators inside each module, should they extend Mediator or ModuleMediator?


  1. 1 Posted by Stray on 26 Jun, 2010 08:36 AM

    Stray's Avatar

    Hi Oscar, can you confirm which fork you're using? Is it the Joel Hooks for for RL 1.1+ or my fork for earlier versions?

  2. 2 Posted by oscar on 26 Jun, 2010 03:48 PM

    oscar's Avatar

    Well, I've been following this example:

    I didn't know thee was built-in support in RL 1.1. Can you give me some advice on which on is the best approach?

  3. 3 Posted by Stray on 26 Jun, 2010 04:14 PM

    Stray's Avatar

    Hi Oscar - that's the correct example to be following. 1.1 doesn't have built in - it's just that there are 2 different approaches to modular, depending on whether you're using RL 1 or 1.1.

    I'm afraid I'm not familiar with the 1.1 version yet. Hopefully Joel will be able to answer you soon.



  4. 4 Posted by oscar on 26 Jun, 2010 04:53 PM

    oscar's Avatar

    Thanks Stray!

  5. Support Staff 5 Posted by Joel Hooks on 26 Jun, 2010 04:58 PM

    Joel Hooks's Avatar

    If you peek inside of ModuleMediator you will see that it does only a couple of things. It injects the shared event dispatcher that facilitates sending events between modules and provides some syntax for dispatching and listening for those events.

  6. oscar closed this discussion on 24 Jul, 2010 04:00 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