>>> That said, for small systems I still sometimes use callbacks.

>>Me too, but I feel dirty afterward.

Well, nobody likes to feel dirty when they code... thanks Dave !


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 





-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dave
Watts
Sent: Tuesday, August 04, 2009 11:24 AM
To: Flash Coders List
Subject: Re: [Flashcoders] MVC and Event Architecture

> The real point is that to call public methods, you have to know about
the
> object whose method you want to call and you need to know about the
method
> itself. When you broadcast an event, you don't need to know whose
listening,
> your just indicating that something meaningful has happenned and
perhaps
> also passing data that is meaningful.

This is really the key. If you don't do this, you're baking
dependencies into your application.

> That said, for small systems I still sometimes use callbacks.

Me too, but I feel dirty afterward.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to