Google lifts lid on Gdata to spur development

A consistent API across Web apps not easy

If Google is on a quest to become the king of Web-based applications on the back of its search success, wooing more developers to its Google Data, or Gdata, protocol is a strategic part of that plan.

At the 2007 Google Developer Day in Sydney yesterday, the usually coy Google opened up to how its Web application services interact and how third-party developers can write applications to leverage Gdata.

During his presentation, Google data API team member Venuprakash Barathan, said the primary goal of the team is to be able to share information with applications outside of Google.

"To make that easier we need to have a consistent interface to all Google applications, Barathan said. "The Google Data API is all about providing a consistent interface to do that and it's not that easy."

Barathan said Google is already doing this for a wide range of services, like Blogger and Calendar, and developers want to be able access these services "programmatically".

"Why is it difficult to expose the data? We want a simple data protocol and it should be a data format that is easily understandable," he said, adding the other part involves a way to filter and query the information to solve the "once I get it what am I going to do with it?" question.

Develoopers can access Gdata from anywhere with specific languages like Java, .Net, PHP, and Python.

The Gdata API "recipe" uses the Atom publishing protocol with Google extensions which provides a data model for queries, concurrency, and authentication. This also allows for collaborative editing.

For example, applications can query a Google application's data feed with a search term, a category (tags), an update time, and with custom queries like a minimum and maximum row in a spreadsheet.

Updates to services are based on the Atom publishing protocol draft and can be used to create an entry, delete an entry, and update an entry.

For security, Google uses a custom authentication mechanism for its Web apps.

"All of your data is stored in Google services so when you get it you need to authenticate to the service," Barathan said.

The authentication for Web apps works by the app redirecting to the Google authentication service where it logs into Google, it redirects back to the app with an authentication token, and the Web app uses the token to proxy Gdata. All the time the password remains secure.

"This is a very Google specific authentication system and there is some speculation if it is right, but it does work well," Barathan said.

"Regardless of the service the mechanism to add and edit entries is the same," he said. "Gdata is a framework so you won't see the application, you will see implementations of it."

Google has also released open source client libraries in different languages.

Third-party applications using Gdata include tools for synchronizing calendar information, and online photo editing.

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.

Rodney Gedda

Computerworld
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

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

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

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

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?