>
 





Yesterday, Google introduced Closure Tools (announcement) to enable easy creation of web applications. The tool set containsClosure Compiler, Closure Library and Closure Templates

Closure Compiler is a Javascript optimizer that compiles javascript code into a compact, high performance form. The compiler does more than a standard Javascript compressor. The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs. Moreover, it removes dead code, rewrites the code to improve code running speed on browsers' Javascript engines. It also checks syntax, variable references, variable types and warns about Javascript errors.  

Google's Javascript compressor
Closure Compiler by Google - reduces the size of your JavaScript files and makes them more efficient

 

As mentioned before, Closure compiler is more than a standard Javascript compressor. Using it results having a less buggy and easier to maintain code.

The compiler also offers a Firebug extension, named Inspector, for better debugging.

You can use the Closure Compiler as:

Google's Javascript compressor
Closure Compiler by Google does more than removing whitespace.

 

You can find more details here. Also, tool can be used online at: http://closure-compiler.appspot.com/home.

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Comments

November 6. 2009 18:54

Pingback from topsy.com

Twitter Trackbacks for
        
        Javascript Compiler by Google - Compress Javascript with Closure Compiler
        [bloggingdeveloper.com]
        on Topsy.com

topsy.com | Reply

November 6. 2009 21:01

Social comments and analytics for this post

This post was mentioned on Twitter by bloggingdev: Javascript Compiler by Google - Compress Javascript with Closure Compiler http://su.pr/23k835

uberVU - social comments | Reply

November 8. 2009 21:08

C# Wrapper for Google Closure Compiler - Compressing Javascript Files on-the-fly with ASP.NET and Closure Compiler

C# Wrapper for Google Closure Compiler - Compressing Javascript Files on-the-fly with ASP.NET and Closure Compiler

Blogging Developer | Reply

December 21. 2009 21:28

Do you know of anything that decodes that same type of code? Looks like a nifty compiler too.

Mark | Reply

December 26. 2009 19:28

Just wanted to say thanks for this.

cash loans | Reply

March 15. 2010 14:55

Nothing gives a person so much advantage over another as to remain always cool and unruffled under all circumstances.

cash advance | Reply

Add comment




(Will not be displayed!)