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

TechBookReviews.com: Pro Drupal Development

Stuart Herbert: Personal Thoughts On The PSR-3 Log Proposal

phpPro.org: Embedding PHP In CSS

Stefan Koopmanschap's Blog: Introducing phpOpenNOS

Symfony-Zone: HelloWorld example with Flex and Symfony


Community Events





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


release interview language symfony unittest series opinion laravel conference podcast list community api framework introduction composer configure extension version voicesoftheelephpant

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