In my tradition of coming up with application names that start with "sn", I introduce to you, Snoto Photo.
Snoto Photo is a Flickr application built on Adobe AIR using Mootools. It loads up your latest photos, allowing you to view larger versions of them, do a slideshow, or load up the photos from any of your contacts.
The goal of this is not to create a Flickr client that "does it all". It was put together as a reference application for anybody interested in learning more about Adobe AIR. Snoto has been released under a Creative Commons license, so it's available for you to take and extend how you wish. The link to the source code is included at the bottom of the Snoto page.
As it turns out, Mootools was, for the most part, a pleasure to use within AIR. The latest version works fine without needing to create child sandboxes (as does jQuery, ExtJS and most of YUI).
I modularized the application which, after some initial hurdles figuring things out with the API and authentication, made the application fairly straightforward to put together. It's at a stage now where photosets and groups could be added quite easily within a few hours.
Probably the biggest hurdle in taking a modularized approach is ensuring that objects are bound properly to event handlers and callback functions. Browsing through the code, you'll see I've made heavy use of
From the AIR API, I haven't gone hogwild but rather kept it simple. You can see use of nativeWindow, context menu and EncryptedLocalStore.
Having access to Webkit made styling the interface very straightforward. Like Snitter, it's a combination of background images, PNG images, and some CSS3/border-radius to round things out.
I learned from my mistakes with Snitter and went with the standard OS chrome instead of trying to build something custom. As a result, the application feels performant, even at larger sizes.
Take a spin
Even if you don't have any plans to build an AIR app, feel free to give the application a try. I'll be adding some features when I have time.