 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Zend Developer Zone: Generating PDF Forms From a Flex Application With PHP
by Chris Cornutt July 21, 2008 @ 15:15:49
The Zend Developer Zone has posted a new tutorial today (from Richard Bates) about creating PDF forms from inside a Flex application with a little help from PHP.
Leveraging the power of PHP and a PDF generation library called dompdf, you can create a simple, seamless user experience in Adobe Flex. Flex enables you to create an outstanding presentation to the end-user, with instant validation of user-supplied data and the full power of ActionScript 3. Through AMFPHP, you'll gain access to PHP's full toolset, enabling virtually limitless applications.
They show how to install the needed packages - AMFPHP and the dompdf PHP package to make the PDF generation easy ("one of the best PDF tools for PHP you can get"). The rest is the creation of the Flex part of the application - generating the form and using PHP to push out a PDF file at the other end, complete with their data.
voice your opinion now!
flex application amfphp pdf form tutorial richardbates
Zend Developer Zone: Reading And Writing Drupal With Flex
by Chris Cornutt 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.
voice your opinion now!
flex amfphp drupal interface contact infromation link flex amfphp drupal interface contact infromation link
Alessandro Crugnola's Blog: AMFPHP and mbstring
by Chris Cornutt October 12, 2007 @ 09:23:00
Alessandro Crugnola was struggling with an application he was developing (with Flex and PHP) where his local PHP installation worked just fine but his remote system errored on the same code:
Connecting to the service browser I was receiving the error "Channel.Ping.Failed" error and investingating a bit more in the fault message I discovered that the source error was: "The class {Amf3Broker} could not be found under the class path {/var/htdocs/amfphp/services/amfphp/Amf3Broker.php}" and the Amf3Broker php class does not exists anywhere in amfphp!
Despite some default settings he found, though, things still weren't loading correctly. Finally, he found the culprit - mbstring. One server had the setting to overload the strings and the other didn't resulting in the return of corrupted data from the amfphp stream.
voice your opinion now!
amfphp mbstring flex application error amfphp mbstring flex application error
Mike Potter's Blog: Flash, Flex and PHP Just Got A Huge Boost
by Chris Cornutt January 31, 2007 @ 09:57:00
As Mike Potter mentions in his new blog entry, Flash, Flex and PHP just got a great leg up when it comes to using the combination:
Patrick Mineault, who runs the AMFPHP project, has released a new version of AMFPHP 1.9, beta 2 now. However, the real big news in his blog post was the news that there is now a C based AMF extension for PHP.
According to the test data Patrick gives, the speed jump is well worth implementing the different functionality - a 100% boost, in fact, than the standard PHP version of AMFPHP. Check out Patrick's blog for the rest of these amazing stats.
voice your opinion now!
amfphp flex flash extension faster statistics patrickmineault amfphp flex flash extension faster statistics patrickmineault
|
Community Events
Don't see your event here? Let us know!
|