News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Reading And Writing Drupal With Flex
October 30, 2007 @ 08:46:00

On the Zend Developer Zone, there's a new tutorial talking about one developer's method for creating a link between Flex and Drupal to create a data entry form.

Why Flex? Because I'd like to be able to put the widget on any site and Ajax has security issues there. Web browsers, quite rightly, ensure that Ajax pages only request data from their server of origin. So it's much harder to host an Ajax widgets on external sites without kludges like IFrames or Script tag data transit. Flex allows data access from different servers. So it's far easier to write widgets that can be hosted externally.

You'll already need Drupal installed to start working with the tutorial - he chose Mac OS X as his platform of choice, but this setup will work with any installation that supports Flex. He uses the AMF protocol to interface with the PHP scripts on the backend (via AMFPHP) and a small update will need to be made to Drupal to get it to cooperate.

The rest of the tutorial shows how to create the Flex interface - making a simple information form that takes in a user's name, address and phone number and updates the Drupal contact information for them.

0 comments voice your opinion now!
flex amfphp drupal interface contact infromation link flex amfphp drupal interface contact infromation link


blog comments powered by Disqus

Similar Posts

Mike Potter's Blog: Flex and PHP Together with Midnight Coders WebORB

Lukas Smith's Blog: Loose interface coupling

Smarx.com: PHP for Microsoft AJAX Library

DevShed: Building the Index Page for a PHP Email Application

PHPBuilder.com: Implementing User Defined Interfaces in PHP 5


Community Events





Don't see your event here?
Let us know!


interview language release podcast introduction developer framework series project code wordpress threedevsandamaybe library community install application list api configure bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework