Flex2 and ColdFusion with out “ColdFusion/Flex Connectivity”

May 13th, 2006

In Flex 1.5 we would connect to ColdFusion by setting the amfgateway to “/flashservices/gateway”. In Flex2 things changed.

With Flex2 and AS3 the remoting gateway and other RPC services implementation changed quite drastically. There is a new AMF format and it is called AMF3, where Flex 1.5 and before all used AMF0. The default gateway for ColdFusion’s remoting gateway is “/flashservices/gateway”, with Flex2 you get to install an update to the ColdFusion server and configure the channel and destination of the gateways through a xml config file. This is all really good and will provide many nice features going forward.

ColdFusion/Flex Connectivity

My post here and work on a AMF0 custom RemoteObject component is not meant to compete with the progress of Flex2 and AS3, but it sure would be nice to have a migration path that was easier to swallow. The RemoteObjectAMF0 custom component I created is showcased in an example using AMFPHP and Cairngorm but it can be used with ColdFusion as well. You can find the RemoteObjectAMF0 code here

Please remember that the RemoteObject does not reflect the full features of Flex 1.5’s RemoteObject, but when implemented in the Cairngorm method it gives you all the functionality you need (hopefully, hehe).

Entry Filed under: General

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

May 2006
S M T W T F S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts


Flex.org - The Directory for Flex