Using Flex to call CFC functions and Railo Part2

In this video I will set up a Flex project that will use the Railo 3.0 server and a coldfusion CFC to query a MySQL Database. The result that we get back will be displayed into a Flex List component.

Download my source files here HelloFromRailoQuery.zip


4 Comments so far

  1. talarojm on November 4th, 2008

    Excellent tutorial!! I was trying to connect to CFCs on Railo 3 via Flex and was hitting roadblocks. I didn’t realize I didn’t need BlazeDS! This was the only example I found on the web! Way to be up on the technology! After your video I’m right behind you! ;)

  2. matthew on November 5th, 2008

    So glad this helped you out man. I am hoping the Railo with Blaze built in will be out soon. There will be better support for AMF. Namely the will be putting in AFM 3 because that what Blaze has.

    You keep up the good work on becoming a Flex Ninja.

  3. talarojm on November 6th, 2008

    So, I got the example to work! w00t! Now I’m trying to pass data from a text input in Flex to my Railo CFC. I’ve done this with Flex/CFMX8 using mx:RemoteObject. Can this also be done using NetConnection?

  4. matthew on November 6th, 2008

    Yeah it is pretty easy you would do something like this….

    nc.call(”remoteFunctionName”, responder, “params you want to pass”);

Leave a reply

You must be logged in to post a comment.