This page is an archive of my old blog. Please visit DavidTucker.net for my current blog.
This site is no longer being maintained and commenting is disabled.

360Flex – Cairngorm for Adobe AIR Applications

My session at 360Flex Atlanta is titled, Cairngorm for Adobe AIR Applications. Here is the gist of the session:

Cairngorm is not built for AIR applications, but rather for Flex applications. To take advantage of the AIR API specifics, you will have to modify the way that you work with Cairngorm. I will be going through some “best practices” for working with Cairngorm in your AIR applications, and I will be making a small announcement that hopefully can assist you in your future AIR development.

If you have any special items that you would like me to cover in this class, feel free to leave a comment. I will do my best to work your issue into the discussion (or at least cover it here on the blog).

15 Responses to “360Flex – Cairngorm for Adobe AIR Applications”

  1. Andy Goldstein says:

    David,

    I’ve been working with a client that is using Cairngorm in its AIR application. So far we haven’t really run into any incompatibilities that I can think of. Could you perhaps elaborate a little more on what you mean by “Cairngorm is not built for AIR applications”?

    Thanks,
    Andy

  2. David Tucker says:

    @Andy – It’s not the Cairngorm doesn’t work for AIR apps, it is just that you can’t (by default) take advantage of the AIR API – specifically areas where an AIR application’s lifecycle would be different from a Flex application. Cairngorm doesn’t (by default) enable you to work with BrowserInvokeEvents / InvokeEvents (command line arguments) in the Cairngorm workflow. Cairngorm also doesn’t have any way to differentiate an online and an offline application. These are just a few of the items.

    I myself have build several AIR applications with Cairngorm – “incompatible” might not have been the best word to use. However, the truth is – Cairngorm was not built for AIR.

  3. Nick Matelli says:

    I also fail to see how Cairngorm and its use can vary between Flex and AIR applications.

    Cairngorm is nothing more than an MVC framwork with some specific helper classes and guidelines to handle asynchronous events. Saying “Cairngorm is not build for AIR” is similar to saying “MVC is not built for AIR”.

    Perhaps you’ve run into issues trying to use AIR-specific API in an event-driven manner? We had interesting architecture discussions, for instance, about how to intelligently use offline detection (instead of just throwing error messages when a fault was returned by each service). But there have been good, architecturally-sound and consistent solutions for everything in AIR we’ve worked with. I’d be curious for an example of what’s led to your conclusion.

  4. Leif Wells says:

    David, I assume that you’ve looked at Eric Feminella’s AIR Cairngorm:
    http://www.ericfeminella.com/blog/air-cairngorm/

    I’ve used Eric’s code to deal with SQLite database communication with good results, but I was hoping that the Adobe Consulting crew would come out and comment about AIR-oriented extensions.

    What are you planning on showing at 360Flex?

    Leif

  5. David Tucker says:

    @Leif – I have seen Eric’s AIR-Cairngorm – and I have spoken with him directly about my session, and I will be using some of his classes as a part of the discussion. I will be demonstrating using these classes as well as some classes that I have developed to assist in coupling AIR API-specific features to a Cairngorm application.

  6. Kofi says:

    Hi David hope we get to see a video tutorial of air cairngorm in the near future. :)

  7. daveteiye says:

    davetiye ornekleri icin arama yaptim thank you very much

  8. Jebby says:

    Hay David
    Is the video out? Can you please send me the link of CairngormAIR tutorial.

  9. Hi,

    Thanks for the information,just found this post my technorati news feed section! I was searching for this since past 3 months and i am glad to see it here. Thanking you much

    Martin

  10. Wow,
    What a nice post,i just found this post story from my technorati profile news feeds section! I was searching for this since past 3 months and i am glad to see it here. Thanking you much

    Kathe

  11. Hi,

    Thanks for this nice post, i have found this post Url from my Newswine account recent news options,just subscribed your feed, hope you will update new post soon.
    keep it up.

    Michael

  12. Excellent Post, i have found this post Url from my Newswine account recent news options,just subscribed your feed, hope you will update new post soon.
    keep it up.

    Jenni.

  13. David Jones says:

    Really Nice Post, Just Read this News from my feedburner news reader feed,Especially I like this site Design Interface.
    Very user friendly design.

    Kind Regards,
    David

  14. betclic says:

    Intimately, the post is really the sweetest on this deserving topic. I fit in with your conclusions and will eagerly look forward to your approaching updates. Saying thanks will not just be sufficient, for the phenomenal lucidity in your writing. I will at once grab your rss feed to stay abreast of any updates. Gratifying work and much success in yourbusiness enterprize!

  15. iMac Ram says:

    has anyone use adobe air for Mac? Wondering if its any good…