<?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: ZF 1.8.4 breaks addDirectory()</title>
	<atom:link href="http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Wed, 19 May 2010 07:10:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Arend</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-9907</link>
		<dc:creator>Arend</dc:creator>
		<pubDate>Mon, 08 Feb 2010 08:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-9907</guid>
		<description>I also still have this problem which keeps me from updating from 1.8.2. No matter what version I try (just tested 1.10) I still can&#039;t get past this &quot;Class com_example_project_class does not exist error&quot;.
Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I also still have this problem which keeps me from updating from 1.8.2. No matter what version I try (just tested 1.10) I still can&#8217;t get past this &#8220;Class com_example_project_class does not exist error&#8221;.<br />
Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leef</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-6134</link>
		<dc:creator>leef</dc:creator>
		<pubDate>Fri, 09 Oct 2009 23:06:44 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-6134</guid>
		<description>I found this speed comparison between AMFPHP, and ZendAMF.  It validates my own experience with Zend being about 5x slower.  Is this something that will be addressed and developed, or is that just the way it is with ZendAMF?  5x slower is a deal breaker with most of my applications.

http://gfxcomplex.com/video/zend-amf-vs-amph_amfphp-ftw/</description>
		<content:encoded><![CDATA[<p>I found this speed comparison between AMFPHP, and ZendAMF.  It validates my own experience with Zend being about 5x slower.  Is this something that will be addressed and developed, or is that just the way it is with ZendAMF?  5x slower is a deal breaker with most of my applications.</p>
<p><a href="http://gfxcomplex.com/video/zend-amf-vs-amph_amfphp-ftw/" rel="nofollow">http://gfxcomplex.com/video/zend-amf-vs-amph_amfphp-ftw/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3805</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Fri, 21 Aug 2009 18:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3805</guid>
		<description>Hi,

I&#039;m having a problem with zendamf where I receive the following error:
---------
Class &quot;test_Login&quot; does not exist: Plugin by name &#039;Test_Login&#039; was not found in the registry; used paths:
: /www/amfServices/system/application/controllers/services/
---------

In my gateway file I&#039;m using:
$server-&gt;addDirectory(&#039;/www/amfServices/system/application/controllers/services/&#039;);

My folder structure where the class is looks like this:
/www/amfServices/system/application/controllers/services/test/Login.php

my NetConnection call goes like this:
---
this.service.call(&#039;test.Login.logmein&#039;, responder, arguments);
---
where: test is the folder, Login is the class and logmein is the function.


What am I doing wrong here? 
I thought that adding a directory to the server and calling the service like amfphp(folder.folder.class.function) would work...

Could anyone please answer me by mail or just reply here. Its really important cause I have the same Class names on different folders and I need to map the folder as I usually did with amfphp.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m having a problem with zendamf where I receive the following error:<br />
&#8212;&#8212;&#8212;<br />
Class &#8220;test_Login&#8221; does not exist: Plugin by name &#8216;Test_Login&#8217; was not found in the registry; used paths:<br />
: /www/amfServices/system/application/controllers/services/<br />
&#8212;&#8212;&#8212;</p>
<p>In my gateway file I&#8217;m using:<br />
$server-&gt;addDirectory(&#8216;/www/amfServices/system/application/controllers/services/&#8217;);</p>
<p>My folder structure where the class is looks like this:<br />
/www/amfServices/system/application/controllers/services/test/Login.php</p>
<p>my NetConnection call goes like this:<br />
&#8212;<br />
this.service.call(&#8216;test.Login.logmein&#8217;, responder, arguments);<br />
&#8212;<br />
where: test is the folder, Login is the class and logmein is the function.</p>
<p>What am I doing wrong here?<br />
I thought that adding a directory to the server and calling the service like amfphp(folder.folder.class.function) would work&#8230;</p>
<p>Could anyone please answer me by mail or just reply here. Its really important cause I have the same Class names on different folders and I need to map the folder as I usually did with amfphp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chief</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3708</link>
		<dc:creator>Chief</dc:creator>
		<pubDate>Wed, 19 Aug 2009 19:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3708</guid>
		<description>Sorry to keep passing along information, but this is what seems to be working now.

AccountService.php, class name before was class name AccountService.  This was working in prior versions of Zend_Amf (full framework btw).

Now, to get this to work, the file name is still AccountService.php, but the class name is com_safepost_AccountService, where the service is located (application/servicec/com/safepost/).

Hope that helps -

Chief</description>
		<content:encoded><![CDATA[<p>Sorry to keep passing along information, but this is what seems to be working now.</p>
<p>AccountService.php, class name before was class name AccountService.  This was working in prior versions of Zend_Amf (full framework btw).</p>
<p>Now, to get this to work, the file name is still AccountService.php, but the class name is com_safepost_AccountService, where the service is located (application/servicec/com/safepost/).</p>
<p>Hope that helps -</p>
<p>Chief</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chief</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3705</link>
		<dc:creator>Chief</dc:creator>
		<pubDate>Wed, 19 Aug 2009 14:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3705</guid>
		<description>Couple of observations.  

1.  My services directory was application/services/com// with the file name of AccountService.php.  In PluginLoader function _formatName, it does a ucfirst on the plugin name, thus was expecting &quot;Com&quot; instead of &quot;com&quot;.  Now, this could be related to my php settings (?), I&#039;m not sure.

2.  I had to change the class name in AccountService.php to be Com__AccountService for it to work.

Overall, I just don&#039;t get it other than working through the issues in debug.

Wish I could help more - 

Chief</description>
		<content:encoded><![CDATA[<p>Couple of observations.  </p>
<p>1.  My services directory was application/services/com// with the file name of AccountService.php.  In PluginLoader function _formatName, it does a ucfirst on the plugin name, thus was expecting &#8220;Com&#8221; instead of &#8220;com&#8221;.  Now, this could be related to my php settings (?), I&#8217;m not sure.</p>
<p>2.  I had to change the class name in AccountService.php to be Com__AccountService for it to work.</p>
<p>Overall, I just don&#8217;t get it other than working through the issues in debug.</p>
<p>Wish I could help more &#8211; </p>
<p>Chief</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chief</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3703</link>
		<dc:creator>Chief</dc:creator>
		<pubDate>Wed, 19 Aug 2009 14:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3703</guid>
		<description>I can confirm the problem exist yet again in 1.9.1</description>
		<content:encoded><![CDATA[<p>I can confirm the problem exist yet again in 1.9.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo Azevedo</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3570</link>
		<dc:creator>Paulo Azevedo</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3570</guid>
		<description>In version 1.9.1 the problem still persists.</description>
		<content:encoded><![CDATA[<p>In version 1.9.1 the problem still persists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leef</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3281</link>
		<dc:creator>leef</dc:creator>
		<pubDate>Wed, 05 Aug 2009 20:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3281</guid>
		<description>The PHP &amp; as3 remoting code is exactly the same, and if instead of returning the large dataset, I return a small array, the response time is improved.  This leads me to think perhaps the bottleneck is happening with serialization?  Whatever ZendAMF is doing to prepare php objects to send back to Flash.</description>
		<content:encoded><![CDATA[<p>The PHP &amp; as3 remoting code is exactly the same, and if instead of returning the large dataset, I return a small array, the response time is improved.  This leads me to think perhaps the bottleneck is happening with serialization?  Whatever ZendAMF is doing to prepare php objects to send back to Flash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leef</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-3279</link>
		<dc:creator>leef</dc:creator>
		<pubDate>Wed, 05 Aug 2009 20:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-3279</guid>
		<description>Hey Wade, I&#039;m noticing that ZendAMF is taking far longer to return results to Flash than AMFPHP.  I&#039;ve setup my bootstrap similar to Lee Brimelow&#039;s tutorial.</description>
		<content:encoded><![CDATA[<p>Hey Wade, I&#8217;m noticing that ZendAMF is taking far longer to return results to Flash than AMFPHP.  I&#8217;ve setup my bootstrap similar to Lee Brimelow&#8217;s tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Cesaric</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-2936</link>
		<dc:creator>Robert Cesaric</dc:creator>
		<pubDate>Tue, 28 Jul 2009 00:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-2936</guid>
		<description>Thanks Wade, the new PluginLoader.php resolves the issue. 

Question though, I&#039;m converting a project over from AMFPHP to Zend_Amf and don&#039;t use the Zend naming convention for my Class names on my services. For example, my Authentication class in com.domain.Authentication is not named &#039;Com_Domain_Authentication&#039; but just &#039;Authentication&#039;.  Inspecting PluginLoader.php, I noticed that on line 379 the &#039;load&#039; function does the check &#039;class_exists($className, false)&#039; where $className in my case ends up being &#039;Com_domain_Authentication&#039; because I have in my ActionScript the RemoteObject source=&#039;com.domain.Authentication&#039;.  As a result, I get the &#039;Class not found error&#039;.  Any suggestions that don&#039;t involve renaming service classes to conform to Zend naming conventions?  

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks Wade, the new PluginLoader.php resolves the issue. </p>
<p>Question though, I&#8217;m converting a project over from AMFPHP to Zend_Amf and don&#8217;t use the Zend naming convention for my Class names on my services. For example, my Authentication class in com.domain.Authentication is not named &#8216;Com_Domain_Authentication&#8217; but just &#8216;Authentication&#8217;.  Inspecting PluginLoader.php, I noticed that on line 379 the &#8216;load&#8217; function does the check &#8216;class_exists($className, false)&#8217; where $className in my case ends up being &#8216;Com_domain_Authentication&#8217; because I have in my ActionScript the RemoteObject source=&#8217;com.domain.Authentication&#8217;.  As a result, I get the &#8216;Class not found error&#8217;.  Any suggestions that don&#8217;t involve renaming service classes to conform to Zend naming conventions?  </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
