On Sun, Jan 29, 2012 at 12:43 PM, Peter Bittner <[email protected]> wrote:
>
> What's the bootstrap_file, really?

bootstrap file is responsible for getting the whole party started --
it searches for pygwt:module meta tags, loads the corresponding
nocache file in an iframe, which then loads the proper cache file
(mozilla/safari/etc) and starts loading modules.  when the whole thing
is loaded, it calls the very first function to bootstrap the
application.

there is a module controller in that file that you can hook into, and
an empty function called __pygwt_earlyuser ... this function will be
called before anything else (essentially the very first thing done),
giving you a chance to use raw javascript to create a bootsplash/etc
... whatever you want really.

it was designed this way to avoid tons of options for minor changes --
simply add the custom code you want to the early user routine -- it's
sort of like an initramfs in linux.

-- 

C Anthony

Reply via email to