@yahoogroups.com
Subject: [flexcoders] Re: Some Cairngorm questions
Date: Sat, 19 Aug 2006 15:40:41 -
Our VO classes are separate from the model. We found that the model
needed stuff that didn't belong in the VOs, for example, fields that
don't get persisted to the db, state variables, and various
Our VO classes are separate from the model. We found that the model
needed stuff that didn't belong in the VOs, for example, fields that
don't get persisted to the db, state variables, and various methods
that the classes in the model need. When we do need a VO to pass to
the data layer, we call
kidding :-) :-) :-)
Sounds like you've got something that works for you, and that's what counts!
Darren
From: jrjazzman23 [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Some Cairngorm questions
Date: Sat, 19 Aug 2006 15:40:41 -
Our
Ben,
Thanks for your viewpoint. I'd like to summarize your points to see
if I understood correctly:
1) It's easy to execute a Command by raising a Cairngorm event.
It seems to me that the amount of code to raise a Cairngorm event is
the same as executing the Command directly. Probably the
We are pretty much sticking to textbook Cairngorm. We all just began
to question the FrontController. Most of my MVC experience is with
struts, where it seems to make more sense.
As for reusing events and commands from different places, most of what
I could find from the Cairngorm creators
As for reusing events and commands from different places, most of what
I could find from the Cairngorm creators suggest that Commands be
specific use cases and a Command should always know its context. I
suppose if the event payload indicates the context, then you're not
violating this rule. I
I'm pretty sure they're called ValueObjects for a reason :)
Ben
--- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote:
As for reusing events and commands from different places, most of what
I could find from the Cairngorm creators suggest that Commands be
specific use cases
While I am sure there are others, the first thing that comes to mind
concerning your first question is something I did just the other day.
Say you've got a command that you want to execute when you receive
data back from a remote call. For debugging or other purposes, you now
want to be able to
8 matches
Mail list logo