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.

banner

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.

Tags: , , , , ,

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.

13 Responses to “Robotlegs video tutorial: Basic Flex remoting using PHP and ZendAMF”

Tweets that mention blog.andreitt.com » Blog Archive » Robotlegs video tutorial: Basic Flex remoting using PHP and ZendAMF -- Topsy.com January 9th, 2010 at 2:58 pm

[...] This post was mentioned on Twitter by Andrei Toplician, Robotlegs AS3. Robotlegs AS3 said: New blog post : #Robotlegs video tutorial http://bit.ly/7k6b3L . it's my first tutorial release so go easy on me. (via @andreitt) [...]

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….

TwittLink - Your headlines on Twitter January 9th, 2010 at 7:41 pm

[...] Tweets about this great post on TwittLink.com [...]

a Dude January 13th, 2010 at 2:52 am

maybe youtube next time?

lucas January 13th, 2010 at 2:54 am

Hey Andrei.

How did you do the effect on the backgound (the text in pespective)?

Cheers
Lucas Jones

Andrei Toplician January 13th, 2010 at 12:57 pm

why youtube? I prefer to upload it on my server so people can download it on the hard drive.

@lucas You mean the banner at the top of the post? For that I just took a printscreen of my Flex Builder screen, put it in photoshop and perform a perspective transformation on the layer. Use Transform -> Perspective and drag the corners. After that i added a simple blur with a gradient mask. Hope that clears things out for you.

Col.Kurtz January 14th, 2010 at 12:18 pm

Ahhrgh! No Sound, .. but maybe a good decision in terms of didactive method. Great tutotial, thanks!

Andrei Toplician January 15th, 2010 at 3:21 pm

Thanks and sorry for the lack of audio. I’ll add voice narration to it. these days I have a lot of work but as soon as I find some free time I’ll re-work it.

Каталог статей January 28th, 2010 at 7:41 pm

And I have faced it. We can communicate on this theme. Here or in PM.

Shannon Hicks March 11th, 2010 at 12:57 am

Any chance we can get audio soon? :)

Andrei Toplician March 11th, 2010 at 2:09 am

@Shannon yeah, i should do that since I now have a mic available. I’m just so caught up on a project right now I barely find the right time.

Russian souvenirs March 16th, 2010 at 6:51 pm

can i translate in Russian and post on my blog? )

Leave a Reply