I can't speak to the specifics of your project at the moment--though
you'd probably get a better response if you included a design doc
and/or code.
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>
3. They think it doesn't have value.
Do you know how I can get in contact with someone from GWT?
This is just a general comment from me personally -- I recognize that
there are times that you need dynamic functionality, but realize that
you pay a significant cost for it. Typical structures used to handle
dynamic content don't optimize well, and the compiler is unable to
remove a lot of code because it might be used depending on the data
received from the server.
Personally, when you can get away with it, you are much better off
either generating static code from dynamic data (which of course means
recompiling your app) or rendering the dynamic parts on the server. I
don't know if either of those are feasible for your use case.
Just because something is expensive doesn't meant it shouldn't be in
GWT -- if what you need to do is expensive, that doesn't change the
fact that you still need to do it. However, it would need to be done
in a way so that most people, who do not actually need that
functionality, do not wind up using it by mistake or paying the cost
because some library they use does. An example is reflection -- it
would be possible to implement reflection in GWT, but the problem is
that then almost all of the useful optimizations the compiler does
goes away. You can never remove a method that isn't referenced
(including after inlining it where you can) because there might be a
reflective call to it, you can no longer tighten argument types based
on the callsites, etc. So, rather than promoting functionality that
people definitely want but encourages them to write code that compiles
poorly, we chose to leave out reflection.
--
John A. Tamplin
Software Engineer (GWT), Google
Hi Ted,
This is exactly what i was looking for using in one of my projects.
I tried the source at http://code.google.com/p/gwt-binding-fly/ - but this doesn't work at smoothly as
http://gwt-binding-fly.appspot.com/
is the code base different?