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.

Installation

  • From the archive
    • Download the latest source code archive.
    • Unzip the source code zip to any folder on your disk. (for instance: c:\development\)
    • You will see a QueryCFC source folder. (for instance: c:\development\QueryCFC )
  • From the Repository
    • Use your  favorite SVN client to retrieve the latest source code release from the repository.
  • Add the Services
    • Set up a ColdFusion datasource (this example uses a datasource named flexcf) and point to a MySQL database with single table named users and 3 fields, user_id, username and password.
    • In the server root folder (typically wwwroot for ColdFusion) create a new folder named QueryCFC for the server side script.
    • Copy the contents of the Services folder from the distribution into the QueryCFC folder on the server.
  • Setup and Compile the Demo Using Flex Builder 3
    • Create a new Flex Project called 'QueryCFC' in Flex Builder 3:
      • Pointing to the new QueryCFC source folder
      • Application Server Type = ColdFusion
      • Remote Object access service = ColdFusion Flash Remoting
      • On the Configure ColdFusion page of the wizard, enter your ColdFusion root folder and web root.
      • For the Output Folder browse to the server-based QueryCFC folder you created above.
    • Add the required libraries to the QueryCFC project's build path.
      • From the Flex Builder menu do: Project -> Properties -> Flex Build Path -> Library Path -> Add SWC Folder
      • Browse and select: QueryCFC/libs
    • Run QueryCFC.mxml

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.