The Google Web Toolkit can be used to create applications that, in the same code base, work well on an iPhone and a traditional desktop browser.
function logMeIn() { scope = "http://www.google.com/calendar/feeds"; var token = google.accounts.user.login(scope);}function setupMyService() { var myService = new google.gdata.calendar.CalendarService('exampleCo-exampleApp-1'); logMeIn(); return myService;}