claude wrote:
> As I dig through behavioral aspects of the GWT, I am finding a number
> of details that are not documented. I was hoping I could encourage the
> some formal documentation for some of these.
We've prioritized documenting the areas of GWT that are most
immediately relevant and least likely to need to be tweaked. But, your
point is well taken. Hopefully, it's apparent that we are serious about
having good documentation, so it's really just a matter of what to
document when.
> 1) One of the things I'm currious about is the use of gwt:module
> declarations with alternate baseURL settings.
> ...
This topic is definitely ready for more formal documentation. It has
seen a lot more use than we anticipated. And with 1.1.10, its behavior
has been pretty well normalized, so that's something we'll get in there
pretty soon.
> 2) Also, the module definition files contain many tags that are not
> documented, including:
> * the 'generate-with' and 'when-type-assignable' tags
> * the 'replace-with', 'when-type-is' and 'any' tags
> * the 'define-property' and 'set-property' tags
> * the 'super-source' tag
These are still intentionally undocumented, but after another couple of
bugfix releases, we will start explaining a bit more about the
underpinnings that hopefully people will find valuable.
> The 'super-source' tag is a
> complete mystery.
Yeah, it's a weird concept, and you'll probably never need to use it.
That's why we didn't prioritize documenting that one.
> Should I avoid trying to get more than one module working in the same
> host page? Is this intended for the future but not fully functional at
> the moment?
I would avoid it right now. If you already have a GWT compile step in
your build, then there's probably no need to do it. Whenever you would
have added two modules to a host page, you could have simply created a
hybrid module that inherits the other two. It's *far* better to compile
modules together since then you get better optimization and
obfuscation.
Why is there a documented 'extend-property' but no
> 'define-property' and 'set-property' documentation?
<define-property> is only useful with the other deferred binding tags
such as <replace-with>, etc.
<extend-property> is documented specifically because it's needed to
specify locales for i18n.
-- Bruce