We choose to have the service locator return strongly typed services, hence the reason for getRemoteObject(), etc. The Cairngorm Enterprise distro extends this...
When you talk about channels, it sounds like you're tying the architecture to the way LDS works. Shouldn't it be more generic? Also, with RO, HTTP and Web...
Hi Chris, When you use setCredentials() they are tied to the channel and LC DS. I am not aware of being able to use setCredentials() in any other way. If you...
The problem is you are call getService() on the service locator, which is a deprecated method: import mx.rpc.AbstractService; [Deprecated("You should now use...
I have been using Cairngorm for a few months on a project, and have been populating my model from the XML returned in the result in my commands. After looking...
I don't have an example I can share but I've created similar factories before and the basic approach I took was to look at the name of the root node and use...
CairngormEventDispatcher dispatches an event of type CairngormEvent, it will not dispatch events which are not of this type or derived from this type. Sent via...
Additionally, you should never need to dispatch any Events which are not Cairmgorm events. Cairngorm is your applications higher level framework, not low...
Does someone have an article or examples on the best way to manage events, commands and delegates (+services) with Messaging and Cairngorm? (consumer,...
Gareth Edwards
ghedwards@...
Dec 17, 2007 2:57 am
657
Hi All, I apologize for asking a question that has been addressed in the past, but I'd like some advice about how to handle typical Flex events and Cairngorm...
My advice would be to stop trying to avoid CairngormEvents in your views. :) To me you're creating a lot of extra work for yourself for basically no payoff. If...
Hey guys, I would suggest you design your lower level views as completely standalone components and expose an API from which the view can dispatch Higher level...
I don't see anything wrong with components dispatching their own Events to be consumed by parent components without any knowledge of the greater framework...
Hey Eric, I agree and appreciate the confirmation. I'd still like some guidance on the actual implementation though, if you've programmed your applications...
Hey Andre, As Ben stated earlier I think you are creating more work for yourself than is needed. Let me explain why. For example the "AddToCartEvent" is an...
And remember, always strive for a consistant design throughout your application, regardless of the implementation you choose. - Eric Sent via BlackBerry by...
Thanks all, I appreciate the advice! Andre ... application, regardless of the implementation you choose. ... if ... wanted ... certain ... components ... ...
Glad to help. - Eric Thanks all, I appreciate the advice! Andre ... application, regardless of the implementation you choose. ... if ... wanted ... certain ......
I'm looking for an example of using a webservice that take a handful of parameters. These parameters are passed in via a VO. There are handfuls of remote...
I am interested in seeing an example as well. Thanks Weichung rlmattax <rlmattax@...> wrote: I'm looking for an example of using a webservice that take a...
I've done something like this so here's what I did: In the constructor of the command: service = EnterpriseServiceLocator.getInstance().getWebService("some...
I'm having a little trouble making sense of this. Could I get you to be a bit more concrete w/ your example. I'll give you some of my details, and you can...