Friday, September 28th, 2007p>As soon as the iPhone was released, Bob Vawter of the GWT team had some fun playing around with the experience of creating iPhone applications within GWT. To do this, he wrote a demo application that uses the Ajax Feed API to read feeds.
He open sourced the code, and wrote up a detailed article on the design decisions and implementation of the app. For example, how do GWT events tie into the iPhone gestures; using
DeferredCommand.addCommand(), history support,
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.
After deciding on the UI layout style, implementing the RSS reader application was just like writing any other GWT application. Much of the gross feature set was worked out with hosted-mode development and then the fit-and-finish of the application was finalized using a combination of Safari3 and an iPhone. Most of the time, the test application was accessed over the EDGE network, to simulate the typical use case. Targeting the high-latency, low-bandwidth configuration makes using the application on a WiFi network even better.
Posted by Dion Almaer at 9:53 am