|
I don't necessarily agree here with Jesse; for me, a
Command is most useful when it's an implementation of a single use-case, and
when it executes in context, and handles it's results in context. If there
is functionality that is shared between commands, then I'd either move that
functionality into a base command, or into a class that can be used by multiple
commands. I don't however, like the idea of coalescing multiple commands
into one, or that the motivation for doing this being "having a lot of
classes".
For those new to Cairngorm, I'd strongly advocate following
the patterns as we've presented them, rather than commands switching their
behavior as you describe here Jesse.
Can you share a concrete example where you think there's
valid reason to coalesce the commands ?
Steven
__._,_.___ -- 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
|
- RE: [flexcoders] Re: WebService & Cairngorm 2 Example Steven Webster


