Flutterby™! : Google Closure Tools

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Google Closure Tools

2009-11-05 22:45:14.857007+00 by Dan Lyke 2 comments

Sean Leather linked to Google Code Blog: Introducing Closure Tools. Tools for JavaScript, including a type checker and compiler (Including a FireBug plug-in that decompiles your "compiled" optimized JavaScript for debugging purposes), and a widget library.

[ related topics: Web development ]

comments in ascending chronological order (reverse):

#Comment Re: made: 2009-11-06 00:17:33.278794+00 by: ebradway

One drawback to the tool is that it somewhat obfuscates the JavaScript. So much of the web is built on "stolen" JavaScript...

Probably the biggest plus of the tool is it really elevates JavaScript (or ECMAScript) to a tool that might be used for more than just Hover-Overs. Look out Silverlight and Flash... ECMAscript + HTML5 are comin' to getcha!

#Comment Re: made: 2009-11-06 00:49:17.296607+00 by: meuon

Make that stolen/borrowed BAD JavaScript. Most of the JavaScript I see is bad voodoo magic black box crap by web designers who cut/paste/steal/javascript without any clue what they are doing.

I recently replaced almost 400 lines of JavaScript functions with:
onClick='window.location=""+document.getElementById("gourl").options[getElementById("gourl").selectedIndex].value+"";'

I got started with Dori and Tom's Excellent Book on JavaScript and AJAX.

"Closure" looks like some good reading and experimentation over the weekend. If it's light enough it might be worth messing with rather than Jquery, which it seems I can break in many interesting ways.