Hacking away at GWT5
rzwitserloot posted in programming on March 19th, 2007
There’s a lot of progress going on integrating Script.aculo.us and YUI-EXT (which are both effects and widget libraries for web pages, targetted at writing vanilla javascript) into GWT - the combination java to javascript compiler and widget/effects library by Google.
One of the strengths of GWT is that, due to java’s explicit static typing (I’ve talking about this before) GWT can determine, with very fine granularity, which code is actually used, and which code isn’t.
This is nice in reference to effects/widget libraries, because not sending to the browser the code for the effects/widgets that you don’t use is a nice boon; you can in effect use such a library even for just one small effect without worrying about forcing another 50k to download for every client. The digg homepage could use some of this treatment, which clocks in at a 3MB download for the whole thing.
So, while wrapping around YUI-EXT or scriptaculous is certainly a fine effort, the real solution is to rewrite it all in GWT code.
Here’s some effects I quickly hacked together: Source + demo: tipit-gwtlib.
