google code - ReadWriteWeb http://www.readwriteweb.com/feeds/tag/google code en Copyright 2012 Richard MacManus readwriteweb@gmail.com Tue, 14 Feb 2012 18:04:00 -0800 http://www.sixapart.com/movabletype/?v=4.35-en http://blogs.law.harvard.edu/tech/rss Google Wants to Make APIs Faster: Introduces Partial Response and Partial Update google_code_logo_mar10.jpgGoogle just announced two new features for some of its most popular APIs: partial response and partial update. This, according to Google, is part of the company's efforts to make the web faster. Instead of having to pull a full feed of data from Google Calendar, which usually included lots of extra information you don't really need, developers can now request a partial response that only includes relevant data. Developers can also use the new partial update feature to edit this data and send it back to the server without having to touch any of the unneeded data.

]]> As Google points out, these two new features in its APIs should allow developers to reduce the network, memory, and CPU resources needed to work with Google APIs. In Google's example, a full calendar feed contained 160 kB of data, while a partial feed only contained 8 kB - a 95% reduction (these links point to your own calendar, so your mileage may vary). These performance enhancements should be especially noticeable on mobile devices.

Partial response and partial update are now available for the YouTube Data API, the Calendar Data API and the Picasa Web Albums Data API. The Sidewiki Data API currently only supports partial response.

You can find a more detailed description of these new features here.

]]> Discuss]]>
http://www.readwriteweb.com/archives/google_wants_to_make_apis_faster_introduces_partial_response_update.php http://www.readwriteweb.com/archives/google_wants_to_make_apis_faster_introduces_partial_response_update.php Google Mon, 22 Mar 2010 11:42:17 -0800 Frederic Lardinois
Make Your Apps Smooth Like Gmail: Google Open Sources UI Javascript Tools Google is open sourcing a collection of Javascript tools today that will enable developers to build faster, more powerful and more efficient web applications using some of the same code that runs Gmail, Google Maps and Docs.

Why is Google doing this? Because the more powerful web applications become, the more important Google's search, browser and nascent OS become. More relevant to developers than some grand anti-Microsoft conspiracy, though, is that some serious UI sweetness may be forthcoming.

]]> Here's what's being made available today:

The Closure Compiler will scrunch up your weighty javascript for super-efficient deployment, allowing you to do more in the user's browser with a much smaller code payload to deliver. The compiler is available in binary, as a web app and as an API. Google is also releasing a Firebug extension called Closure Inspector that will translate those compiled bits of code back into their original format.

The Closure Library is a collection of cross-browser, modular, "industrial strength" UI components from across the various Google properties. Rich text editor, DOM inspector, drag and drop ala Google Maps - you want it, you got it.

Also released are a number of high-efficiency Closure Templates.

Google's Amit Agarwal says that all of the above were originally built as "20% time" projects but then became fundamental parts of some of the most popular Google applications. Now these technologies can be used in building your apps, as well.

It will be interesting to see how these Google offerings stack up and get adopted compared to Yahoo's YUI library.

]]> Discuss]]>
http://www.readwriteweb.com/archives/google_ui_javascript_library.php http://www.readwriteweb.com/archives/google_ui_javascript_library.php Web Development Thu, 05 Nov 2009 10:31:45 -0800 Marshall Kirkpatrick
New Google Code Labs Clarifies Commitments to Developers googlecodelabslogo.jpgGoogle announced today the launch of a new site, Google Code Labs, where developers can find links to all the major code projects that Google staff is working on. It's a central place to find APIs that 3rd parties can build off of and it includes a clarification of what projects Google has made a long term commitment to and what they have not. We were a little surprised to see what the company considers "graduated" from Labs and what's still there.

Perhaps nothing like this should be a surprise coming from a company that built the leading webmail product online and still calls it Beta five years later.

]]> By clarifying what's still in Labs and what's not, though, Google may enable other companies to know what they can depend on for building into products and what they might want to be cautious with. The Code Lab is not to be confused with the older and more general purpose Google Labs.

Who's worn the virtual cap and gown already? Twenty seven projects are listed as graduates, including the YouTube APIs, Maps APIs and (thank goodness) Contacts API. We've been wondering why more developers aren't using the Contacts API but instead keep asking us for our precious Google passwords. It's been out for a whole year now. Now there can be no excuse! The Contacts API is real, it's solid and Google is committed to supporting it.

Surprises among the 18 projects still deemed too green for prime time? Gears, Finance Data APIs, Social Graph API and the Feedburner APIs.

Google APIs are an incredible resource and today's announcement should further their adoption. We'll be monitoring the Code Labs page for the experimental availability of the inevitable Google Brain Implant API, but until that day comes we feel almost unconditionally excited about the code projects the Google teams are working on.

]]> Discuss]]>
http://www.readwriteweb.com/archives/new_google_code_labs_clarifies_commitments_to_deve.php http://www.readwriteweb.com/archives/new_google_code_labs_clarifies_commitments_to_deve.php Data Services Tue, 03 Mar 2009 12:34:16 -0800 Marshall Kirkpatrick
Google Releases Contacts API What's the most in-demand API on the web that hasn't existed until today? Wether they knew it or not, millions of people online have thought to themselves "why is this new site I'm on asking me for my Gmail username and password? When will there be a secure API for me to pass those contacts allong without giving up my password?"

That day has come. The Google Contacts API went live tonight and it enables far more than just contact transfer.

]]> According to the Contacts API site, the new API allows application developers to enable their users to:

  • Synchronize Google contacts with contacts on a mobile device
  • Maintain relationships between people in social applications
  • Give users the ability to communicate directly with their friends from external applications using phone, email, and IM

"The Contacts API allows developers to create, read, update, and delete contacts using the Google Data protocol, based on AtomPub," the announcement says. "It also allows for incremental sync by supporting the 'updated-min' and 'showdeleted' parameters."

Pretty hot read/write stuff and particularly interesting given today's developer launch of the location tracking Fire Eagle from Yahoo!

One thing Fire Eagle has going for it that the Google Contacts API does not is support for the open authentication standard oAuth. Support by Google for oAuth in this API would have reduced the work required for developers by allowing code from other authentication proccesses to be reused. Google is supporting oAuth in OpenSocial, but on some days that hairball is harder to get excited about that a nice simple API like this one that delivers clear value.

Today's a big day for developers, may the secure Gmail contact leveraging begin!

]]> Discuss]]>
http://www.readwriteweb.com/archives/google_releases_contacts_api.php http://www.readwriteweb.com/archives/google_releases_contacts_api.php Product Reviews Thu, 06 Mar 2008 03:18:56 -0800 Marshall Kirkpatrick