On Friday, December 10, 2010 8:23:59 AM UTC+1, karthik reddy wrote:Given than closure library has a plethora of UI elements(all the nice UI elements one could see across various google products like Google docs, maps, gmail etc), would it not be worthwhile to use them in GWT using JSNI. Has anyone tried this ??
Isn't it what the "new" Google Groups does? (and FYI GMail does it the other way around: the "find people" dialog box in Buzz is made with GWT, AFAICT) Any performance implications ??? Unless you compile your Closure "lib" (with the Closure compiler) once for each "permutation" of your GWT app, and load the appropriate one (corresponding to the same browser as the current GWT permutation), then the Closure code would use feature/UA detection at runtime (e.g. "is this IE?" would still be performed whilst GWT already determined it's running in Firefox, but it didn't tell the Closure code...) And of course, if you don't compile the Closure code (with the Closure compiler) at all, it'd be even worse as each goog.require() would load an entire new script (i.e. make another HTTP request) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
