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.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?