I had no possibility to reply, cause it was weekend, sorry.

 

Your last post was child-like, but i'll try to take it seriously for a

moment, cause someone can read this and think that it makes sense.

 

1. When you will have a possibility to compile AS code into swf using AS,

when you will have AppDomains in AS, when you will have WMI (or smthn like

that) etc. etc. etc. etc. etc. , when you will have flex framework embeded

into flash player (22.4 M it's not only runtime) THAN YOU WILL COMPARE

WEIGHT OF FLASH PLAYER AND .NET FRAMEWORK. It's NOT about technologie it's

about event model. We don't need another .NET we have one allready.

2. We have allready untiped functors in flash. C# delegate it's only

strong-typed functor. If you think that embeding this kind of functors

into flash player takes a lot of weight you are wrong.

3. If you can't take things in general i'll show you  small example why

current event model is bad designed.

Imagine that you have some tree of objects (non visual). you want to use

bubbling, capturing etc. in this tree( i can show you wide range of tasks

when it usefull in non visual objects). Now we have no possibility to do

that. But for such task some simple interface like

    interface IChildDispatcher extends IEventDispatcher {

public function get parent() : IEventDispatcher;//or it can returns

IChildDispatcher if you like

}

is enough. Of course we can create such interface, then rewrite

EventDispatcher then use bubbling etc. but FOR WHAT??

What do you thin about this ex.?

 

On Fri, 07 Apr 2006 15:06:32 +0300, Ted Patrick

<[EMAIL PROTECTED]> wrote:

 

 

I have more than looked at C#, I have written several Flash/Flex backends in it.

 

 

It comes down to this simple undisputable fact:

 

 

.NET 2.0 Runtime == 22.4 MB (20 times larger than Flash)

 

 

Java 1.5 Runtime == 16.0 MB (14 times larger than Flash)

 

 

Flash Player 8.5 Runtime == 1.12 MB

 

 

Flash and Flex have always targeted a small, lean, no frills runtime so that the player is easily deployed to end users. It is this file size

that enables the player to be distributed to 700 Million end users cross platform and cross device. Given the size constraints the teams are

focused on providing the smallest footprint for player code with the largest impact for developers.

 

 

Maxym, there is nothing stopping you from writing your own event system in Flex similar to C#.

 

 

- FLEX IS FREE – Flex Framework and Compilers are Free

 

HYPERLINK "http://labs.macromedia.com/technologies/flexframework2/"http://labs.macromedia.com/technologies/flexframework2/

 

 

- You can code your own event model into a class and have it work closer to what C# offers.

 

 

Actually when you are done, post your source so that we can give it a fair and honest review!

 

 

Regards,

 

 

Cynergy Systems, Inc.

Theodore Patrick

Sr. Consultant

HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]

tel: 1.866.CYNERGY

HYPERLINK "http://www.cynergysystems.com/"http://www.cynergysystems.com

 

 

 

   _____

 

From: [email protected] [mailto:[email protected]] On Behalf Of Maxym

Sent: Friday, April 07, 2006 3:08 AM

To: [email protected]

Subject: RE: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

 

 

 

Actually it is hard to imagine that events could get much better than the current design. It is extensible, customizable, fast, easy to work

with, and essentially lean and mean.

 

If it’s hard for you just take a look at C#.

 

________________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Maxym

Sent: Thursday, April 06, 2006 11:42 AM

To: [email protected]

Subject: RE: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

 

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

Sent: Thursday, April 06, 2006 5:46 PM

To: [email protected]

Subject: Re: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

 

maxym.hryniv wrote:

Looking at Flex 2 framework event model, and Flex 2 Framework UML

(Flex 2 api visual reference by Rocket Boots) I don't believe that

Flex 2 is better.

 

Can you be more specific?  The event model is fundamentally part of the

player is an based on the DOM Level 3 Events specification [1].

 

-d

 

[1] HYPERLINK "http://www.w3.org/TR/DOM-Level-3-Events/"http://www.w3.org/TR/DOM-Level-3-Events/

 

 

 

 

--

Flexcoders Mailing List

FAQ: HYPERLINK "http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt"http://groups.yahoo.com/group/flexcoders/files/

flexcodersFAQ.txt

Search Archives: HYPERLINK "http://www.mail-archive.com/flexcoders%40yahoogroups.com"http://www.mail-archive.com/flexcoders%40yahoogroups.com

 

 

________________________________________

YAHOO! GROUPS LINKS

 

*  Visit your group "flexcoders" on the web.

*  To unsubscribe from this group, send an email to:

 [EMAIL PROTECTED]

*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

 

________________________________________

 

 

 

 

 



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




Reply via email to