<?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>Tue, 17 Jan 2012 17:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Arend</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-27203</link>
		<dc:creator>Arend</dc:creator>
		<pubDate>Tue, 17 Jan 2012 17:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-27203</guid>
		<description>Was searching again for how to fix this error and found my own comment here. It&#039;s an ugly hack but it works. I will look into this a bit further as this issue (and bug report http://framework.zend.com/issues/browse/ZF-11446) is still alive and kicking.</description>
		<content:encoded><![CDATA[<p>Was searching again for how to fix this error and found my own comment here. It&#8217;s an ugly hack but it works. I will look into this a bit further as this issue (and bug report <a href="http://framework.zend.com/issues/browse/ZF-11446)" rel="nofollow">http://framework.zend.com/issues/browse/ZF-11446)</a> is still alive and kicking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arend</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-24035</link>
		<dc:creator>Arend</dc:creator>
		<pubDate>Tue, 07 Dec 2010 13:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-24035</guid>
		<description>I forgot, this requires you to manually load all (Service) classes beforehand</description>
		<content:encoded><![CDATA[<p>I forgot, this requires you to manually load all (Service) classes beforehand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arend</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-24034</link>
		<dc:creator>Arend</dc:creator>
		<pubDate>Tue, 07 Dec 2010 13:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-24034</guid>
		<description>I was finally able to use the latest ZF build (1.11.1) by modifying Server.php inside the Zend/Amf/ build dir. I added this:
 if(preg_match(&#039;/^your_package_com/&#039;, $className)) {
                        $className = substr($className, strrpos($className,&quot;_&quot;)+1); // returns actual class name
                    }
Just before this line:
$this-&gt;getLoader()-&gt;load($className);
Inside protected function _dispatch($method, $params = null, $source = null)

This is a very poor solution to probably a misunderstanding of how to properly configure the Zend environment. But info on setting up ZendAmf (especially with full framework) are sparse or non-existent.</description>
		<content:encoded><![CDATA[<p>I was finally able to use the latest ZF build (1.11.1) by modifying Server.php inside the Zend/Amf/ build dir. I added this:<br />
 if(preg_match(&#8216;/^your_package_com/&#8217;, $className)) {<br />
                        $className = substr($className, strrpos($className,&#8221;_&#8221;)+1); // returns actual class name<br />
                    }<br />
Just before this line:<br />
$this-&gt;getLoader()-&gt;load($className);<br />
Inside protected function _dispatch($method, $params = null, $source = null)</p>
<p>This is a very poor solution to probably a misunderstanding of how to properly configure the Zend environment. But info on setting up ZendAmf (especially with full framework) are sparse or non-existent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-21836</link>
		<dc:creator>Felipe</dc:creator>
		<pubDate>Tue, 26 Oct 2010 06:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-21836</guid>
		<description>&lt;a href=&quot;#comment-9907&quot; rel=&quot;nofollow&quot;&gt;@Arend&lt;/a&gt;

Notice that the class missed does not have the first letter with capital caps. I had the same issue but I changed the class name using the first capital letter and worked.</description>
		<content:encoded><![CDATA[<p><a href="#comment-9907" rel="nofollow">@Arend</a></p>
<p>Notice that the class missed does not have the first letter with capital caps. I had the same issue but I changed the class name using the first capital letter and worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Tourlourat</title>
		<link>http://wadearnold.com/blog/flash/zf-184-breaks-adddirectory/comment-page-1#comment-9909</link>
		<dc:creator>Thomas Tourlourat</dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=286#comment-9909</guid>
		<description>The problem persiste on ZendFramework 1.10

Armetiz.</description>
		<content:encoded><![CDATA[<p>The problem persiste on ZendFramework 1.10</p>
<p>Armetiz.</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
