Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ProDevTips.com:
Zend Amf and class mapping with Flash CS3 / AS3
Mar 25, 2009 @ 18:09:19

On the ProDevTips.com site there's a new tutorial talking about mapping a class using the Zend_Amf component (of the Zend Framework) to map functionality with Flash.

Instead I’m mapping the variables explicitly in the Shockwave, I have no example of doing the reverse, ie sending an object from flash and populating. I’m however not going to use an ORM like Doctrine with the project I’m going to do here so that won’t really be a problem. The main thing is that we can easily populate AS objects.

They include both the Flash code - connecting the Flash application to the PHP gateway - and the PHP code to create a Zend_Amf object and handle the Flash request. In their example, they call a User class to locate a user record.

tagged: prodevtips flash zendframework zendamf tutorial

Link:


Trending Topics: