December Primer : Migrating AJAX Applications to Adobe AIR
Adobe AIR is a technology platform aimed at bringing the ease of conventional web development to the desktop development experience. AIR is a cross platform technology, just like the Flash Player, capable of running on Windows, Mac, and Linux. An AIR application can be created using traditional HTML and JavaScript, the Flex framework, or a combination of the two. When developing with HTML and JavaScript, Adobe provides a tailored version of Webkit. This being available, it’s possible to utilize JavaScript frameworks such as jQuery, Prototype, and Dojo as well as most of their plugins. AIR also exposes a set of JavaScript libraries which allow you to take advantage of desktop integration features such as file system access, SQLite access, network monitoring, and more. Additionally, with AIR running on the desktop, some of the cross-site security concerns imposed by the browser are removed, conversly though, a new set of concepts regarding security sandboxes are introduced which can get a little tricky at times. Overall however, the experience is very similar to what we as a group are accustom.
In this month’s meeting, I’m going to show you the what’s involved in migrating our restaurant application to the AIR platform. My goal is to give a brief introduction to AIR, show you the tools I used to migrate the application, and last, but most importantly, show you lots of code to relay some of the previously mentioned concepts. If you’d like to follow along on your own laptop, having the following available will make it easier:
- Adobe AIR 1.5 SDK and runtime
- Aptana Studio with AIR support installed
- Code from SVN
I’ll show most of my code examples in Apatana, since it’s stupid easy to use with AIR, but I’ll go over the command line tools for adl and adt as well.
Hope you can join us on December 18th @ 7:00 PM at Charlie and Jake’s for the end of year meeting. If you think you may be able to attend, please RSVP here so we can give our sponsor a head count. If you can’t make it out, Happy Holidays from the RAnDOM crew!
NOTE: Sorry for the delay on this primer. I realize the meeting is this Thursday, so I hope you can join us for our meeting.
