Archive for the 'ColdFusion' Category
Coldfusion: Returning an auto-incremented primary key back to Flex from an SQL insert command
Spent the last 20 minutes trying to figure out how to return the primary key back to Flex from an SQL insert command in ColdFusion. Turns out to be a really easy thing to do.

private function insert_ResultHandler(event:ResultEvent):void
{
  this.primaryKey = parseInt(event.result.toString());
}
Very Handy!
Â
No commentsColdFusion 8 and Flex 3… The best thing since sliced bread!
Over the last few months I’ve been learning ColdFusion and the more I learn the more I’m amazed at how powerful and easy it is to use. I used to use php for server side code but after reading so many articles on how Flex and ColdFusion works so well together I had to see what all the buzz is about. I’m now convinced that the combination of ColdFusion and Flex is the next best thing since sliced bread for RIA development!
One of the things that makes this combination so powerful is the integrated LiveCycle Data Services ES that is installed with ColdFusion 8. The Data Messaging, Flash Remoting and Publish Subscribe features of LCDS make complicated things that you never thought would be possibile in a browser, possible. I know alot of these services have been around for awhile (formally Flex Data Services) but with the release of ColdFusion 8 and Flex 3 it’s faster and easier to take advantage of these great features. And Really when you think about it, ColdFusion and Flex are both Adobe products and since the birth of Flex the ColdFusion team has made it there goal to make ColdFusion the easiest language you can use to build Flex applications… and they succeeded!
In my mind there is no better way to go when it comes to client-server communication for Rich Internet Applications.
Check out the Coldfusion Developer Center on the Adobe.com to learn more about this great combination.
You can also download and use the Developer Edition of Coldfusion 8 for free and get started right away.
No comments