 | 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: Building Dashboards With PHP and Flex
by Chris Cornutt June 02, 2008 @ 15:58:09
Jack Herrington has posted a new tutorial to the Zend Developer Zone today showing how to combine PHP, your database of choice and Flex to create a dashboard in your application.
Let's face it: Interactive graphs and dashboards have never been easy to put together on the web. Sure, there are graphing libraries out there for PHP, but to get something that looks really good and that a user can play with has been tough. Or at least, it was yesterday.
He shows how to create a simple Flex application that takes in XML data (from whatever backend, he uses a PHP script that uses DOM) and displays the information - his sample traffic data - as a graph. This graph is an extension of the Elixir library from ILOG and makes dropping information into graphs and charts simple.
Screenshots of the Flex side of things and code for the PHP side are both provided.
voice your opinion now!
dashboard flex tutorial database elixir chart graph
PHPBuilder.com: PHP Object Remoting in Flex
by Chris Cornutt March 18, 2008 @ 12:05:53
The PHPBuilder.com site has a new tutorial showing you how to interface PHP with Adobe's Flex functionality and to use remoting to let them "talk".
They dive right in, throwing download links at you and working through setup steps to get your environment up and running. With that out of the way, they show how to get the demo set up that uses their weborb framework.
The end result of the article is a simple Flex/PHP application that pulls information from the database and pushes it into a datagraid for display.
voice your opinion now!
object remoting flex adobe weborb database interface
Zend Developer Zone: The value of Web services for PHP
by Chris Cornutt March 11, 2008 @ 08:07:14
Korynn Bohn has posted a new tutorial/article on the Zend Developer Zone website that talks about (and advocates for) web services.
Web services are the coolest technology I know of that ends up turning everyone off. I don't know about you, but when I go to a lecture on Web services, invariably tons of acronyms come out [...] and then I start to nod off and dream about a land where free Krispy Kreme donuts grow on trees.
He reframes the web services world away from the acronyms and strict standards to more towards using it as a method of communication between apps, letting them engage in some friendly conversation. He uses the rest of the tutorial showing how to create an RSS reader of sorts using dashes of PEAR, XML, C#, XSLT, Ajax and Flex.
voice your opinion now!
webservice flex rss xml rest soap client server tutorial
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
|
Community Events
Don't see your event here? Let us know!
|