Friday, November 6, 2009

JavaScript programming tools now from Google

With a project called Closure Tools, Google plans to start helping developers who aspire to match the company's proficiency in creating Web sites and Web applications. Google is a strong proponent of using JavaScript to write Web-based programs, which is a part of its Web-centric ethos, reports CNET News.

Indeed, the company has pushed the language to its limits with services such as Gmail and Google Docs, and it developed its Chrome browser in part to enable JavaScript programs to run faster. But writing, debugging, and optimizing heavy-duty JavaScript can be difficult - in part because a given JavaScript program sometimes works differently on different browsers. Google's open-source Closure Tools project is an attempt to help with some of these challenges.

The first in the suite of tools is the Closure Compiler, a software package designed to boil down a JavaScript program so it's smaller and runs faster. Along with the compiler come some extra tools that run in the Firefox browser. One, Closure Inspector, is an extension for Firefox's Firebug add-on designed to help programmers understand and debug the rewritten JavaScript. Another add-on for the Google Page Speed extension lets programmers see how much the compiler helped.

Google also plans to make the compiler available as a Web application hosted on its Google App Engine service. The second element is called the Closure Library, a collection of pre-built JavaScript codes that lets programmers handle relatively sophisticated technology - arrays and string manipulation, for example. Last are Closure Templates, more pre-written codes to ease creation of JavaScript and HTML user interfaces.

In an earlier era, programming tools were expensive packages bought by a select few, but open-source software, new marketing strategies, and new business methods have made that approach the exception rather than the rule these days. Now programming tools are often a means to another end - encouraging programmers to produce the software that will make Windows or the Palm Pre useful and therefore popular.

Agencies

No comments:

Total Pageviews