Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[Flex 2 beta 2 - Cairngorm 2 - AMFPHP]   Message List  
Reply | Forward Message #32394 of 149639 |

Hello guys,

 

Did someone try to use Cairngom (architectural framework for flex) with AMFPHP ?

 

I ask because I don’t see clearly (in the sample Cairngorm Login) how to change LoginDelegate and Services.mxml to use it with AMFPHP… (for exemple where to introduce the RemotingConnection of Tweenpix (http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp-avec-flex20 ))

 

If you tried one time, coud you explain us please.

 

Thank you,

 

William.

 



Sat Mar 25, 2006 10:09 pm

william_lambe2
Offline Offline
Send Email Send Email

Forward
Message #32394 of 149639 |
Expand Messages Author Sort by Date

Hello guys, Did someone try to use Cairngom (architectural framework for flex) with AMFPHP ? I ask because I don’t see clearly (in the sample Cairngorm...
William Lambé
william_lambe2
Offline Send Email
Mar 26, 2006
3:59 am

Hi William, usually, you would define the AMFPHP interface in Services.mxml, retrieve it via ServiceLocator from your Delegate. But ServiceLocator can only...
Alex Uhlmann
uhlmann_alex
Offline Send Email
Mar 26, 2006
11:00 am

Hi, I've been working also on this, and I couldn't do it with the service locator, cause I didn't know how. I know it's not the best solution but I've defined...
Oriol Gual
oriol.gual@...
Send Email
Mar 26, 2006
7:11 pm

Just to back up Alex's excellent email here..... When Cairngorm used to be used for Flash-based RIA we would use Flash Remoting, Open AMF, etc with success....
Steven Webster
swebsteratit...
Offline Send Email
Mar 27, 2006
11:49 am

Hi All, I was working with number recently and noticed this weird behaviour trace(1+0.9+0.7+0.3) returns 2.8999999999999995; Did anyone else ever seen such...
Dima Ulich
dimasbc
Offline Send Email
Mar 27, 2006
12:19 pm

I could swear there was a thread on this precision issue that Gordon Smith answered and it did have to do with the trace function. Search the archives, I bet...
Michael Schmalle
teotigraphix
Offline Send Email
Mar 27, 2006
2:25 pm

The short answer is that the Number type can't store most decimal fractions exactly. It stores floating point numbers as binary fractions, so there is usually...
Gordon Smith
gsmithsf
Online Now Send Email
Mar 28, 2006
6:39 am

Just to make thinks easier to others: PDF chapter: http://www.richinternetapps.com/archives/AS2_DesignPatterns_for_RIA.pdf Code:...
Oriol Gual
oriol.gual@...
Send Email
Mar 27, 2006
12:19 pm

I am lost in the Cairngorm business folder : Services ? Delegate ? How to rewrite ServiceLocator.as ?... many questions. So I explain what I would like to do,...
William Lambé
william_lambe2
Offline Send Email
Mar 27, 2006
12:55 pm

Hi Will, If you need a fast, but maybe not the best solution, you can do this: package com.example { import flash.net.Responder; import...
Oriol Gual
oriol.gual@...
Send Email
Mar 27, 2006
1:06 pm

With your change applied, I receive that errror : ReferenceError: Error #1069: Property call not found on Boolean and there is no default value at ...
William Lambé
william_lambe2
Offline Send Email
Mar 27, 2006
1:31 pm

The problem might be at this line: model.loginVO = LoginVO( event.call.loginVO ); With amfphp the event that you receive is what you return on your php ...
Oriol Gual
oriol.gual@...
Send Email
Mar 27, 2006
2:55 pm

Where did you put the two lines : var gatewayUrl:String = "http://localhost/flashservices/gateway.php"; gateway = new RemotingConnection( gatewayUrl ); Thanks,...
William Lambé
william_lambe2
Offline Send Email
Mar 28, 2006
10:57 am

You set the gateway URL in the RemoteObjectAMF0 "endpoint" attribute. In the example that is located at ...
Renaun Erickson
kaibabsowats
Offline Send Email
Mar 28, 2006
3:07 pm

The only thing I get is: endpoint is not longer observed, please specify the appropiate channel in your configuration. And, of course, an error once compiled. ...
arieltools
Offline Send Email
Apr 22, 2006
1:00 pm

As far as I know AMFPHP supports only the AMF0 format, Flash Player 8.5 and Flex2 use AMF3 format, and you have to connect using NetConnection class. This...
Renaun Erickson
kaibabsowats
Offline Send Email
Apr 22, 2006
4:51 pm

Alex, Do you think this approach would apply to socket connections as well. E.g. XMLSocket, or Binary Sockets? My issue is that these socket connections would...
Scott Langeberg
scoobeedogg
Offline Send Email
Mar 27, 2006
2:53 pm

Remember that not everything needs to be shoe-horned into a Cairngorm provided class. I'm going to discuss around a few issues here, and hopefully coalesce a...
Steven Webster
swebsteratit...
Offline Send Email
Mar 27, 2006
3:19 pm

I've forgot to say that I import flash.net.Responder instead of org.nevis.cairngorm.Responder ... I've forgot to say that I import flash.net.Responder instead...
Oriol Gual
oriol.gual@...
Send Email
Mar 26, 2006
7:10 pm

I have created an example showcasing Flex2 Beta2, Cairngorm2 and AMFPHP. It uses a custom RemoteObjectAMF0 component I created. The custom component allows...
Renaun Erickson
kaibabsowats
Offline Send Email
Mar 28, 2006
7:52 am

Hi Renaun, I've been also trying to make an AMFPHPService, quite different than yours, but after looking at your code I've a doubt: flash_proxy override...
Oriol Gual
oriol.gual@...
Send Email
Mar 28, 2006
12:20 pm

Oriol, Thanks for you feedback, This is one of the areas I am also not so sure on. One way to look at it is to define it out to 5-8 arguments. As a general...
Renaun Erickson
kaibabsowats
Offline Send Email
Mar 28, 2006
3:38 pm

Hi, I am trying to run your sample, but I always have this error, and I don’t find how : ReferenceError: Error #1069: Property dummyDelegate not found on ...
William Lambé
william_lambe2
Offline Send Email
Mar 28, 2006
7:51 pm

Post your Services.mxml file there is something wrong with it, as it can't find the dummyDelegate property. Renaun ... don't ... value ... source ... De la ......
Renaun Erickson
kaibabsowats
Offline Send Email
Mar 28, 2006
10:07 pm

You can find my Services.mxml in attachment. I still have the same problem… I don’t understand… _____ De : flexcoders@yahoogroups.com...
William Lambé
william_lambe2
Offline Send Email
Mar 28, 2006
10:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help