Google Groups Home
Help | Sign in
Recent pages and files
Welcome Page    

Click here

Welcome Page








Click here

Welcome Page








Welcome to the PHP RIA SDK by Adobe
The PHP RIA SDK by Adobe provides PHP developers with links and content to help you get started with Adobe Flex, Adobe Ajax Spry Framework and PHP.

Getting Started

  1. Modify libraries/weborb/Services/MySQL.php with your database access information.

  2. Create a new MySQL database called flextest.

  3. Run the following SQL statement to create the MySQL tables and user required:
    USE flextest;
    CREATE TABLE `users` (
    `userid` int(10) unsigned NOT NULL auto_increment,
    `username` varchar(255) collate latin1_general_ci NOT NULL default \\\\47\\\\47,
    `emailaddress` varchar(255) collate latin1_general_ci NOT NULL default \\\\47\\\\47,
    PRIMARY KEY (`userid`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
    GRANT SELECT, INSERT, UPDATE, DELETE on flextest.* to flext@localhost identified by \\\\47p@ssword\\\\47;

  4. Browse the samples . Once you\\\\47ve seen what you can do, you\\\\47ll want to check out the links in Getting Started with Adobe Flex and start creating your own Flex based applications.

Getting Started with Adobe Flex

  1. Download the free trial of Adobe Flex Builder. If you prefer to code by hand, understand ActionScript and MXML, and want to compile using a command line interface, you can download the free Flex SDK, but its not recommended if you\\\\47re just getting started.
  2. Get PHP from PHP.net. You probably already have this. You\\\\47ll also need MySQL for a few of the examples. Again, you probably already have this.
  3. Learn the basics of Adobe Flex. Read the Flex Quick Starts on the Adobe Flex Developer Center. Don\\\\47t worry, its easy. Honest.
  4. Learn the basics of integrating Flex with PHP. You\\\\47ll see there are many ways to connect Flex and PHP together.
  5. The following projects are useful for connecting Flex and PHP. They are included in this .zip file, and do not need to be downloaded:
    1. AMFPHP (1.2.5) - This is installed in the libraries/amfphp/ directory. The service browser is not included in this library. If you need that feature, please download AMFPHP and install it into libraries/amfphp/ .
    2. Adobe Spry Ajax Framework (1.3) - This is installed in the libraries/spry/ directory. This Ajax framework can be used to integrate Ajax into your PHP website easily.
    3. Flex / Ajax bridge - This is installed in the libraries/fabridge/ directory.
    4. WebORB for PHP - This is installed in the libraries/weborb/ directory. Please note that we\\\\47ve made one change to the default download. As per instructions on this page, we\\\\47ve modified the Weborb/WEB-INF/flex/services-config.xml file to point to a weborb.php file. If you want to use this library, you\\\\47ll need to create a weborb.php file in the root of your Flex project, similar to those in the simple_weborb_php/ and mysql_flex/ folders.

  6. Note that if you downloaded this SDK via SVN from the Google Code project, the above projects are not included, and you\\\\47ll need to download each of them into the directories. If you downloaded this SDK as a .zip file, don\\\\47t worry, you\\\\47ve got them.

Getting Involved
Now, build some cool stuff with PHP, Flash and Ajax, and add it to our codebase. Currently, you can particiapte in our community in a number of ways:

  1. Get on the Adobe PHP SDK mailing list at Google Groups.
  2. Update code, create samples in our project hosted at Google Code.
  3. Submit bugs via the bug system.

Learning More
Want to learn how to integrate Flex or Ajax into your existing PHP applications

Read the Flex Documentation.

Read more about integrating Flex and PHP in the Flex PHP Developer Center.

Read more about integrating PHP and the Spry framework on the Adobe Labs website.

Related Links
Version: 
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google