|
|
This article has an unclear citation style. (August 2012) |
| Original author(s) | |
|---|---|
| Initial release | November 5, 2009[1] |
| Available in | JavaScript |
| Type | Ajax framework |
| License | Apache License 2.0 |
| Website | developers.google.com/closure/ |
Google Closure Tools [2] is a set of tools to help developers build rich web applications with JavaScript. It was developed by Google for use in their web applications such as Gmail, Google Docs and Google Maps.[3]
Contents |
The Closure Compiler is a tool for making JavaScript download and run faster. It optimizes JavaScript. It does not compile from Javascript to machine code, it compiles from JavaScript to better JavaScript (for machine, not human). It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. The compiler is provided in two ways:
The Closure Library is a JavaScript library, written specifically to take advantage of the Closure Compiler, based on a modular architecture. It provides cross-browser functions for DOM manipulations and events, Ajax and JSON, as well as more high-level objects such as User Interface widgets and Controls.
Closure Templates are a templating system for dynamically generating HTML in both Java[4] and JavaScript.[5]
Because the language was apparently referred to as "Soy" internal to Google, and "Soy" remains in some of the documentation and classes,[6] sometimes Closure Templates are referred to as "Soy Templates".
Here you can share your comments or contribute with more information, content, resources or links about this topic.