Robotlegs video tutorial: Basic Flex remoting using PHP and ZendAMF
As I mentioned in a previous post I’m a big robotlegs enthusiast. Robotlegs is a pure AS3 MVCS framework that makes use of automated metadata based dependency injection. It promoted loose coupling, removes boilerplate code and helps you write testable code.

Here I made a pretty basic demo of setting up a Flex project using the robotlegs MVCS implementation , which connects to a PHP backend.
To call the methods in the PHP classes I’m using ZendAMF which is a component from the Zend Framework that uses the AMF protocol.There are a lot of articles on the web about Zend and how to install it so I won’t get into that right now.
I want to mention that I currently don’t have a microphone so there’s no audio. I might add voice narration later on.
The demo is pretty easy and straight forward but if you find it interesting enough I’m planning on expanding the idea and go into further detail (and also add audio features). For the sake of time and because this was planned as a robotlegs tutorial , I only go trough coding the Flex frontend, but I’m providing the source codes (including the .php classes and the services-config.xml file ) for download.
Also please keep in mind that this is just a quick demo, it’s not intended as a best practice example.
Click here to watch the tutorial.
(Right-click and “Save As” to download the video)
If you have any question leave a comment or send me an email and I’ll be happy to answer.
For more info check out : robotlegs.org and ZendAMF.
Download source codes ( Flex project) here.
This entry was posted on Saturday, January 9th, 2010 at 2:09 pm and is filed under ActionScript, Flash, Flex, Tutorials, robotlegs. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
uberVU - social comments January 9th, 2010 at 3:19 pm
Social comments and analytics for this post…
This post was mentioned on Twitter by andreitt: New blog post : i just released a #Robotlegs video tutorial http://bit.ly/7k6b3L . it’s my first tutorial release so go easy on me….