tag:blogger.com,1999:blog-33682522.post1899350864443388976..comments2023-05-10T01:32:12.455-06:00Comments on Vic on Flex: Mapping VO's from Flex to PHP using AMFPHPVic Rubbahttp://www.blogger.com/profile/05333875993257211669noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-33682522.post-40057090493369655252010-09-02T12:39:50.973-06:002010-09-02T12:39:50.973-06:00I know that this is long overdue, but I think that...I know that this is long overdue, but I think that that the following code <br />function formatLastName(){<br />$lastName = strtolower($lastName); <br />}<br />should be replaced with:<br />function formatLastName(){<br />$this->lastName = strtolower($this->lastName); <br />}Unknownhttps://www.blogger.com/profile/12279019985199231725noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-45209362348840824212009-11-23T17:05:25.200-07:002009-11-23T17:05:25.200-07:00Thank you, great Post.Thank you, great Post.Unknownhttps://www.blogger.com/profile/02896336250075737665noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-38262647592432446502009-08-11T10:22:18.301-06:002009-08-11T10:22:18.301-06:00Hi - great post.
Just wanna help others by mneti...Hi - great post. <br /><br />Just wanna help others by mnetioning that in order for AMFPHP to work so that PHP can receive VO from FLEX, you must also remember to put a port number in the URI declaration in services-config.xml in your flex project! PHP can send VO the other way without a port number... Took me prtty long time to troubleshoot :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33682522.post-39393678335689058612009-07-21T12:31:51.892-06:002009-07-21T12:31:51.892-06:00Thank you. Your post continues to save lives even ...Thank you. Your post continues to save lives even 2 years after the original article!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33682522.post-29799435913858580902009-05-28T02:54:44.585-06:002009-05-28T02:54:44.585-06:00AMFPHP is amazingly simple! Its a shame that Adobe...AMFPHP is amazingly simple! Its a shame that Adobe has selected Zend implemtation ;-(DecoXhttps://www.blogger.com/profile/02021755750335253439noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-66233982809509732702009-02-14T16:12:00.000-07:002009-02-14T16:12:00.000-07:00Sometimes it's just that easy :-) Google, read gre...Sometimes it's just that easy :-) Google, read great blog post, fixed!<BR/><BR/>Thank You!Unknownhttps://www.blogger.com/profile/07287093786190932961noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-5643982111856047942009-02-14T16:11:00.000-07:002009-02-14T16:11:00.000-07:00Cool, sometimes it's just that easy :-) Google, re...Cool, sometimes it's just that easy :-) Google, read great blog post, fixed. <BR/><BR/>Thank You!Unknownhttps://www.blogger.com/profile/07287093786190932961noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-90973420557716076982009-02-07T17:52:00.000-07:002009-02-07T17:52:00.000-07:00Ahhhh! I was SO wrong!The [RemoteClass(alias="vo/F...Ahhhh! I was SO wrong!<BR/><BR/>The [RemoteClass(alias="vo/Fred")] in the AS3 class <BR/><BR/>and the $_explicitType = "vo/Fred"; in /vo/Fred.php <BR/><BR/>DO INDEED all have to be the same. The Remote classes in Flex will remember the alias and reverse-lookup the correct AS3 class using its alias.<BR/><BR/>PHP, on the other hand, uses the "alias" to find the php class that it will use to map outgoing data.<BR/><BR/>For incoming classes, see above.<BR/><BR/>CheersRichard C Havenhttps://www.blogger.com/profile/02059190792567198390noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-26568546098983137272009-02-03T01:32:00.000-07:002009-02-03T01:32:00.000-07:00This comment has been removed by the author.Richard C Havenhttps://www.blogger.com/profile/02059190792567198390noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-60699144408014093832008-07-30T20:53:00.000-06:002008-07-30T20:53:00.000-06:00Great post ! thanks a lot. :)Great post ! thanks a lot. :)Dimitrihttps://www.blogger.com/profile/01870146398359208819noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-11210882045066863982008-06-18T03:34:00.000-06:002008-06-18T03:34:00.000-06:00Thanks for the tutorial... ServiceCapture looks al...Thanks for the tutorial... ServiceCapture looks alot like <A HREF="http://www.fiddlertool.com/fiddler/" REL="nofollow">Fiddler</A> (free from Microsoft) IMHO a good HTTP Sniffer and using something as simple as TAIL to watch flashlogs.txt are invaluable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33682522.post-27331996480211847082008-01-08T23:36:00.000-07:002008-01-08T23:36:00.000-07:00Do yourself a favor and grab a copy of Service Cap...Do yourself a favor and grab a copy of <A HREF="http://kevinlangdon.com/serviceCapture/" REL="nofollow"><BR/>Service Capture</A> by Kevin Langdon, and see what the actual error message is you're getting in your response. This tool is invaluable for troubleshooting amf calls from flex or flash.Vic Rubbahttps://www.blogger.com/profile/05333875993257211669noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-87494475163132474562008-01-08T21:50:00.000-07:002008-01-08T21:50:00.000-07:00what's wrong for me. Whenever I added a vo directo...what's wrong for me. Whenever I added a vo directory under service directory, and run the flex, got Channels Disconnect error.Unknownhttps://www.blogger.com/profile/05916361615030844338noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-75927549292714492792007-04-27T14:42:00.000-06:002007-04-27T14:42:00.000-06:00Thanks for the credit. It took me over three weeks...Thanks for the credit. It took me over three weeks to write that tutorial because I had very little spare time. I plan to write another tutorial that uses Fluorine.Gurufactionhttps://www.blogger.com/profile/02452252139843375490noreply@blogger.comtag:blogger.com,1999:blog-33682522.post-87560259878169985342007-04-27T03:32:00.000-06:002007-04-27T03:32:00.000-06:00With php5 you can also do this:function modify(Per...With php5 you can also do this:<BR/><B><BR/>function modify(Person $person)<BR/>{<BR/> ... <BR/>}<BR/></B><BR/>you need a Person class in the php class that mimics the one in the flex side.<BR/>Something that can also be interesting is the <B>[Transient]</B> metadata tag if you have some properties in the flex VO that you don't want to be sent to server side.<BR/>Just my two cents.<BR/>cheers!Anonymousnoreply@blogger.com