AMFEXT, the AMF extension for PHP allows data to be encoded and decoded by the web server much faster than other conventional remoting systems, such as AMFPHP, WebORB, etc. Since the extension is programmed with C and runs as an extension to PHP rather than a script, it encodes and decodes AMF messages much much faster. More information about AMFEXT here.
There has been great efforts made by some people in the CakePHP community to use this extension with the CakePHP framework at a virtually transparent level. This continues the efforts of rapid development set forth by CakePHP. Simply by setting up the data for your views normally, you have the same data available to you through the gateway in Flash / Flex / Actionscript. It utilizes the new AMF3 encoding as well. It's lightning fast!
The benefits are great and there's many possibilities now available to us. Think about tools to update blogs and other CMS' ... Think about various business type applications, since Flex sets us up with such great interfaces. Now combined with CakePHP, think about the scalability options; the use of multiple databases, the caching, and speed of development. Especially combined with the Flex framework. It's a great combination. Far better than most known remoting methods.
I've setup a demo of CakePHP using AMFEXT with a simple search. Simply pass in a string to search the database for. There aren't many rows of data, but I'll add more. Here's the Flex view: http://www.etrcloud.com/amfext/amftest.html
Here's the normal HTML CakePHP view: http://www.etrcloud.com/amfext/names/retrieve/a
Note the a on the end of the URL is the string that's being passed to search for. Change it to some other characters to see. You can also see the SQL query that's being made.
Admin