3 ms·
It is not a replacement for GWT. Closure is for people that want to write Javascript. GWT is for people that want to write Java.
by enomar 16y ago
It is not a replacement for GWT. Closure is for people that want to write Javascript. GWT is for people that want to write Java.
- maqr 16y agoIt looks like there's a "Library", "Compiler", and "Templates". The Library looks like a Javascript library, the Compiler looks like a Javascript optimizer, and the Templates look like the GWT-ish thing that builds HTML from Java (or Javascript?). source: http://code.google.com/closure/ http://code.google.com/closure/
- pjscott 16y agoClosure Library: a JS library containing a bunch of useful stuff. Closure Compiler: A compiler that takes Javascript as input and produces Javascript as output. Removes dead code, does various optimizations, and usually beats other minifiers by a small but significant margin. Closure Templates: a templating system that generates Java or Javascript code. Handy if you want to generate a bunch of HTML from templates in Javascript, and you don't want to write all that by hand.