Thanks Jeff,
Please see below:

Jeff Tapper wrote:

>As Renaun pointed out, you can still use AMF1 with ColdFusion.  You just dont 
>use the built in RemoteObject tag.  His solution is a total of 5 lines of 
>code, so that doesnt really strike me as all that difficult.
>  
>
Well, I'm with Renaun in terms of making a connection to the gateway and 
calling a remote method. No problem. I can use NetConnection.call to 
call a remote method in Coldfusion without any problems if:

1. I don't authenticate against an Application.cfm file. Authentication 
doesn't work because NetConnection.addHeader() is not available. So 
that's a show stopper right now for using my remoting gateway as is. I 
hope they do decide to implement addHeader() eventually.
2. There doesn't seem to be a RecordSet class in the Flex 2 Alpha I can 
register as a class to correctly handle a query returned by Coldfusion. 
For now this is a show stopper as most of my CFCs return a query. I have 
to admit I have not invested the time to try to port the RecordSet class 
from Flash 8 to Flex 2 alpha. If I persist with Flex 2 I may end up 
trying to do that.

>If you want to use the Flex 2 RemoteObject tag, all you need to do is 
>install the CFAdapter on the server.  
>
Yes, it looks that way, but I have a lot of testing to do before I know 
if that is a safe path. If it breaks the existing Remoting Gateway at 
all or causes subtle side effects in CFCs called from Flex 2, Flash via 
AMF 1, and Flash Communication Server, then I'm in big trouble with my 
existing apps. If it coexists happily I might end up a happy camper.

>I understand some may be change adverse, so I suggest to those, they should 
>not get involved with alpha software.  Changes happen all the 
>time.  Chances are alot of code we write against the alpha will need to be 
>changed when the beta is released.  That is just the nature of product 
>development.
>
I don't expect alpha's to be all neat and polished and complete. In fact I'm 
amazed at just how good the docs and everything are for Flex 2. It is really 
really impressive! 

But I have an aversion to API churn which is a different thing than changes in 
new software. I accept that AS3 is going to break some things in AS2 and AS1 
and understand the value of a new document object model after all these years. 
I'm less enthusiastic when I don't see backward compatibility at the network 
protocol level. Well, I'll say it plainly. I'm a little shocked anyone would 
consider not implementing NetConnction.addHeader(). But, then again, maybe I'm 
missing something...

Again, if anyone can shed more light on all of this I'd really love to read 
about it.

Yours truly,
-Brian

______________________________________________________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario                   Phone: (416) 979-5000 ext. 6835
M5B 2K3                            Fax: (416) 979-5220
Office: AB48D                      E-mail: [EMAIL PROTECTED]
(Enter through LB66)               Web: http://www.ryerson.ca/~blesser
______________________________________________________________________



------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/
 



Reply via email to