New Closure Tools from Google for developers

Posted on Nov 06, 2009 | Leave a Comment

Finally Google has launched some nice tools for the developers who spend lots of time in developing complex web application using JavaScript. Google has launched “Closure Compiler”, “Closure Inspector” (extension to Firebug, the Firefox debugger extension), “Closure Library” and “Closure Templates” which are all open source tools to make the JavaScript developer’s life easy and smooth and also developers can use the same and time-tested code in JavaScript/DHTML/Ajax which have been used extensively in Gmail, Google Maps etc.


Now the big question here is how does it help Google to make profit out of this? Which we don’t have much answers but what we really can say that Google is helping the Open source world and developers. Let’s have some brief understanding of the tools -

Closure Compiler – This is a small tool which scans the written Javascript code and removes any dead variables or references or any dead code. It also parses the JavaScript and does the analyzing to optimize the code. It even checks for syntax and warns or shows error if there are any pitfalls or loopholes. Though it is named as Compiler but it doesn’t compile the JavaScript code to machine code like a real compiler. So it helps the developers significantly by reducing the size of the JavaScript code so that applications runs faster and efficiently and loads smoothly without any hick up. It also checks the code for potential loopholes or bugs and makes it easy to maintain.

Closure Library – The Closure Library is a time tested set of JavaScript library which also supports cross-browser functioning. There are a large set of reusable UI widgets and controls and event framework already developed so that developers can easily use them in their portal application. It has lower level DOM manipulation tools to showing real time animation or rich user interface. Google Software Engineers developed this Closure library for creating large scale web applications and portal applications like Gmail or Google Docs or Google Maps. So this is very much suitable for a large and growing web application and developers are not needed to ‘reinvent the wheel’.

Closure Templates – As the name suggests these Templates are client and server side template system which is developed based on the reusable DHTML and UI elements. It is simple to learn and can easily be customized to project requirements. These templates are available for both JavaScript and Java so that they can be used as a clubbing product on both the server and client side.

Related Articles:

  1. Google gives employees to test new Google Phone(HTC Passion) We don’t is it a hoax or not but from...
  2. Greg Badros has joined Facebook as Director of Engineering from Google Facebook has finally hired Greg Badros as Director of...
  3. Eclipse DemoCamp starts from Nov 01 From this November 01 till December 04, Eclipse community is...

Leave a comment

Spam Protection by WP-SpamFree

Advertisement

Subscription

You can subscribe by e-mail to receive news updates and breaking stories.