Google to host JavaScript libraries for developers

Libraries will make life easier and faster for developers

Google last week launched its Google AJAX Libraries API, enabling developers to use the company's global infrastructure to host and serve major JavaScript libraries.

"What it is really about is being able to make life easier and faster for developers," said Dion Almaer, Google engineer for developer programs.

The API serves as a content distribution network and loading architecture. Using the Google AJAX API Loader method, an application gains access to open-source JavaScript libraries, including script.aculo.us, dojo, jQuery, MooTools, and prototype.

Alamaer said the project is just the beginning; Google wants to add more libraries.

"If we see good usage, we can work with browser vendors to automatically ship these libraries. Then, if they see the URLs that we use, they could auto load the libraries, even special JITed (Just In Time) ones, from their local system," said Almaer.

Thusly, there would be no network hit at all. The browser could have the IP addresses for the service available to avoid DNS hits. Also, longer lived special browser caches for JavaScript could use the URLs.

"The bottom line, and what I am really excited about, is what this could all mean for Web developers if this happens," he said. "We could be removed of the constant burden of having to re-download our standard libraries all the time."

Google's Web page on the project said the API "takes the pain out of developing mashups in JavaScript while using a collection of libraries."

In addition to hosting libraries, cache headers are set; up-to-date bug fixes are furnished as well. Automatic compression also is featured as part of the project.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld

Comments

Comments are now closed.

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?