Imago runs on Adobe AIR now. You can now enjoy your galleries offline, too. If your impatient check out the screenshot and download ImagoOnAIR alpha version and the Adobe AIR runtime, if you don’t have it already installed.
To build AIR applications you need 2 things to get started:
For the first basic tests there was no need of changes at all. To my surprise. I expected some problems or code changes because of the XMLHttpRequest usage. But it worked and the AIR frameworks looked up the file on the file system. Nice. The only drawback is the way of air deployment. It didn’t fit my idea of how to distribute the app first. I thought the air file would be some kind of executable and could be placed inside a gallery directory. But it isn’t, its an installer file and the app gets really installed on the os. You should remember this when developing your own app!
With this knowledge i decided that Imago should act more like an app and adjust to the framework. Reading local files and loading a galery.xml and the whole gallery was straight forward, again. But i had to adjust the Imago loading mechanism a bit to run under the AIR Security model, i.e. the use of eval after loading the app is restricted. Otherwise this was the only real change caused by the air framework. All other changes were related to the migration from a “see it on one web site app” to a full desktop variante.
AIR is a nice piece of technology and its a simple way for bringing webapps to the desktop. For the app it behaves like a browser with additional access to the local machine. No worries about installation and deployment issues. And the one time footprint of a ~11MB download for the runtime is IMHO ok. Sure if you just want to run Imago or another small app, you get alot of overhead as with almost all frameworks or runtime environments. Buts that pretty normal developer choice.
Want content like this in your inbox
each workday irregularly? No BS, spam or tricks... just useful content: