|
Hey Alex, To visually represent what you’ve
described, my best guess is to put a gear shape in the “ContactVO”
which has the label “Business Logic”, but then again what kind of
Business logic is there in this example really? I think what we’re really talking
about is a different, “advanced” diagram, which would process more
complex data types and may even include more server-side technology like PDF
generation, for instance. I’d really like to make this “basic
cairngorm” diagram as accurate as possible, but at the same time keep the
use case very simple so that it’s more useful to more people. My concern with adding the “Business
logic” to the ModelLocator is that, at least in my mind, it makes the
role of the command a little more confusing whereas before it was fairly
simple. (it actually did the processing) I’m actually not the best person to
make this decision, so I’ll need another definitive answer from you guys,
and I’ll happily incorporate your decision into the design. (Steven? :^) -Evan From: Hey there, first of all, I think it's great to see
works like this done! Can I just suggest a little improvment, though.
I only see the ModelLocator holding Value Objects. In my experience this
means the actual business logic (if there is any) would probably then either
have to be in the views or in the commands. Hovewer, I often see business
logic in model objects that can be accessed by ModelLocator. Model objects
might contain Value Objects. Your Commands could only be reusable requests to
APIs of model objects. I'd definitely suggest focsing more on model
objects, which can easily be unit tested etc. My latest blog entry has been
about this topic: http://weblogs. Now, back to vacation. ;) Best, Alex
From: Hey Russell! Evan From: If you
would like to kick your visio chart over to me I would be happy -- -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ --
-- |
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster! Evan Gifford
- Re: [flexcoders] Re: Caringorm - Visual Flowchart Post... Ralf Bokelberg
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Post... Evan Gifford
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Post... Evan Gifford
- RE: [flexcoders] Re: Caringorm - Visual Flowchart ... Steven Webster
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Post... Evan Gifford
- Re: [flexcoders] Re: Caringorm - Visual Flowchart ... Daniel Cascais
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Post... Evan Gifford
- RE: [flexcoders] Re: Caringorm - Visual Flowchart Post... Evan Gifford

