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

