--- In [email protected], "munkydung" <[EMAIL PROTECTED]> wrote:
>
> I've currently building a medium-large size application in Flex using
> Cairngorm. I've already decided not to use 'delegates'. Instead, I'm
> just updating the 'model' from within 'commands'. Now I'm seeing a
> pattern where each 'event' I create is just a container for a data
> structure to a 'command'. Also, it seems the mapping of 'events' is
> one-to-one for 'commands'.
> 
> So, my question is, why not just do away with the 'events' and have
> views call 'command.execute()'?
> 
> Someone talk me out of this...
> 
> thanks,
> Mike
>

I guess it depends, I use the events to store data from the view which
has or should be processed before it goes into the model, maybe a
delegate is needed, maybe not... 

It depends on the design patterns you are using... 

My 2 Cents.

Mark

Reply via email to