centralized event mapping

Mahmoud Bahaa's Avatar

Mahmoud Bahaa

14 Aug, 2012 04:17 PM

is there a way to centrally (per view) manage the mapping of a views events to the consequences for events especially those that have cross view implications. For example changing a drop down list item that load some stuff from the server and for example resetting the view

so for each view i can have a Centralized Event Management so i can easily without go through alot of search can see all event fired in that view and their consequences local or global.

and if that cant be done in code can it be done post-compile automatically creating such mapping

  1. Support Staff 1 Posted by Ondina D.F. on 16 Aug, 2012 12:59 PM

    Ondina D.F.'s Avatar

    Hi Mahmoud,

    It seems you want a shared EventDispatcher on the View level. Or do you need just a Logger?

    Is it something like these Event Managers?
    http://www.actionscript.org/resources/articles/829/3/Centralized-Ev...
    http://blog.open-design.be/2009/01/29/events-manager-as3-classes/

    Or are you asking if Robotlegs can act like an Interceptor for everything going on in your application, including the Views?

    Ondina

  2. Ondina D.F. closed this discussion on 25 Aug, 2012 02:39 PM.

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

Keyboard shortcuts

Generic

? 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