Hi,


Command is an interface not a class in Cairngorm ;). Are you just
suggesting a naming change using an I prefix? If so, having not an I
prefix can make your life a bit easier e.g. when you refactor the
interface to a base class at a later stage. You wouldn't have a
motivation to change all the code that's checking the type using the is
operator. But I think in the end this topic is down to personal
preference.


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 6969
m: +44 (0) 7917 428 951
[EMAIL PROTECTED]


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Iuliu Burtoiu
Sent: 18 May 2006 12:17
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Caringorm - FrontController / addCommand
adjustment?

In Cairngorm2b3 model, provided by Iteration:two, wouldn't be more
apropriate to have the "addCommand"
signiture of the FrontController class as follows?

public function addCommand( commandName : String, commandRef : ICommand
) : void

second parrameter is now of ICommand type, instead of the former Class
type.

IuliuB



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
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









--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to