[Arp] arp(x ?) extensions, ModelLocator...
flashape at gmail.com
Tue Mar 14 09:53:42 PST 2006
yeah...the main issue the ModelLocator solves is that the Commands
were set up to call methods on a particular View when it received a
result..which is not really a good solution. Now the Commands should
update the ModelLocator, and the ModelLocator should broadcaste a
changed event...which is where Christophe's version of the
ModelLocator comes in, because the one that was already included in
teh default ARP package didnt do any broadcasting.
The two different arpx packages serve two completely different
purposes, (grant's sets up a Command Controller/System controller,
which is for mapping events to commands) , and I dont remember if any
of their subpackages are named the same...if not you can propbably
combine them into one package. I know that's a little confusing, but
just remember that they are two differnent people's extensions to ARP.
For now, I'd follow Aral's advice and learn it as it is now first.
Then when it comes to make the changes you will understand why they
were made and how they make it easier.
> I'm currently reading the Developer's Manual and trying to understand the
> ARP overall architecture and the Birthday Organizer Sample App, but from
> what I've read in the AMFPHP 1.2 beta annoucement on Aral's site, the
> CommandTemplate is now deprecated and we're urged to use the ModelLocator.
> Although it almost sounds like an official annoucement, I found very few
> information about this... From what I've understood the concept is imported
> from Flex and allows to lower the coupling between the commands and the
> But how do I really set up this? What does it really implies, for example
> on the Birthday Organizer App? Does this mean that part of the class
> diagrams in the manual are deprecated too?
> Also it looks that there are two arpx extension package (Grand Davies /
> Christophe Herreman) (or Christophe's one should read "arp" package ?). Are
> theses two compatible ? Suitable for production ?
> Finally it looks like these features are too new so maybe I should stick to
> the CommandTemplate at the moment and leave this for a more official
> What would you guys advise ?
> Arp mailing list
> Arp at ariaware.com
More information about the Arp