In my particular case the MAIN Application's main function is to control which module is active by controlling the active object in a ViewStack. The MAIN Application also displays the system alerts i.e. Calendar reminders. The main Modules are really separate applications, as a matter of fact for testing purposes they all have their own Top Application to load the main Module the "controller-module", the controller-modules then loads the other submodules as required. The 3 principle ways the Module communicate with the MAIN Application by in order of popular use: 1. Global variables, 2. Passing values In Events 3. RemoteObjects in conjunction with Red5. Beyond that the modules communicate directly with a Java backend via BlazeDS.
Since I work on Enterprise applications I like to at least give the "illusion" the user is using a single screen application, that is why I also use Dojo for some of the other work I do. If my application HAS to become multiple separate applications (ie CRM, Calendar) I presume a couple of ways to pass data around would via WebSockets or even BlazeDS. That is why I was hoping to hear from someone who already had or was trying to do with I want to try, because I'm so "confused" LOL!! Any ideas are welcomed and appreciated. Thanks! Carlos -----Original Message----- From: Alex Harui [mailto:[email protected]] Sent: Thursday, October 6, 2016 12:09 AM To: [email protected] Subject: Re: FlexJS application and swf mudoles On 10/5/16, 8:39 PM, "Carlos Cruz" <[email protected]> wrote: >I'm wondering if anyone has any experience working with FlexJS >Application and swf Modules. > > > >I would like to test FlexJS and it would make my life much easier if >somehow I could start by recoding the main application and continue to >use the existing swf modules. > > Hi Carlos, We don't have support for modules yet. Volunteers could try to create it. But the first implementation would probably have the FlexJS SWF output loading SWF-based modules and the FlexJS HTML/JS output loading other html or js files. For your scenario, how would the swf modules communicate to the FlexJS JS code? Or is the main app a shell app that doesn't talk much to the modules? Thanks, -Alex
