Hi Evan
The commands represent parts of the controller. As such they don't implement businesslogic but control processes. For example a command could ask the model to insert a new record of data and thereafter to select this record. The insertion and selection of the data is done by the model, while the flow of actions is controlled by the command.
Cheers,
Ralf.
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: [email protected] [mailto:[email protected]] On Behalf Of Alex Uhlmann
Sent: Monday, July 31, 2006 6:40 PM
To: [email protected]
Subject: RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!
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.macromedia.com/auhlmann/archives/2006/07/cairngorm_sampl_2.cfm
Now, back to vacation. ;)
Best,
Alex
Alex Uhlmann
Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6969m: +44 (0) 7917 428 951
[EMAIL PROTECTED]
From: [EMAIL PROTECTED]ups.com [mailto:[email protected]] On Behalf Of Evan Gifford
Sent: 31 July 2006 18:39To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!Hey Russell!
I'm finishing up this diagram ([flexcoders] Caringorm - Visual Flowchart Poster!) .. and I sorted by subject so I missed your post, sorry!!
Anyway, you can see the flowchart here: http://www.undustrial.com/flexdocs/cairngorm.gif
At this stage, I'd prefer if you submit color/shape/organization changes back to me so that we can have one working copy of this document and finalize it by Wednesday.
Thanks!
Evan
From: [EMAIL PROTECTED] ups.com [mailto:[email protected]] On Behalf Of lownlazy000
Sent: Sunday, July 30, 2006 5:10 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: Caringorm - Visual Flowchart Poster!If you would like to kick your visio chart over to me I would be happy
to help. russellatcorbell.com.au
> Also, I'll happily pass along the Visio document to anyone who would
like to help, either with colors, shapes or organization, please don't
hesitate to ring in.
--
No virus found in this incoming message.
Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 7/28/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 7/28/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/404 - Release Date: 7/31/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___

