Using Amfphp 1.9 with the Adobe Flex 2 SDK
Using Amfphp 1.9 with the Adobe Flex 2 SDKThis article shows how you can make PHP interact with Adobe Flex. Adobe Flex is a technology to support the development and deployment of rich Internet applications based on their proprietary Macromedia Flash platform. RequirementsThe following is a list of the required libraries to run this tutorial. I recommand the you download all the files before starting the tutorial.
InstallationApache AntExtract the contents of apache-ant-1.7.0-bin.zip to your hard drive. We will refer to this location as [ANT_HOME]. Make sure you add [ANT_HOME]/bin to your system path. Flex Ant TasksExtract the flexTasks.jar file from flex_ant_tasks_012307.zip into the [ANT_HOME]/lib directory. Flex 2.01 SDKNOTE: You must have an Adobe Account to download the Flex 2 SDK. Extract the contents of flex_sdk_2.zip to your hard drive. We will refer to this location as [FLEX_SDK]. Project WorkspaceDirectory StructureChoose a location on your hard drive to store your project. Create a new directory with the following directory structure. We will refer to this location as [PROJECT_HOME].
AmfphpInstallationExtract the contents of the amfphp-1.9.beta.20070126.zip file into your [PROJECT_HOME]/src/php directory. We will refer to this location as [AMFPHP_HOME]. Before we can start using Amfphp we must first edit the gateway.php file located in the [AMFPHP_HOME] directory. Edit the charset setting. Select the charset appropriate for your language. In this case we will be using the English charset. Replace the original charset with the English one below. $gateway->setCharsetHandler( "none", "ISO-8859-1", "ISO-8859-1" ); MySQLCreating the Employee's tableThis tutorial assumes that you are fimilar with basic MySQL administration. If you need assistance with MySQL please refer to the MySQL Documentation. For this tutorial we will be using the test database that comes pre-installed with MySQL. Login to your MySQL server and selected the test database. Execute the SQL script below to create the Employee's table. CREATE TABLE Employee (
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
14 hours 59 min ago
17 hours 52 sec ago
20 hours 12 min ago
22 hours 31 min ago
23 hours 41 min ago
1 day 59 min ago
1 day 5 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 23 hours ago