1)       yes

2)       yes

3)       yes

4)       That will work, but you might want to share a module of shared
classes as in the "shared code" example on my blog.  Any time you add
stuff to the main app to share between modules, you are increasing the
initial application startup time which might be undesirable of no module
will use that code at startup.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun
Sent: Monday, April 09, 2007 11:23 AM
To: [email protected]
Subject: [flexcoders] Re: Optimal Linking

 

Thanks for the response Alex. I look forward to seeing what the FB3 
team cooks up! 

Was also wondering if you could confirm something for me. Would you 
say the following is accurate: If I have a site that will contain at 
least 2 apps, and at least one app will contain modules, that to 
optimally configure the site I would need to:

1) Create an RSL containing classes that are used by the majority of 
apps/mods.
2) Utilize runtime css to share assets - images/fonts/etc.
3) Utilize link report and load externs to keep modules from linking 
redundant classes
4) Manually add links to apps if multiple modules use classes that 
aren't located in the RSL

Thanks for the help. I'm trying to wrap my head around all of the 
linking options and I want to make sure I'm headed down the right 
path.

Shaun

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I have a meeting this afternoon with FB3 team on this topic.
> 
> 
> 
> Anyway, I don't know of any automated way of finding the common 
classes
> shared by modules. I suppose you can process the link-reports from 
the
> modules as they are XML. However, once you know the set, you can 
make
> another RSL/Module or just use -includes= on MXMLC command line
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>

[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Shaun
> Sent: Monday, April 09, 2007 10:39 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Optimal Linking
> 
> 
> 
> I have a modular flex app consisting of the main shell application 
and 
> several modules. I generate a link report from the main shell app 
and 
> I use load externs to keep the modules from linking redundant 
classes.
> 
> My question is this: I want to force the shell app to also link in 
any 
> classes that are used by two or more of my modules... what is the 
> best/easiest way of accomplishing this?
> 
> I'm hoping FB3 will have much better support for managing linking 
(and 
> for generating optimal libraries/RSLs).
> 
> Shaun
>

 

Reply via email to