|
TREE STRUCTURE. So can you
explain me why Timer extends EventDispatcher. Can you imagine TREE STRUCTURE of If you see only 2 solutions: inheritance and mixin it’s
your problem. There are better solutions. EventDispatcher has spare
functionality and it’s bad design. I
sad that I can describe better solution if you will be open for discussion.
1-0
I mean that you can’t press ctrl+space and
see events (in outline, like properties and functions) . Sure you can use Flex “Metadata”
keywords do describe events dispatched by class and editor will understand them
but it’s not a solution it’s a kind of crutches cause in AS3 we don’t
have real metadata. (like metadata in C# or annotations in Java)
On 4/6/06, Maxym <[EMAIL PROTECTED]>
wrote: Yeah, I can. DOM
Specification: The first goal is the
design of an event system which allows registration of event listeners
and describes event flow through a tree
structure. TREE STRUCTURE. So can you explain me why
Timer extends EventDispatcher. Can you imagine TREE STRUCTURE of Timers??? For real there are many bad things in this
event model: 1. It's based on string identifiers. Because of this a. It's slow b. You don't know for real types of events that
object can dispatch. c. You can't use code-inside in editor for access
events. 2. EventDispatcher and IEventDispatcher have too
much extra functionality that will be used only for visual objects. 3. If you want to dispatch events and you can't
extend EventDispatcher you have to duplicate (do you know some AOP concepts)
it's logic (at least one time) and implement IEventDispatcher. 4. I can say more but I'm tired of typing… From:
[email protected]
[mailto:
[email protected]] On Behalf Of Darron
J. Schall maxym.hryniv wrote:
YAHOO!
GROUPS LINKS · Visit your group "flexcoders"
on the web. · To unsubscribe from this group, send an email to: · Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Re: Question to Adobe about Flex Framework... Maxym
- Re: [flexcoders] Re: Question to Adobe about Flex Fram... Peter Hall
- Re: [flexcoders] Re: Question to Adobe about Flex Fram... Maxym
- RE: [flexcoders] Re: Question to Adobe about Flex Fram... Ted Patrick
- [flexcoders] Re: Question to Adobe about Flex Fram... maxym.hryniv
- [flexcoders] Flex Contract Opportunity Jim Schneider
- RE: [flexcoders] Re: Question to Adobe about Flex Fram... Ted Patrick
- [flexcoders] Re: Question to Adobe about Flex Fram... maxym.hryniv
- Re: [flexcoders] Re: Question to Adobe about F... Ikezi Kamanu
- [flexcoders] Re: Question to Adobe about F... maxym.hryniv
- RE: [flexcoders] Re: Question to Adob... Stefan Richter

