TracNav
AS3 Standard : Query CFC...
- Downloads
- Installation
- Release Notes
- View Source
- Discussion
Project Owner...
- Simon Bailey
Demo - Flex + ColdFusion / Query CFC
This demo illustrates the use of ColdFusion with PureMVC to perform a query against a remote CFC from a Flex client.
Techniques Illustrated
- Connect to a ColdFusion components methods using a combination of a Proxy and a Remote Delegate class.
- Display the data retrieved from the database in a ComboBox.
- Adjust cycle duration using a command to communicate with a proxy.
- Edit, delete and add data to a MySQL database.
Discussion
The goal of this demo was to show how to query a MySQL database from a Flex application using ColdFusion as a server side language.
In this example its clearly shown how to query a ColdFusion component from a proxy class and assign that data to value objects and populate an ArrayCollection.
Once the ArrayCollection is populated the example goes on to demonstrate how to display the data in the view aspect of the framework.
Data can then be edited and updated, deleted and then added using mediators and commands.
