I believe FB 2.01 supports modules, but you should definitely be using
FB3 anyway.  Loading modules at runtime based upon user permissions is a
solid way to go - certainly better than commenting out code and the
like. 

Jeff

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of zwetank
Sent: Monday, September 15, 2008 2:10 PM
To: [email protected]
Subject: [flexcoders] Re: Modularising a flex app



> 
> We have an app that has a number of parts that are not all required
> for all customers. What's the best way to build it to minimise file  
> size and for ease of building and code maintenance?
> 
> We currently keep the code separated in different classes and mxml
> components, so we can do things like comment out things we don't want

> to reduce the size of an individual build but I'm figuring there must

> be a better way.
> 
> Currently we are building in FB2, but are about to upgrade to FB3, if
> that makes a difference.
> 

to use Modules you need FB3, FB2 does not have that

after if you want to select part of the app
at compilation time
you can use conditionnal compilation in Flex

http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.htm
l

RSL can also help to modularize your application


but honest there is not one easy way to do modularization










------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



Reply via email to