topleft

PureMVC

larger smaller reset larger Futurescale, Inc.
  • fixed-width
  • fluid-width
  • Home
  • About
  • Code
  • Docs
  • FAQ
  • Forums
  • News
  • Showcase
  • Contact
  • Jobs
topright
Demo_AS3_Flex_CF_QueryCFC
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Browse Source

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

TracNav

  •  PureMVC Manifold...

  •  Contributors
  •  Repositories
  • Ports...

  •  ActionScript 2
  • ActionScript 3
  •  C #
  •  ColdFusion
  •  Haxe
  •  Java
  •  JavaScript
  •  Objective C
  •  PHP
  •  Python
  •  Ruby
  •  Propose a Port

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.

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11.7
By Edgewall Software.

Powered by the Subversion, Trac & Bugzilla Hosting Experts, Codesion.com

Copyright © 2006-2008 Futurescale, Inc.