Navigation
Primary links
User login
Coldfusion Components and Flex
scott — Tue, 04/22/2008 - 14:36
I've made a commitment to start regularly (at least twice a week) posting about something that I have encountered related to IT. As I get used to the idea of blogging about subjects the material will become more involved, but at first I will probably keep the subjects light and introductory in nature.
On and off this week I have been troubleshooting a problem with a product we recently purchased from an outside vendor. The product uses coldfusion in conjunction with flex which makes it very visually appealing. This combination also allows you to leverage Coldfusion’s database abstraction features within flex.
In this case the flex connects to a coldfusion component (cfc) as a remote services:
The source attribute uses dot notation made up of the path from the document root of the webserver. So in this example the User.cfc would be located in /var/www/myApplication/components/ if /var/www is your document root. If you are unfamiliar with the server you are working with check the httpd.conf file to determine the document root (not the ServerRoot). Another point worth noting is that the source is case sensitive.
For more information I found a great tutorial on creating a basic hello world application using this method on Adobe’s website. http://blogs.adobe.com/flexdoc/2007/02/hello_world_application_for_fl_1....




