Friday, November 12, 2010

Re: Dynamic module loading (not deferred binding)

Hi,

Wouldn't code splitting at least be part of your answer: see
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html

regards
didier

On Nov 12, 12:14 pm, "Johan P." <johan.piq...@gmail.com> wrote:
> Hi.
>
> I'm working on a hack of the GWT compiler enabling to dynamically load
> Module compiled separately.
> I don't speak of deferred binding capacities which need to compile all
> code in the same process.
>
> What I have in mind is to dynamically load modules written by other
> developers compiled at different time.
> This module will be include by simply load the generated javascript.
>
> Schematically it's will work like this :
> - When compiling the main code, the compiler will export a file which
> trace the binding between full item name and obfuscated item name.
> (this part is already existing)
> - When compiling the dynamic module code, the compiler will use the
> previous table to assign the same names.
> (this part is to do)
>
> The main start point in GWT compiler code it's this method :
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler::compilePermutation
>
> If someone have some advices ...
> Does some of you know this part of the code ? ... in case of technical
> questions.
>
> Johan

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate