1 Reply Latest reply on Jun 8, 2009 7:46 PM by Michael Borbor

    CFCs vs XML

    BaileyBurger

      Greetings!

       

      I've been watching the "whats new" videos for Flash Builder 4 (http://labs.adobe.com/technologies/flash/videos/) and would love to utilize the new features based aound consuming CFCs. But, one of our flash (flex 3) applications is built around using HTTPService calls to cfm templates that return XML structures. The reason being is that while we're building both the front and back ends of this application, one day our client plans on migrating back end to .net, and we figured they could create those same XML structures, and with a crossdomain.xml in place, could feed the front end.

       

      So the big question is: Should we start using CFC's, would we in effect be locking our client into the Coldfusion technology as a dataprovider?

       

      Also, and of lesser importance, it looks like we would be switching our HTTPService tags to RemoteObject? Will developers using Flash 4 (or Flex 3 for that matter) Builder still have to configure a Flash Adaptor as per Ben Forta's tutorial (http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BD24F-3048-80A9-EFAA1ABB13F5EDDF)

       

      Perhaps there is a .not equivalent to CFCs that will allow us to build with them, yet turn over the backend without issue? I'd apprecaite any insights!

        • 1. Re: CFCs vs XML
          Michael Borbor Level 4

          Which ColdFusion version is your client using?

           

          RemoteObjects have a better performance then HTTPService.

           

          2009/6/8, BaileyBurger <forums@adobe.com>:

          >

          Greetings!

          >

          I've been watching the "whats new" videos for Flash Builder 4

          (http://labs.adobe.com/technologies/flash/videos/) and would love to utilize

          the new features based aound consuming CFCs. But, one of our flash (flex 3)

          applications is built around using HTTPService calls to cfm templates that

          return XML structures. The reason being is that while we're building both

          the front and back ends of this application, one day our client plans on

          migrating back end to .net, and we figured they could create those same XML

          structures, and with a crossdomain.xml in place, could feed the front end.

          >

          So the big question is: Should we start using CFC's, would we in effect be

          locking our client into the Coldfusion technology as a dataprovider?

          >

          Also, and of lesser importance, it looks like we would be switching our

          HTTPService tags to RemoteObject? Will developers using Flash 4 (or Flex 3

          for that matter) Builder still have to configure a Flash Adaptor as per Ben

          Forta's tutorial

          (http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BD24F-3048-80A9-EFAA1ABB13F5EDDF)

          >

          Perhaps there is a .not equivalent to CFCs that will allow us to build with

          them, yet turn over the backend without issue? I'd apprecaite any insights!

          >