<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Zend AMF updates and questions for AMFPHP users</title>
	<atom:link href="http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Wed, 19 May 2010 07:10:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Andros</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-6051</link>
		<dc:creator>Andros</dc:creator>
		<pubDate>Wed, 07 Oct 2009 15:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-6051</guid>
		<description>To give Alrick&#039;s post a Bump.. 

Wade do you have any benchmark tests for ZendAmf and AMFPHP?
I’d like to see them.

Do you mind giving some benefits?
My personal case is working strictly in Flash AS3 ( not flex )</description>
		<content:encoded><![CDATA[<p>To give Alrick&#8217;s post a Bump.. </p>
<p>Wade do you have any benchmark tests for ZendAmf and AMFPHP?<br />
I’d like to see them.</p>
<p>Do you mind giving some benefits?<br />
My personal case is working strictly in Flash AS3 ( not flex )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-3525</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-3525</guid>
		<description>&lt;a href=&quot;#comment-3516&quot; rel=&quot;nofollow&quot;&gt;@Ben&lt;/a&gt; 
Interestingly enough, I change the default encoding to AMF0 and it works.  Seems to be a problem.  I am currently using Zend 1.8.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3516" rel="nofollow">@Ben</a><br />
Interestingly enough, I change the default encoding to AMF0 and it works.  Seems to be a problem.  I am currently using Zend 1.8.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-3516</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 11 Aug 2009 15:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-3516</guid>
		<description>&lt;a href=&quot;#comment-771&quot; rel=&quot;nofollow&quot;&gt;@David&lt;/a&gt; 
I am having the exact same problem as well, did you ever get this figured out?  I know its nothing in my PHP logic, nor the AS3 code.  I call the same function but pass it something other than an array, it works.  I pass an array and I get a CallBadVersion error.</description>
		<content:encoded><![CDATA[<p><a href="#comment-771" rel="nofollow">@David</a><br />
I am having the exact same problem as well, did you ever get this figured out?  I know its nothing in my PHP logic, nor the AS3 code.  I call the same function but pass it something other than an array, it works.  I pass an array and I get a CallBadVersion error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alrick Telfer</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-2660</link>
		<dc:creator>Alrick Telfer</dc:creator>
		<pubDate>Sat, 06 Jun 2009 02:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-2660</guid>
		<description>Wade do you have any benchmark tests for ZendAmf and AMFPHP?
I&#039;d like to see them.
To me I don&#039;t really see a reason to move to ZendAmf.
Do you mind giving some benefits?

It would be much appreciated!

-Alrick</description>
		<content:encoded><![CDATA[<p>Wade do you have any benchmark tests for ZendAmf and AMFPHP?<br />
I&#8217;d like to see them.<br />
To me I don&#8217;t really see a reason to move to ZendAmf.<br />
Do you mind giving some benefits?</p>
<p>It would be much appreciated!</p>
<p>-Alrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goliath</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-1686</link>
		<dc:creator>goliath</dc:creator>
		<pubDate>Thu, 26 Mar 2009 11:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-1686</guid>
		<description>It seems i have found a possible fix (/my mistake) to  “Unable to parse null body data  mapped class  is not defined” error.

i was using &quot;$server-&gt;addDirectory(&#039;../Common&#039;)&quot; and thus, expecting that no &#039;require_once&#039; statements for VOs will be necessary (since those actually appear within the &#039;service&#039; class).

Well, as soon as i added &#039;require_once VOAlbum.php&#039; to the top of the file - everything worked - Zend Amf got the typed data (&#039;addAlbum (VOAlbum)&#039;).

The other way to do it - is through the &#039;include_path&#039; like:
$inc_paths = array();
$inc_paths[] = &#039;../../libs/ZF/1.7.7/library/&#039;;
$inc_paths[] = &#039;../Common/&#039;;
$inc_paths[] = get_include_path();
$inc_paths = implode(PATH_SEPARATOR, $inc_paths);	
set_include_path( $inc_paths );

Both seem to work fine.

Sorry for causing confusion, Wade O-)

Hope this helps someone save some time and nerves.</description>
		<content:encoded><![CDATA[<p>It seems i have found a possible fix (/my mistake) to  “Unable to parse null body data  mapped class  is not defined” error.</p>
<p>i was using &#8220;$server-&gt;addDirectory(&#8216;../Common&#8217;)&#8221; and thus, expecting that no &#8216;require_once&#8217; statements for VOs will be necessary (since those actually appear within the &#8216;service&#8217; class).</p>
<p>Well, as soon as i added &#8216;require_once VOAlbum.php&#8217; to the top of the file &#8211; everything worked &#8211; Zend Amf got the typed data (&#8216;addAlbum (VOAlbum)&#8217;).</p>
<p>The other way to do it &#8211; is through the &#8216;include_path&#8217; like:<br />
$inc_paths = array();<br />
$inc_paths[] = &#8216;../../libs/ZF/1.7.7/library/&#8217;;<br />
$inc_paths[] = &#8216;../Common/&#8217;;<br />
$inc_paths[] = get_include_path();<br />
$inc_paths = implode(PATH_SEPARATOR, $inc_paths);<br />
set_include_path( $inc_paths );</p>
<p>Both seem to work fine.</p>
<p>Sorry for causing confusion, Wade O-)</p>
<p>Hope this helps someone save some time and nerves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goliath</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-1590</link>
		<dc:creator>goliath</dc:creator>
		<pubDate>Tue, 17 Mar 2009 21:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-1590</guid>
		<description>i might be a bit too late, but could i have the info you gave to Jesper? O-)

i’ve been fighting with the “Unable to parse null body data &lt;Flex alias VO for PHP&gt; mapped class &lt;PHP VO&gt; is not defined” for 3 days.

ZF 1.7.2 had it. I switched to 1.7.7. It’s still there.
You can easily get VOs out from a ZendAMF gateway, but how do you get them past ‘into’ it?

&gt;&gt;Probably because you should not trust a VO coming from Flex…
You shouldn’t and mustn’t. But, being a lazy developer (and maybe following “promoted” ‘best-practices’) you don’t want to pass an object as a bunch of params to a method.

To be more specific, in a futile attempt to get some skills, i’m trying to put together a simple ‘music album management app’ (simple CRUD). Listing the albums (and mapping PHP-VOs to Flex-VOs) wasn’t a problem.
What you want to do now - is create the entry in the db-table, and, quite trivially, have something like:
Flex-&gt;ZendAMF-&gt;Albums-&gt;addAlbum(VOAlbum)
and not like
Flex-&gt;ZendAMF-&gt;Albums-&gt;addAlbum(id, title, artist, year)

Of course, inside of the &#039;addAlbum&#039; method, you do all kinds of checks, validation, sql screening, etc.

If the VO doesn&#039;t really have many properties, then it&#039;s not too tough to type them all into params of the method. But, when you&#039;re not quite sure about your VO, its params, the order of the params, the number of props in your VO scrolls down 2 pages or you&#039;re that &#039;confused over life&#039; person like me, then it becomes a mess and a headache.

Really a deadpoint...

my finger slipped - please delete my previous post O-)</description>
		<content:encoded><![CDATA[<p>i might be a bit too late, but could i have the info you gave to Jesper? O-)</p>
<p>i’ve been fighting with the “Unable to parse null body data &lt;Flex alias VO for PHP&gt; mapped class &lt;PHP VO&gt; is not defined” for 3 days.</p>
<p>ZF 1.7.2 had it. I switched to 1.7.7. It’s still there.<br />
You can easily get VOs out from a ZendAMF gateway, but how do you get them past ‘into’ it?</p>
<p>&gt;&gt;Probably because you should not trust a VO coming from Flex…<br />
You shouldn’t and mustn’t. But, being a lazy developer (and maybe following “promoted” ‘best-practices’) you don’t want to pass an object as a bunch of params to a method.</p>
<p>To be more specific, in a futile attempt to get some skills, i’m trying to put together a simple ‘music album management app’ (simple CRUD). Listing the albums (and mapping PHP-VOs to Flex-VOs) wasn’t a problem.<br />
What you want to do now &#8211; is create the entry in the db-table, and, quite trivially, have something like:<br />
Flex-&gt;ZendAMF-&gt;Albums-&gt;addAlbum(VOAlbum)<br />
and not like<br />
Flex-&gt;ZendAMF-&gt;Albums-&gt;addAlbum(id, title, artist, year)</p>
<p>Of course, inside of the &#8216;addAlbum&#8217; method, you do all kinds of checks, validation, sql screening, etc.</p>
<p>If the VO doesn&#8217;t really have many properties, then it&#8217;s not too tough to type them all into params of the method. But, when you&#8217;re not quite sure about your VO, its params, the order of the params, the number of props in your VO scrolls down 2 pages or you&#8217;re that &#8216;confused over life&#8217; person like me, then it becomes a mess and a headache.</p>
<p>Really a deadpoint&#8230;</p>
<p>my finger slipped &#8211; please delete my previous post O-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goliath</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-1589</link>
		<dc:creator>goliath</dc:creator>
		<pubDate>Tue, 17 Mar 2009 21:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-1589</guid>
		<description>i might be a bit too late, but could i have the info you gave to Jesper? O-)

i&#039;ve been fighting with the &quot;Unable to parse null body data  mapped class  is not defined&quot; for 3 days.

ZF 1.7.2 had it. I switched to 1.7.7. It&#039;s still there.
You can easily get VOs out from a ZendAMF gateway, but how do you get them past &#039;into&#039; it?

&gt;&gt;Probably because you should not trust a VO coming from Flex...
You shouldn&#039;t and mustn&#039;t. But, being a lazy developer (and maybe following &quot;promoted&quot; &#039;best-practices&#039;) you don&#039;t want to pass an object as a bunch of params to a method.

To be more specific, in a futile attempt to get some skills, i&#039;m trying to put together a simple &#039;music album management app&#039; (simple CRUD). Listing the albums (and mapping PHP-VOs to Flex-VOs) wasn&#039;t a problem.
What you want to do now - is create the entry in the db-table, and, have
Something like: Flex-&gt;ZendAMF-&gt;Albums-&gt;</description>
		<content:encoded><![CDATA[<p>i might be a bit too late, but could i have the info you gave to Jesper? O-)</p>
<p>i&#8217;ve been fighting with the &#8220;Unable to parse null body data  mapped class  is not defined&#8221; for 3 days.</p>
<p>ZF 1.7.2 had it. I switched to 1.7.7. It&#8217;s still there.<br />
You can easily get VOs out from a ZendAMF gateway, but how do you get them past &#8216;into&#8217; it?</p>
<p>&gt;&gt;Probably because you should not trust a VO coming from Flex&#8230;<br />
You shouldn&#8217;t and mustn&#8217;t. But, being a lazy developer (and maybe following &#8220;promoted&#8221; &#8216;best-practices&#8217;) you don&#8217;t want to pass an object as a bunch of params to a method.</p>
<p>To be more specific, in a futile attempt to get some skills, i&#8217;m trying to put together a simple &#8216;music album management app&#8217; (simple CRUD). Listing the albums (and mapping PHP-VOs to Flex-VOs) wasn&#8217;t a problem.<br />
What you want to do now &#8211; is create the entry in the db-table, and, have<br />
Something like: Flex-&gt;ZendAMF-&gt;Albums-&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gooswa</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-1478</link>
		<dc:creator>Gooswa</dc:creator>
		<pubDate>Fri, 06 Mar 2009 05:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-1478</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-847&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-847&quot; rel=&quot;nofollow&quot;&gt;dustin&lt;/a&gt; :&lt;/strong&gt;
I used AMFPHP alot and got use to building the service classes with similar CRUD methods. I’ve tried to follow the same model in ZendAMF, but keep getting the “Duplicate method registered” exception. Can you not have two different services with the same method names? ie: ProjectService.getAll() and UserService.getAll()
&lt;/blockquote&gt;

I am doing the same thing and getting the same error? Why wouldn&#039;t this be allowed? Aren&#039;t the methods scoped only to their class?</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-847"><p>
<strong><a href="#comment-847" rel="nofollow">dustin</a> :</strong><br />
I used AMFPHP alot and got use to building the service classes with similar CRUD methods. I’ve tried to follow the same model in ZendAMF, but keep getting the “Duplicate method registered” exception. Can you not have two different services with the same method names? ie: ProjectService.getAll() and UserService.getAll()
</p></blockquote>
<p>I am doing the same thing and getting the same error? Why wouldn&#8217;t this be allowed? Aren&#8217;t the methods scoped only to their class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geor</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-1231</link>
		<dc:creator>geor</dc:creator>
		<pubDate>Mon, 23 Feb 2009 23:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-1231</guid>
		<description>&lt;a href=&quot;#comment-925&quot; rel=&quot;nofollow&quot;&gt;@wadearnold&lt;/a&gt; 
Thanks for answer :). Did you find time to write blog post on tearing them apart. I did&#039;t manage to find it. Anyway thanks :) I&#039;ll try to do it.</description>
		<content:encoded><![CDATA[<p><a href="#comment-925" rel="nofollow">@wadearnold</a><br />
Thanks for answer <img src='http://wadearnold.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Did you find time to write blog post on tearing them apart. I did&#8217;t manage to find it. Anyway thanks <img src='http://wadearnold.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ll try to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/amfphp/zend-amf-updates-and-questions-for-amfphp-users/comment-page-1#comment-926</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Mon, 09 Feb 2009 15:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=168#comment-926</guid>
		<description>&lt;a href=&quot;#comment-764&quot; rel=&quot;nofollow&quot;&gt;@Jesper Stærkær&lt;/a&gt; Please check the latest release from SVN. This issue has been solved. It will be in the 1.7.4 release.</description>
		<content:encoded><![CDATA[<p><a href="#comment-764" rel="nofollow">@Jesper Stærkær</a> Please check the latest release from SVN. This issue has been solved. It will be in the 1.7.4 release.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
