Questions tagged [cairngorm]

Cairngorm is an open source frameworks for application architecture in Adobe Flex. Is is based on the MVC model.

Cairngorm was initially developed by iteration::two, a Scottish software consultancy led by Steven Webster and Alistair McLeod. Cairngorm recommends the layers described by Eric Evans in Domain-Driven Design:

  • Presentation - presents data to the user and gathers input. i.e. the fancy UI
  • Application - performs the operations of the application. i.e. saving a form
  • Domain - models the business concerns of the application. i.e. the form data
  • Infrastructure - coordinates objects and integrates with other systems. i.e. talking to the server

References

92 questions
18
votes
4 answers

How can I unit test Flex applications from within the IDE or a build script?

I'm currently working on an application with a frontend written in Adobe Flex 3. I'm aware of FlexUnit but what I'd really like is a unit test runner for Ant/NAnt and a runner that integrates with the Flex Builder IDE (AKA Eclipse). Does one exist?…
Rytmis
  • 31,467
  • 8
  • 60
  • 69
4
votes
2 answers

Current_user nil after creating a session in ROR with AuthLogic

I'm having a bit of problems with AuthLogic and current_user. I have a Flex4 application using the Cairngorm framework as the front-end, and Ruby On Rails as the back-end. I can log in fine through a browser, and when only using ROR. However, when…
mclarenf3
  • 41
  • 2
3
votes
1 answer

Channel.Ping.Failed error Detected duplicate HTTP-based FlexSessions What's the root cause?

Hi I've downloaded the Cairngorm3 Simple Sample Application from here. There's a few steps. a) Download the server-side zip. It contains a PDF instructing how to start a HSQLDB database and get a Tomcat instance up an running (I used catalina.sh…
JGFMK
  • 8,425
  • 4
  • 58
  • 92
2
votes
1 answer

Where should I store reused static string constants in Flex application?

I have two Cairngorm MVC Flex applications (a full version and lite version of the same app) that share many Classes. I have put these Classes into a Flex Library Project that compiles as an SWC. Both applications use some static String constants.…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
1 answer

Why are Java value objects coming back as Generic Flex objects?

I will try to give as much detail as I can. I am creating an CRM application using Flex(Cairngorm 2)/Java/Hibernate. The basic problem I am having is this: I have a Customer class in Java that has an ArrayList of Address classes. I have a Customer…
John
  • 763
  • 1
  • 10
  • 21
2
votes
3 answers

Cairngorm SequenceTask + URLLoader throws SecurityError because of missing user interaction

I am trying to get an application to upload multiple client side generated images (not files, hence I can't use FileReference), while displaying the progress of the upload. This has proved to be way harder than it should be. I am using Cairngorm…
Ruy Diaz
  • 3,084
  • 24
  • 36
2
votes
3 answers

How do I implement data binding in an ActionScript Class?

I am having a problem with binding values in my ActionScript components. I basically want to set the value of a a variable in my component to a value in the model, and have the component variable automatically update when the model value is updated.…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
1 answer

How do I add the SWC file for Cairngorm to my app without FlexBuilder?

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the…
Aaron B. Russell
  • 2,416
  • 1
  • 19
  • 22
2
votes
2 answers

Flex Cairngorm Spring Blazeds - Remoting Error - help me please

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks…
Michael
  • 87
  • 4
  • 14
1
vote
0 answers

How cairngorm suites for Flex 4.5 mobile application

Can cairngorm framework suites for developing mobile application using flex 4.5 ?
RKCY
  • 4,095
  • 14
  • 61
  • 97
1
vote
1 answer

Flex Cairngorm 3 Presentation Model Initializations

ok so I have a TitleWindow that I open up... and I have 6 states defined. I am using the Presentation model pattern for all of my views. I have discovered a frustrating nuance. When I tell my window to go to XXX state, the controls have to…
1
vote
2 answers

How to turn a flex online application into a desktop application?

I we have been working for some years in a flex (cairgorn)+spring+blazeDataservice application using blazeDataservice to connect to the back end, now its getting kind of big and takes too much time too load, and people who use it, normally need it…
Ernest
  • 962
  • 3
  • 12
  • 28
1
vote
3 answers

Flex-Cairngorm/Hibernate - Is EAGER fetching strategy pointless?

I will try to be as concise as possible. I'm using Flex/Hibernate technologies for my app. I also use Cairngorm micro-architecture for Flex. Because i'm beginner, i have probably misunderstand something about Caringorm's ModelLocator purpose. I have…
slomir
  • 407
  • 2
  • 6
  • 16
1
vote
2 answers

ModuleMessageInterceptor vs MessageInterceptor

I am developing an application in Flex using the cairngorm module library and Parsley. Parsley documentation chapter 5 says: "Interceptors may come in handy when you want to decide whether or not the message should be passed to handlers". When using…
user751037
  • 21
  • 3
1
vote
2 answers

Adding elements in Flex using the presentation model

I'm refactoring some Flex code written by another developer and I'm implementing a PresentationModel approach, as I like to separate out the ActionScript from the MXML. One of the problems I've found is that the original ActionScript code…
1
2 3 4 5 6 7