Hi,

I've got a couple of questions on my mind that I'm hoping to get some
opinions on...

First.  I don't see what value the FrontController adds in Flex apps.
 My initial thought was that it was important to prevent views from
coupling to specific commands.  That really doesn't hold up though,
because the views are coupled to specifc events, each of which results
in a specific Command being executed.  Since the FrontController
maintains a 1-to-1 map of Cairngorm events to Commands, why don't
views just run the commands directly?

Next, we're moving most of our remote object calls into the model. 
The logic that controls what parts of the model get persisted, when,
and in what order is complex, and our Commands had become huge and
full of logic.  As a reuslt of the changes, lots of the classes in the
model now make remote calls and implement IResponder.  I'm trying to
get back to the model of Command kicks off the "feature" and then gets
out of the way.  Is there any rule with Cairngorm that says that
Commands must do the remote calls?  Is it common to use something
other than a Command to make remote calls?


thanks

Jeremy






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to