[flexcoders] FAST Framework and Cairngorm
To get a feel for all the features of the FAST API, I'm applying it to the Cairngorm login sample that ships with architecture. I'm assuming the ServiceLocator will no longer be needed since it will be replaced with the ProxyFactory, which implies the following code snippet: http://www.macromedia.com/2003/mxml"; xmlns:s="fast.services.*" debug="true"> - And for the Business Delegate the following changes are required: import org.nevis.cairngorm.business.Responder; //import org.nevis.cairngorm.business.ServiceLocator; import org.nevis.cairngorm.samples.login.business.Services; import org.nevis.cairngorm.samples.login.vo.LoginVO; import mx.utils.Delegate; import fast.echo.Echo; import fast.services.ProxyFactory; import fast.services.Proxy; class org.nevis.cairngorm.samples.login.business.CustomerDelegate { private var proxy:Proxy; public function CustomerDelegate( responder : Responder ) { //this.service = ServiceLocator.getInstance().getService("customerDelegate" ); this.proxy = ProxyFactory.getProxy("customerDelegate"); this.responder = responder; } // public function login( loginVO : LoginVO ): Void { var call = proxy.invoke("login", //remote method/operation responder, //local reply object responder.onResult, //local reply destination loginVO); //remote method inputs /*var call = service.login( loginVO ); call.resultHandler = Delegate.create( responder, responder.onResult ); call.faultHandler = Delegate.create( responder, responder.onFault );*/ } //- private var responder:Responder; private var service:Object; } In the LoginCommand onResult handler, we can then handle faults and sucess results. Any insight? Thanks, Sof -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] FAST Framework and Cairngorm
Hey there, Nope, no issues with using them together at all...I know that many of the Adobe Consulting team are using both frameworks in their projects. One is an architectural framework, the other is an application framework, and they can quite happily co-operate. Best, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 > Sent: 14 March 2006 17:50 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] FAST Framework and Cairngorm > > I'm looking to leverage the FAST frameworks logging and > communication capability in conjunction with the Cairngorm > micro-architecture. Are there any known issues with them > working together? > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] FAST Framework and Cairngorm
I'm looking to leverage the FAST frameworks logging and communication capability in conjunction with the Cairngorm micro-architecture. Are there any known issues with them working together? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/