The reason for creating the abstract base classes and placing them in
an RSL is so the modules (seperate swfs) can be developed and compiled
with strict data typing to particular value objects and models that
are retrieved from the ModelLocator which exists in the main shell
application.

The modules are basically completely independent swf files (built from
standalone flex projects) that the main shell application will only
load as the user requests them (ie click on a button to open a
particular tool, and that tool's swf will get loaded and displayed in
the main shell application). 

Hope that makes it more clear,

Derrick

--- In [email protected], "maxym.hryniv" <[EMAIL PROTECTED]> wrote:
>
> Hi.
> I don't see the reason to create abstract base classes for all value 
> objects, models etc. Can you explain one more time?
> Can you also describe how you create modules (flex app|flex library) 
> and how you load them (in main|separate|child app domain)?
> 
> 
> --- In [email protected], "Dimitrios 
> Gianninas" <dimitrios.gianninas@> wrote:
> >
> > Hi,
> > 
> > I think you have setup things pretty much the same way I would. 
> Although I have never gone that far... yet :)
> > 
> > One thing I did notice which you can change is that you said the 
> entire flex framework gets included in the cairngorm.swc ... doesn't 
> have to be. I build the carngorm.swc using the command-line compiler 
> and made sure to exclude the framework.swc, this did reduce the size 
> and is basically what I think you want to do. Don't remember the 
> exact switch, will have to get that to you tomorrow once I'm back in 
> the office.
> > 
> > Regards,
> > 
> > Dimitrios Gianninas
> > Optimal Payments Inc.
> > 
> > 
> > -----Original Message-----
> > From: [email protected] on behalf of derrickgrigg
> > Sent: Tue 9/19/2006 11:23 AM
> > To: [email protected]
> > Subject: [flexcoders] Architecting a large, modular Flex application
> >  
> > I just want to bounce this idea/concept off the larger Flex 
> community
> > to see if there are any holes or possibly better solutions.
> > 
> > I am currently working with a team of developers on a large, modular
> > Flex application based on the Cairngorm framework. One issue that we
> > are trying to get our heads around is creating the application in a
> > modular fashion (ie seperate SWFs for application modules). Each
> > module will only get loaded as needed by the main shell application 
> in
> > order to keep the overall size and memory use as small as possible. 
> > 
> > The big issue that we are running into is how to setup and develop 
> the
> > module flex projects in Flex Builder. We need to give the module
> > projects access to the models, value objects etc (especially 
> bindable
> > properties) that they need from the main application without having
> > the actual application implemented version of those classes get
> > compiled into the module swfs and causing problems when they get
> > loaded into the main application. Our current thinking is that in
> > order to allow the modules to have full access to the models, value
> > objects, etc that have been defined in the main application we 
> create
> > Abstract versions of those classes and put them in a seperate flex
> > library project which will get compiled as an SWC and get included
> > into the seperate modules as a runtime shared library (RSL), 
> basically
> > an library of Abstract classes only (and maybe some Interfaces). The
> > module projects will also include the Cairngorm.swc as an RSL in 
> order
> > to have access to the interfaces etc that are defined there and
> > provide the neccessary hooks into the main application. 
> > 
> > The main application will have all of it's models, value objects etc
> > extend the abstract classes that are defined in the Abstract RSL
> > library. The main application will also use the cairngorm.swc as an
> > RSL to ensure that the module swfs load properly when called upon 
> (ie
> > they won't throw a run time shared library error because they can't
> > find the cairngorm.swc). This results in a download hit because the
> > entire flex framework gets downloaded in the cairngorm.swc but we do
> > not see any way around that.
> > 
> > Any feedback, comments, etc from any of you would be greatly 
> appreciated.
> > 
> > Regards,
> > 
> > Derrick
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > WARNING
> > -------
> > This electronic message and its attachments may contain 
> confidential, proprietary or legally privileged information, which is 
> solely for the use of the intended recipient.  No privilege or other 
> rights are waived by any unintended transmission or unauthorized 
> retransmission of this message.  If you are not the intended 
> recipient of this message, or if you have received it in error, you 
> should immediately stop reading this message and delete it and all 
> attachments from your system.  The reading, distribution, copying or 
> other use of this message or its attachments by unintended recipients 
> is unauthorized and may be unlawful.  If you have received this e-
> mail in error, please notify the sender.
> > 
> > AVIS IMPORTANT
> > --------------
> > Ce message électronique et ses pièces jointes peuvent contenir des 
> renseignements confidentiels, exclusifs ou légalement privilégiés 
> destinés au seul usage du destinataire visé.  L'expéditeur original 
> ne renonce à aucun privilège ou à aucun autre droit si le présent 
> message a été transmis involontairement ou s'il est retransmis sans 
> son autorisation.  Si vous n'êtes pas le destinataire visé du présent 
> message ou si vous l'avez reçu par erreur, veuillez cesser 
> immédiatement de le lire et le supprimer, ainsi que toutes ses pièces 
> jointes, de votre système.  La lecture, la distribution, la copie ou 
> tout autre usage du présent message ou de ses pièces jointes par des 
> personnes autres que le destinataire visé ne sont pas autorisés et 
> pourraient être illégaux.  Si vous avez reçu ce courrier électronique 
> par erreur, veuillez en aviser l'expéditeur.
> >
>






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to