[Arpadvisory] Thanks
grant@bluetube.com
grant at bluetube.com
Mon Jan 9 12:43:38 EST 2006
Thanks Aral (and Christophe) for the invite to the ARP advisory committee.
I have 2 extensions that I'm using a lot and wanted to see if they need to be refactored, replaced or have been replaced by arp 3. If not I'd like to clean them up, do some UML diagrams to explain how they work and put them into our common source.
1) Command Controller, this maps events to commands, so if you have an event "login user" and you want it to launch "LoginCommand" then you put that in the XML document. I was considering extending this to also include the view/command mapping with the model locator so you would automatically get your views mapped to events raised by the model but not sure if this is a good strategy, however something along these lines is done by the Struts Framwork in JAVA and in the MVC model in Spring.
2) SystemController, this dispatches system wide events, I created an ARPX form that inherits from the ARP form so that system event dispatching can be done somewhat under the covers. This is also used by the command controller as it registers for all the events in the XML with the System controller so that the command controller is notified when a system event occurs that it needs to fire a command for.
A couple of utility classes I'm working on, an real Event class as its bit more typesafe than a dynamic object
A movieClip Loader and Asset manager that can load external assets (forms as swfs, images, jpegs etc) so that runtime loading is easier, it also queue's assets so you can say "tell me when everything is loaded" These are both a bit project specific right now but could be refactored, I beleive aral has been working on something like this and would like to compare notes.
Thanks again for the opportunit guys, ARP is integral to my flash work so its very important to me to work with it and help shape it.
Is there a messenger most people are on? I use Trillian for my tool and am verbalgsx on yahoo on aim systems, I have skype address and msn but they don't work that great through my clients firewall/http proxy.
Thanks
Grant
More information about the Arpadvisory
mailing list