Thursday, August 2, 2007

Weekly Google Code Roundup for July 30th to August 3nd

| More

Google Code - Updates: Weekly Google Code Roundup for July 30th to August 3nd



It feels like summer started a blink of an eye ago but we have reached August already. The summer months tend to be slower, but it doesn't seem to be the case so far at Google.

In API and developer-product news...

Create calendars with the Google Calendar Data API.

The Google Calendar data API now supports two new read/write feeds that allow you to manage a user's list of calendars. One feed lets you create and delete calendars, while the second feed can be used to add and remove subscriptions to existing calendars.

New API: It Slices! It Dices! It Uploads Your Docs!

Not only can you create new calendars, but you can create, import, and manage your Google Docs and Spreadsheets.

Google Mashup Editor, built with GWT

The Google Mashup Editor is a high profile, complex application that was written with GWT. Rich Burdon of the GME team discusses the rationale behind the GWT tool choice.

Looking for somewhere in India, Hong Kong, Taiwan, Singapore, or Ireland? Just geocode it!

Over the past few weeks, we enabled geocoding in the API for India, Hong Kong, Taiwan, Singapore, and Ireland. That means there are potentially 1.1 billion more users that might now be able to locate themselves on your map - that's about 1/5 of the world's population. (Pamela utilized GoogleLookup functions in a google spreadsheet to do the calculations.)

Chris Schalk has a detailed article introducing the Google AJAX APIs. The articles does in depth on all things Ajax.

Around Google

Microformats in Google Maps

We're happy to announce that we are adding support for the hCard microformat to Google Maps results.

How long will it take at rush hour?

The Maps team has added estimated timing on directions depending on rush hour.

Computer science resources for academics

Because we know that between teaching, doing research and advising students, computer science educators are quite strapped for time, we've recently launched a site called Google Code for Educators. While you may have previously heard about our offerings for K-12 teachers, this new program is focused on CS topics at the university level, and lets us share the knowledge we've built up around things like distributed systems and AJAX programming. It's designed for university faculty to learn about new computer science topics and include them in their courses, as well as to help curious students learn on their own.

Featured Projects

The Google Singleton Detector, or GSD, is a tool which analyzes Java bytecode and detects our different types of global state, including singletons, hingletons, mingletons and fingletons.

GWT Ext allows you to Ext components from within your GWT applications.

Google Tech Talks

Open Source Speaker Series: SilverStripe CMS

Advanced Topics in Programming Languages: Java Puzzlers, Episode VI

Hardware/Software Hacking: Joining the Real and the Virtual

LLVM 2.0

View more tech talks.

Podcasts

Google Developer Podcast Episode Six: The Hibernate Shards Open Source Project

We got to discuss the newly open sourced Hibernate Shards project with two of the core team that worked on it.

The Toronto Connection

For our latest podcast, we spoke with four students who are working together on their Summer of Code projects. Three of the students attend the University of Toronto, but Jeff Balogh visited the university at the start of the program to do some project planning with David Cooper, so he's an honorary UT alumni; both David and Jeff are working with mentors from the Python Software Foundation.

URL: http://google-code-updates.blogspot.com/2007/08/weekly-google-code-roundup-for-july.html

[Gdev] GWT Ext

| More

Google Code - Featured Projects: GWT Ext

GWT Ext Screenshot
Author: Sanjiv Jivan
Google APIs used:
Use the great looking Ext components in your GWT applications.

URL: http://google-code-featured.blogspot.com/2007/08/gwt-ext.html

Google Developer Podcast Episode Six: The Hibernate Shards Open Source Project

| More

Google Code - Updates: Google Developer Podcast Episode Six: The Hibernate Shards Open Source Project




Max Ross and Maulik Shah were part of a core group that worked on the recently open sourced Hibernate Shards project.

In the podcast you will learn:
  • What sharding is and what it means in the world of Hibernate
  • How the word "shards" is common at Google (the equivalent of "smurf" in The Smurfs)
  • Why you would want to shard your data to give you increased scalable performance
  • How the Hibernate Shards project doesn't mess with the core APIs, allowing you to add sharding unobtrusively
  • What you need to think about if you want to shard your data, and how you can design a schema that has a dimension that is easily sharded. This includes designing without complex relationships.
  • How you could create a crazy project that shards data across multiple databases (as in, one mysql, one Oracle), but that would be crazy
  • The various strategies to define how you retrieve your objects across the distributed data store
  • How this compares with horizontal partitioning at the database level itself (e.g. new features in MySQL, PostgreSQL, and others)
  • And much, much more.
For more information check out the Hibernate Shards homepage and the Google Group for discussion.

The new release that was mentioned in the podcast just went live. Congratulations to the team.

Start listening now


You can download the episode directly, or subscribe to the show (click here for iTunes one-click subscribe).

URL: http://google-code-updates.blogspot.com/2007/08/google-developer-podcast-episode-six.html

Enclosure: http://google-developer-podcast.googlecode.com/files/googledev006.mp3

Wednesday, August 1, 2007

[Gd] Looking for somewhere in India, Hong Kong, Taiwan, Singapore, or Ireland? Just geocode it!

| More

Official Google Maps API Blog: Looking for somewhere in India, Hong Kong, Taiwan, Singapore, or Ireland? Just geocode it!

Over the past few weeks, we enabled geocoding in the API for India, Hong Kong, Taiwan, Singapore, and Ireland. That means there are potentially 1.1 billion more users that might now be able to locate themselves on your map - that's about 1/5 of the world's population. (I utilized GoogleLookup functions in a google spreadsheet to do the calculations.)

As with the last update, I've set up an example below using the API geocoder to prove to you that geocoding works for these regions. You can enter in any address you'd like, or, if you're feeling un-creative, click on a flag to populate the address field with a sample address and see it geocoded. If you're on a computer with chinese input, you can geocode more exact addresses in Taiwan like "台北汐止龍安路36 台湾". Happy geocoding!

Link to Map Example

URL: http://googlemapsapi.blogspot.com/2007/08/looking-for-somewhere-in-india-hong.html

Tuesday, July 31, 2007

[Gd] Microformats in Google Maps

| More

Official Google Maps API Blog: Microformats in Google Maps

If you have spent any time in certain corners of the web, you will have heard of Microformats: Clever uses of HTML that add machine-readability to everyday web pages while preserving human-readability. Microformats allow tools to make more sense of your web pages, while not changing the visual appearance for visitors to your site one whit.

Today we're happy to announce that we are adding support for the hCard microformat to Google Maps results. Why should you care about some invisible changes to our HTML? By marking up our results with the hCard microformat, your browser can easily recognize the address and contact information in the page, and help you transfer it to an addressbook or phone more easily. Firefox users can install the Operator or Tails extension; IE or Safari users can use one of these bookmarklets.

If you are on a Mac, and want to export a search result to your address book, this is how it looks:





Using Microformats in your Maps API application
You can get the benefits of microformats for your own maps applications if you change your HTML to contain the necessary hcard classes. In this simple example, we've changed the infowindow to contain an hCard formatted address. The code for that is below:

   var html = '<div class="vcard"> <span class="adr">'              + '<span class="fn n">Googleplex<br />'              + '<span class="street-address">1300 Amphitheatre Parkway</span><br />'              + '<span class="locality">Mountain View</span>, '               + '<abbr class="region" title="California">CA</abbr>'              + '<span class="postal-code">94043</span>'              + '</span> </div>';   map.openInfoWindowHtml(map.getCenter(), html); 

If you want to learn more, head over to microformats.org.


URL: http://googlemapsapi.blogspot.com/2007/06/microformats-in-google-maps.html

[Gdev] Google Singleton Detector

| More

Google Code - Featured Projects: Google Singleton Detector

Singleton Detector Screenshot
Author: David Rubel
The Google Singleton Detector, or GSD, is a tool which analyzes Java bytecode and detects our different types of global state, including singletons, hingletons, mingletons and fingletons.

URL: http://google-code-featured.blogspot.com/2007/07/google-singleton-detector.html