Re: [FLEXJS] Modules

2017-09-08 Thread Carlos Rovira
Hi Piotr, that sounds very good! I'll try that, thanks! :) 2017-09-08 1:12 GMT+02:00 Piotr Zarzycki : > Carlos, > > If I may suggest something you can look into tourjs [1] project where I did > copying in poms. > > [1]

Re: [FLEXJS] Modules

2017-09-07 Thread Piotr Zarzycki
Carlos, If I may suggest something you can look into tourjs [1] project where I did copying in poms. [1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml Piotr On Thu, Sep 7, 2017, 23:24 Carlos Rovira wrote: > Hi Alex, > > I finaly get it

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Hi Alex, I finaly get it working localy. Wasn't aware that I should copy the .js file to MainApp target folder. Know seeing how it works, and talking about duplicates, I think we could only need to put some maven instrucción in the pom so the .js will be copied automatically, and look for

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
it is. If your FlexJS modules are half the size of the SWF modules, will it really matter that there are duplicates? I think maybe if there are issues with static initializers being re-initialized that would require elimination of duplicates. If anyone wants to try to create a utility to remove

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
I tested it locally. I only got the Maven build to create the artifacts. I wasn't sure of the best way to deploy the artifacts. Can you help with that? As I mentioned in the first post, for js-debug you have to copy stuff around. I just ran the Maven build, make a folder in

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Hi Alex, I'm looking to the ModulesExample but is not working for me. I tried to build with regular maven instruction (men clean install) in parent folder of both main app and module. Then run localy and upload to a server, but main app doesn't load and reports 404. In code I see: so

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Ok Alex, I'll be looking at the example and seeing how it performs and give some feedback. I think it could work for me at least, but I suppose that in the end we would need to clean those duplicates in order to have a more "production" feature Thanks! 2017-09-07 9:37 GMT+02:00 Alex Harui

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
Hi Carlos, Peter's work ended up being more like SWFLoader. It loads something much more like a sub-application. There is a examples/flexjs/ModuleExample folder. I have not spent any time on resolving any of the drawbacks mentioned in the original post. First, I want to see how important it

Re: [FLEXJS] Modules

2017-09-06 Thread Carlos Rovira
Hi Alex, very interesting. That was one of the other things I needed, so great to see make it real! :) Questions: 1.- I remember Peter did some work on this. Could you tell us main diferences between Peter's work and yours to understand more about the implementation? 2.- Can I found some

Re: [FLEXJS] Modules

2017-08-18 Thread Alex Harui
Hi Olaf, Hopefully there is no "magic". I think it works pretty much like regular Flex modules. There is a UIModuleLoader that loads a Mouse compiled and defined from a UIModule. You can defer the downloading and instantiation of the module by controlling when the UIModuleLoader's URL for the

Re: [FLEXJS] Modules

2017-08-18 Thread Olaf Krueger
app and will just be instantiated when it's needed? Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FLEXJS-Modules-tp63894p63905.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FLEXJS] Modules

2017-08-15 Thread Alex Harui
Hi, I just pushed a rudimentary version of modules. Regular Flex Modules were separate SWFs of classes that could be compiled separately from the main application and loaded after application startup as well thus helping to manage development time and startup time and download bandwidth. FlexJS