Introducing Cairngorm Creator

July 22nd, 2007 by tyler

Cairngorm Logo

After discovering all the benefits the Cairngorm micro architecture, I quickly found that creating all the classes and mxml files was quite tedious. Thus Cairngorm Creator was born. Cairngorm Creator is a Flex code generation application that enables developers to quickly define and create a Flex application skeleton based on the Cairngorm micro architecture.

    Current Features

  • User-defineable package name
  • User-defineable folder names
  • Custom build file
  • Save and Load structure definitions (XML)
  • Editable source XML
  • Preview Files
  • Downloadable Zip File

Cairngorm Screen
Cairngorm Screen 2

I’ve yet to write any in depth instructions, I was hoping to get some feedback first… I’ll add to the following as neccessary.

Application Usage Notes:
- Cairngorm 2.2 and Flex 2 SDK are required.
- The application still lacks field validation
- If the xml source is edited directly, there’s a chance the app will implode.
- In “type” fields, if you put the full package structure, that package will be imported.

Links
Cairngorm Creator
Cairngorm 2.2
Flex 2 SDK

Posted in Cairngorm Creator, Flex

16 Responses

  1. Christiano Oliveira

    Hi Tyler, nice job!

    It’s the second application that I test to generate cairgorm structure, but is more than only a struct - very useful!

    Grats

  2. Gers32

    Hi Christiano,

    May I ask what the first one was? It might be interesting to compare the two.

    Thanks.

  3. Faisal abid

    <p><p>Good App, but there is a glitch that can throw off new users, in the service view, when u choose remoteobject , Websrvice is written in the service.mxml file, but when you choose webservice, remoteObject is writen instead, its just a mix up of the combobox value,</p></p>
    <p>>>Thanks for the heads up! it’s been fixed and deployed.</p>

  4. Faisal abid

    Sorry for double comment. but … This Application Rocks! I love it! Good Work Sir!

  5. Cairngorm code generator « Deepak Verma

    […] Cairngorm code generator Cairngorm Creator is a Flex code generation application that enables developers to quickly define and create a Flex application skeleton based on the Cairngorm micro architecture. Check it out […]

  6. Adriano

    the second application may be CAIRNGEN www.ericfeminella.com/blog/cairngen/

  7. Nils Kollandsrud

    Wonderful app, thx!
    Just a small suggestion: Change the “please visit” link to open in a new browser window to keep us dumb users from losing all current work ;)

  8. diamondTearz

    This saved me a ton of time! Thanks a million.

  9. Dennis

    Thanks a lot! This will make life much easier :-)

  10. bazjapan

    Brilliant!

  11. Tangent

    This is awesome man! Any chance that you might produce an AIR version so I can do it offline as well?

  12. Brett Adam

    Nicely done. Thanks for the leg up.

  13. Brett Adam

    Where would you like bug reports submitted?

  14. Nick Collins

    I’m not sure what your plans are for the future, or what’s used on the back end, but I was thinking this would make an AWESOME AIR application.

  15. Leif Wells

    What is the language that the back-end for Cairngorm Creator?

    I am using Cairngorm Creator right now with good results so far. I am still feeling my way around this.

    Are there some sample .cxml files that you have that I could load in to see what all the correct settings are for each item?

    Thanks, I am enjoying using this and will have some helpful suggestions later on.

  16. davidderaedt

    Hi Tyler

    I recently made another kind of Cairngorm generator, based on AIR, and I’d love to hear what you (and others) think about it.

    The main difference with Cairngorm Creator is that it relies on existing services and value objects to create the generated files, and and can publish the files directly in Flex Builder.

    You can check it here:

    http://www.dehats.com/drupal/?q=node/7

    Thanks again for cairngorm creator which was (and still is) a great inspiration!

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.