[flexcoders] Re: Architecting a large, modular Flex application

2006-10-20 Thread vitopn
Hi All, I've been spinning in circles trying to implement a modular dynamic loading architecture for our client app. I've been studying this thread and a few others and I think it's starting to sink in but I'm not there yet. I've tried a very simple sample with a Shell that dynamically loads a

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-10-20 Thread Carlos Rovira
Hi,1.- I'm using SWFLoader instead of Loader since it's more usable when you want to load Applications and interact with the Apps loaded.2.- The Debug problem was discused on the list. When FB2 extracts the SWC it does with -debug=false, this could be fixed if FB2 let developers to configure

[flexcoders] Re: Architecting a large, modular Flex application

2006-10-20 Thread Derrick Grigg
Hey Vito, I would suggest creating Module 4 as a seperate Flex Project, which you can create an SWF from. Have you shell application use the SWFLoader to load the Module4.swf instead of adding Module4.swc as an RSL. This will make the module development easier (since you can compile,run and test

[flexcoders] Re: Architecting a large, modular Flex application

2006-10-20 Thread vitopn
Derrick, That got me on the correct path. I now have a working sample where the Shell application loads the Module app using the SWFLoader control. Communication between the module and the shell is done through a shared RSL. Next step is to work Cairnhorm and DataServices into the sample.

[flexcoders] Re: Architecting a large, modular Flex application

2006-10-04 Thread Russell Munro
Thanks for your comments Igor, as much as I would like to go to Vegas it just a little too far away. :) Unfortualtely waiting a month to see the results of the discussion at MAX is just a little too far away also, If anyone could expand/explain Erics orignial comment I would be really thanks

[flexcoders] Re: Architecting a large, modular Flex application

2006-10-03 Thread Russell Munro
Hi Even, Your response seem to be the way forward for this problem. Can I trouble you expand on your writing here? To add some more detail about how to complete what you have decribed here? I understand the concepts involved and how to create SWC files, but I am still quite lost on the

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-10-03 Thread Igor Costa
For just point, MAX 2006 will also has an session talking about his thread topic.For more adition, you could also develop large number of software and re-usable code for nexts, simple using like.CVS server - belive me, it's very useful not for team development but for better organization MVC

[flexcoders] Re: Architecting a large, modular Flex application (with Cairngorm)

2006-09-28 Thread Derrick Grigg
Hi Carlos, Actually the application I am developing (the one that started this thread) is built on Cairngorm. In order to give the seperate modules access to Cairngorm and core application classes (ie models, commands) I have put our core application classes and the Cairngorm classes and in an

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Derrick Grigg
Hi Paul, That is exactly my concern. I haven't been able to test the RSL caching thoroughly but experience tells me it will happen. I was hoping that I could somehow modify the url that the RSL uses but I have not found a way to do that. I am starting to think that what may be required is a

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 23:26, Anatole Tartakovsky wrote: I would like to confirm that there is a problem first. Also, please refer to initialize method for Preloader object - by subclassing it you can mangle URLs any way you like. Or have your librays is directories numbered according

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Paul Spitzer
Hi Derrick, From the quick test I did, it /is/ an issue. I too looked into modifying the URL. I was going to use ANT to automate it all, incrementing versions, and changing URLs but I've since abandoned that plan. Here is what I'm now doing... I have a couple of different library projects

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Anatole Tartakovsky
Paul, Could you please clarify your question - it seems that there are number of issues that are mixed up here. First, there is no issue of RSL caching in the browser unless you specifically enable some expiration scheme. I have seen people loading multiple applications side by side - using

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Paul Spitzer
Anatole Tartakovsky wrote: Paul, Could you please clarify your question - it seems that there are number of issues that are mixed up here. First, there is no issue of RSL caching in the browser unless you specifically enable some expiration scheme. Certainly. The caching issue I'm

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Anatole Tartakovsky
Paul, Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old version of the SWF from the browser cache and not the more recent from the

Re: [flexcoders] Re: Architecting a large, modular Flex application (with Cairngorm)

2006-09-27 Thread Carlos Rovira
Hi to all,I was following this thread with interest since there is very useful info.One thing that you are not talking about at the moment is about Modular Cairngorm Apps. Cairngorm is a great framework for monolithic flex apps, but if you try to modularize it you don't have the necesary

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-26 Thread Carlos Rovira
[mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk EismannSent: Monday, September 25, 2006 7:47 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Re: Architecting a large, modular Flex application 76k? That seems quite large - mine is 9290 bytes only. You may want to add the rpc.swc

RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-26 Thread Dimitrios Gianninas
@yahoogroups.comSubject: RE: [flexcoders] Re: Architecting a large, modular Flex application 76k? That seems quite large - mine is 9290 bytes only. You may want to add the rpc.swc and utilities.swc to the external library path as the two SWCs add another bunch of dependencies to the resulting SWC file

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-26 Thread Paul Spitzer
some concerns about potential RSL caching and how to overcome that (I think it can be easily overcome with a proper rollout strategy) I'm curious to hear what your plan is to deal with the caching of RSL(s). Or how others deal with it. Any suggestions? derrickgrigg wrote: I actually was

RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-25 Thread Dirk Eismann
] On Behalf Of Dimitrios GianninasSent: Sunday, September 24, 2006 8:00 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Architecting a large, modular Flex application The cairngorm2-config.xml is used by the compiler to know which classes/MXML files to compile (which

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-25 Thread Derrick Grigg
: [flexcoders] Re: Architecting a large, modular Flex application The cairngorm2-config.xml is used by the compiler to know which classes/MXML files to compile (which it finds under the src folder). the -external-library-path option will use those file during

RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-24 Thread Dimitrios Gianninas
Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derrick GriggSent: Thursday, September 21, 2006 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Architecting a large, modular Flex application Hey

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-21 Thread Derrick Grigg
, September 19, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Architecting a large, modular Flex application 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

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread maxym.hryniv
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 flexcoders@yahoogroups.com,

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
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

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
Sent: Tuesday, September 19, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Architecting a large, modular Flex application 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

RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread Dimitrios Gianninas
Wednesday, September 20, 2006 9:22 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Architecting a large, modular Flex application That's great Dimitrios, thanks. One question, are you using thatcommand file in the flex 2 command line compiler or in ant?--- In [EMAIL PROTECT

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread EECOLOR
Hello, the way we handle this is as follows: We have one library swc that holds our code base. We have an application file that contains all basic application code. This application is compiled with the option -link-report=linkreport.xml. All separate modules are compiled with the option

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread Anatole Tartakovsky
Derreck Your post concentrates around answers onHOW to use interfaces and abstract classes to make large applications. I believe there is another questionthat we sometimes forget to ask. WHY?The main reason for interfaces uses is to allow multiple implementations. Abstract classes are also

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread powellbullfrog
Question. In your library project will you also have abstract class of the events you will dispatch to cairngorm? Will each module have its own controller, or will they all share one in the main application. Thanks Jeff --- In flexcoders@yahoogroups.com, derrickgrigg [EMAIL PROTECTED]

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
Thanks for the info. Your solution of having all the base code in an external library is where I started out, but I wasn't entirely comfortable having all the core code in an RSL (I don't exactly remember why that bothered me so much now). It certainly makes maintenance and development alot

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
Yes, the library will have the events to be dispatched to cairngorm, due to the fact that the modules can interoperate with other parts of the application, so each module needs access to other module's events. I'm intending to have the modules use the main application controller in order to

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread Anatole Tartakovsky
Derrick, Great, then we are on the same page. I was concerned about automatic application of technologies that worked on other platforms like Java to Flex - with completely different code compilation and deployment model. Two side notes related to Flex implementation in your emails: 1. Flex