X
Tech

Why Google released Closure Tools

Anything Google can do to make Javascript more valuable to you is in its best interests, and the tools described on its blog today are pretty marvelous.
Written by Dana Blankenhorn, Inactive

Javascript.

The release of Closure Tools by Google under an open source license is all about putting more muscle behind Javascript, whose underlying Java language is under a cloud due to the Oracle-Sun merger.

Web developers face a choice between using Javascript and the Microsoft AJAX Library, part of .Net, in developing Web applications. Google would rather you use tools it depends on, its AJAX Library, and its Web Toolkit.

As C}Net's own Stephen Shankland notes today, Google has pushed Javascript to its limits in GMail and  Google Docs, and developed its Chrome browser in part so Javascript could run faster. Google likes Javascript like Cookie Monster (above, from yesterday's Google home page) likes cookies.

Anything Google can do to make Javascript more valuable to you is in its best interests, and the tools described on its blog today are pretty marvelous.

  • Closure Compiler is a Javascript optimizer that packs code tighter than your best friend's jeans.
  • Closure Library is a Javascript library with low-level utilities and high-level widgets that work on a wide variety of browsers and can be called on as-needed.
  • Closure Templates are implemented for both Javascript and Java, so they can be called from clients or servers.

It is indeed, as one wag put it, a Javascript candy store. It wants to be your favorite candy store. It wants to be your only candy store. No Pepsi, Coke.

Editorial standards