| By Maureen O'Gara | Article Rating: |
|
| November 10, 2009 05:00 PM EST | Reads: |
4,980 |
Google Thursday open sourced its Closure JavaScript tools – a compiler, a cross-browser, server-agnostic library and a bunch of precompiled templates – in the name of making web apps easier to build.
Recall that Gmail, Google Docs and Google Maps are JavaScript-intensive applications. Well, Google says the Closure widgetry is a key part of the JavaScript infrastructure behind its web apps. And the more web apps, the more of a headache for Microsoft and its ilk.

Over 2,200 Delegates at the 4th International Cloud Computing Expo in Sta.Clara CA
Developers can take a command-line approach to the compiler, or go through a web application that Google’s provided that accepts code to be compiled through a text box or a RESTful API. It’s also offering a Firefox extension that shows off the performance enhancements.
Google said to think of the Closure Templates as small components used to form a user interface, instead of having to create one big template per page. They’re implemented for both JavaScript and Java, so the same templates can be used on both on the server and client side.
The Closure Compiler is described as a JavaScript optimizer that compiles web apps down into compact, high-performance JavaScript code. It removes dead code, then rewrites and minimizes what’s left so it will run fast on browser JavaScript engines.

More than 50 Sponsors and Exhibitors at the 4th International Cloud Computing Expo in Sta.Clara, CA
It also checks syntax, variable references and types, and warns about common JavaScript pitfalls. Using it should mean apps that are less buggy and easier to maintain. It can be used with Closure Inspector, a Firebug extension that Google says “makes debugging the obfuscated code almost as easy as debugging the human-readable source.”
Published November 10, 2009 Reads 4,980
Copyright © 2009 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Maureen O'Gara
Maureen O'Gara the most read technology reporter for the past 20 years, is the Cloud Computing and Virtualization News Desk editor of SYS-CON Media. She is the publisher of famous "Billygrams" and the editor-in-chief of "Client/Server News" for more than a decade. One of the most respected technology reporters in the business, Maureen can be reached by email at maureen(at)sys-con.com or paperboy(at)g2news.com, and by phone at 516 759-7025. Twitter: @MaureenOGara
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?



















