CakeAMFPHP 0.5.0 released!

posted by: gwoo :: Jul 20th 2006, 03:25

For those interested in the easy way to connect flash and php, I have updated the latest CakeAMFPHP package. The major changes in this release are the modifications of the install process and service browser. I decided that AMFPHP is plenty stable for me to just include it in the package. Big props to the team over at AMFPHP. I reworked the service browser so it operates from webroot. I also added SWFObject support. Previously, CakeAMFPHP supported the UFO helper. While UFO is still included, SWFObject support is nice to have. There is a helper and the JS for both SWFObject and UFO are included.

I updated the turtorial for the amfBB and plan to release that shortly.
check out http://cakeamfphp.rd11.org

visit CakeAMFPHP on CakeForge for the download and release notes.

Bake on.

11 comments

bottom

1. Jed Wood :: on Jul 20, 2006 Great! Thanks for the continued work.

Any comment on the pros/cons of UFO vs. SWFObject? Aren't the pretty much the same thing?
2. Martin Wood :: on Jul 22, 2006 Good stuff, i'd just done my own swfobject helper but its good to see another implementation.

Any news or thoughts on the serialization of specific types between flash and cakeamfphp?

Im really interested in this feature and dont mind helping the development if i know roughly what i would need to look at :)
3. gwoo :: on Jul 23, 2006 @Jed: I have had success with both SWFObject and UFO. I think SWFObject is a used by more people and may have a few more options.

@Martin: VO should work just fine, but I have not tested it yet. Let me know if you learn anything about it.

@Bruno: sure, though I think there may be some troubles with debuggateway. I have never used it myself, cause the connections just always seem to work.

Bake on.
4. Bruno Baudry :: on Jul 23, 2006 Nice!

move /var/www/amfBB/app/vendors/CakeAMFPHP_0.5.0/webroot/cake_gateway.php to /var/www/amfBB/app/webroot/
I guess we should obviously move the debuggateway.php with it.

Cheers
5. Olegs Balss :: on Jul 30, 2006 What if I have to display more then one swfobject on the page? Wrapper DIV id should be past to display method (witch actualy does not display anything - it writes code, there is no need to change SwfObject's naming convention).
6. Marcelo de Moraes Serpa :: on Aug 02, 2006 Great news Gwoo! Thanks for this. Like Martin, I´m very interested on the value objects feature... if it should work out of the box as you said, then it´s more than perfect... I will test it right now!

Cheers!
7. gwoo :: on Aug 02, 2006 @Olegs : im not quite sure what you are getting at. Post a ticket on CakeForge, i would be happy to look at your ideas.

@Marcelo : I would be very interested to hear the results of your test

Later
8. Marcelo de Moraes Serpa :: on Aug 17, 2006 Indeed, CakeAMFPHP/AMFPHP 1.2 works on Flex 2 Framework, you just have to use the RemoteObjectAMF0 to interface it. I´m actually using it on my last project! The great thing is that every Cake model gets converted to VO classes on the Flex side thanks to my AS3 port of Martin's TypeMapper (I will be uploading it to cakeforge soon!).

Note: Using AMFPHP 1.2 class-mapping features to map cake models to flash classes showed up to be cumbersome, as cake models are represented as array keys and not real php classes as AMFPHP expects, so, I think that Martin's TypeMapper is currently the best solution until Cake gets more integrated with CakeAMFPHP and or uses php classes instead of arrays for model data.
9. Marcelo de Moraes Serpa :: on Aug 17, 2006 [OT] gwoo, I just made the post about cakeamfphp working on flex2, and it says this was posted 12 hours ago! Maybe a bug on rdBlog:

Also, the edit feature seems to be working only once per page load.. if I edit and want to edit the post again I have to refresh the page.

Marcelo.
10. Daniel :: on Aug 17, 2006 So, the cakeAMFPHP workly in the Flex FrameWork too. Great ! Thanks rd11
11. Rafael Ochoa :: on Sep 06, 2007 ok, may some body post Another tutorial than bulletin board http://cakeamfphp.rd11.org/ (flash nor flex tutorial )?? I don't understand that one because use flash instead flex and http://www.concepthue.com/how-to/cake_flex/ is related with the first one.. I need to put cake and flex together... thank you great work gwoo

add one

 
 
top