Hi Alex,

Well, my confusion came with the following code sample
in the "Developing Flex RIAs with Cairngorm
Microarchitecture – Part 6" article:

addCommand(
ShopController.EVENT_ADD_PRODUCT_TO_WISH_LIST, new
AddProductToWishListCommand() );

(http://www.adobe.com/devnet/flex/articles/cairngorm_pt6_04.html)


I only now realize that with Caringorm2b3 version,
when adding a new command on the FrontController, one
actually has to give, as a second parameter, the
reference to a particular class, and not the instance
of that class.

Could you explain why this change?

And another issue:
I've noticed that all event listeners are registered
on the Application.application.

Why don't you register them on the FrontController
itself?


Thanks,
Iuliu


__________________________________________________
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




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