I think that the upcoming module support in 2.0.1 is going to address your issues.  Since Roger put all of this together I feel confident that things will be OK J

 

Now if you use your own module system the same may not be true, I’d recommend using ours.  If you’re actively developing with modules right now let me know offlist.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of t_levieux
Sent: Thursday, November 02, 2006 11:21 AM
To: [email protected]
Subject: [flexcoders] Flex2 Framework design issue ?

 


You can find below a question posted two months ago at Abobe Flex Forum
but no one answered. Please, give me another chance !
Note that this question was raised with the development of modular
applications in mind...

In my opinion, there's a design issue within the Flex Framework.
Let's consider the following UIComponent's method :

public function getClassStyleDeclarations():Array
{
var myRoot:DisplayObject = SystemManager.getSWFRoot(this);
...
}

It means that the whole UIComponent architecture is tied with a sole
IFlexModuleFactory class: SystemManager.
So what happens if I decide to load another application using my own
module factory ? In that case UIComponent may not be able to retrieve
the SWF that contains its class definition.

I think one indirection level is missing (via a module repository or a
stuff like that)...

Does someone share my view ?

Rgds,
Thierry

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to