Hi João,
 
this depends on how you want your users to experience the applications. You 
could for example supply several Cairngorm apps that are autonomous and do not 
"know" about each other. In this scenario you could share common code (such as 
the Cairngorm classes and some Framework classes) by using a RSL. Each 
application defines its own Controller, Model and Command classes.
 
Another possibility is to load the different apps into a "shell" application 
(e.g. imagine your sub-apps get loaded into pupup windows, similar to the Flex 
Explorer). These sub-apps then run in the same variable scope as the main shell 
application so it's possible to place global functionality and models into the 
shell application. In this scenario still each application defines its own 
FrontController but they could share common objects such as the ServiceLocator 
and the EventBroadcaster.
 
The second approach is more flexible and pretty easy to use this kind of 
dynamic loading. Also, it adds much to the overall user experience as all 
applications gets displayed in one homogenous environment.
 
Dirk.

________________________________

Von: [email protected] im Auftrag von joao_m_fernandes
Gesendet: Mo 27.06.2005 12:18
An: [email protected]
Betreff: [flexcoders] Cairngorm on a Intranet



Hi there,

I'm starting with cairngorm framework and want to apply it to our
Intranet. The samples apply always to a single application but our
intranet have several applications. I would like to know what should
be the best approach to implement this Framework.

Should I create a unique controller/model Localor/service locator or
should I have for each application ?

If I should separate them, should I give the same name to the
controller/model/service so they are overwritten each time the user
switches applications or should I use unique names?

Thanks

João Fernandes





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










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

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

<<winmail.dat>>

Reply via email to