<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TheJim - Having some CakePHP with PHPAMF &#187; PHP</title>
	<atom:link href="http://thejim.me.uk/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://thejim.me.uk</link>
	<description>Not liking the bitter bitter taste of this cake!</description>
	<lastBuildDate>Mon, 26 Apr 2010 10:32:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SimpleXMLElements from simplexml_load_string are false</title>
		<link>http://thejim.me.uk/2010/04/26/simplexmlelements-from-simplexml_load_string-are-false/</link>
		<comments>http://thejim.me.uk/2010/04/26/simplexmlelements-from-simplexml_load_string-are-false/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 10:32:10 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SimpleXMLElement]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=80</guid>
		<description><![CDATA[So I came across 3 failed tests during unit testing some code recently.  I&#8217;d correctly mocked up the class that was to return the XML response, and my test on the unit that was using this response should have been parsing it out and returning me an array. But ALAS, twas not so. Instead I [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2010/04/26/simplexmlelements-from-simplexml_load_string-are-false/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony autoload is cached by default leading to issues with creating new classes</title>
		<link>http://thejim.me.uk/2010/04/23/symfony-autoload-is-cached-by-default-leading-to-issues-with-creating-new-classes/</link>
		<comments>http://thejim.me.uk/2010/04/23/symfony-autoload-is-cached-by-default-leading-to-issues-with-creating-new-classes/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 16:16:44 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Autoload]]></category>
		<category><![CDATA[Cache]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=75</guid>
		<description><![CDATA[Thanks a bunch Symfony. It was nice of you to tell me that you automatically cache your configuration files for autoloading, and nowhere do you document that you need to clear the cache to reload any new classes.
For those finding that their newly created model classes are not being autoloaded, it&#8217;s probably because symfony is [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2010/04/23/symfony-autoload-is-cached-by-default-leading-to-issues-with-creating-new-classes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHPUnit Mock Zend_Session_Namespace throws Zend_Session_Exception</title>
		<link>http://thejim.me.uk/2010/04/23/phpunit-mock-zend_session_namespace-throws-zend_session_exception/</link>
		<comments>http://thejim.me.uk/2010/04/23/phpunit-mock-zend_session_namespace-throws-zend_session_exception/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 15:00:19 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=72</guid>
		<description><![CDATA[While working with PHPUnit and doing some TDD (tests driven development) I came across and interesting issue while attempting to mock up the Zend_Session_Namespace.
The class in question was performing a setSessionNs() method which required a Zend_Session_Namespace.
e.g. $class-&#62;setSessionNs(new Zend_Session_Namespace(&#8217;test&#8217;));
So to eliminate the use of the session namespace within the class, and thus to test it as [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2010/04/23/phpunit-mock-zend_session_namespace-throws-zend_session_exception/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend Framework Routes and Navigation</title>
		<link>http://thejim.me.uk/2010/03/10/zend-framework-routes-and-navigation/</link>
		<comments>http://thejim.me.uk/2010/03/10/zend-framework-routes-and-navigation/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 11:17:48 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend_Navigation]]></category>
		<category><![CDATA[Zend_Route]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=65</guid>
		<description><![CDATA[Having spent a few hours attempting to work out why Zend_Navigation was refusing to place the built-in &#8220;active&#8221; css class onto my navigation elements while being in the correct module/controller/action I finally resolved the issue:
It came down the custom routes!
If you have custom routes and you find your navigation is not correctly highlighting  it&#8217;s probably [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2010/03/10/zend-framework-routes-and-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AMFPHP Cake constructor arguments causing NetConnection.Call.BadVersion</title>
		<link>http://thejim.me.uk/2009/10/10/amfphp-cake-constructor-arguments-causing-netconnection-call-badversion/</link>
		<comments>http://thejim.me.uk/2009/10/10/amfphp-cake-constructor-arguments-causing-netconnection-call-badversion/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 13:18:53 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=51</guid>
		<description><![CDATA[So&#8230; you&#8217;re seeing &#8220;NetConnection.Call.BadVersion&#8221; from Flash while attempting to talk to CPAMF or AMFPHP.
Well my friend, there&#8217;s a good probability that something is wrong.
Here are some suggestions:

 Fatal Error
 Redirect

What I tracked my problem down to was the fact that the following happens when AMFPHP receives a Flash remote object (using remoting):

AMFPHP receives an AMF [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2009/10/10/amfphp-cake-constructor-arguments-causing-netconnection-call-badversion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cpamf accepting VO objects in service calls as parameters</title>
		<link>http://thejim.me.uk/2009/10/05/cpamf-accepting-vo-objects-in-service-calls-as-parameters/</link>
		<comments>http://thejim.me.uk/2009/10/05/cpamf-accepting-vo-objects-in-service-calls-as-parameters/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:26:45 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=47</guid>
		<description><![CDATA[Here&#8217;s the status:
Cake implementation of AMFPHP via the plugin cpamf appears to be lacking some particular documentation regarding &#8220;accepting&#8221; flash objects in calls.
i.e.
Flash -&#62; PHP object conversion.
Sure you can send back flash objects no problem, and there are plenty of documented places that tell you how to send flash objects back from PHP using class [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2009/10/05/cpamf-accepting-vo-objects-in-service-calls-as-parameters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CakePHP doesn&#8217;t like autoload() with vendor app import!</title>
		<link>http://thejim.me.uk/2009/09/22/cakephp-doesnt-like-autoload-with-vendor-app-impor/</link>
		<comments>http://thejim.me.uk/2009/09/22/cakephp-doesnt-like-autoload-with-vendor-app-impor/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 11:21:19 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=45</guid>
		<description><![CDATA[So, it would seem that if you decide that you want your vendor plugin to work nicely with cake, by having it conform to Pear folder directory structure and naming convention, and then right yourself a nice autoload() function to register with php (via spl_autoload_register()), you CANNOT use the App::import alongside this.
Why? Because Cake&#8217;s lovely [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2009/09/22/cakephp-doesnt-like-autoload-with-vendor-app-impor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CakePHP CPAMF flex VO object flash integration</title>
		<link>http://thejim.me.uk/2009/09/21/cakephp-cpamf-flex-vo-object-flash-integration/</link>
		<comments>http://thejim.me.uk/2009/09/21/cakephp-cpamf-flex-vo-object-flash-integration/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 12:12:14 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/?p=37</guid>
		<description><![CDATA[Well thank god for that!
After a few days of stressing and pulling out hair, and with the help of one young dutch genius we managed to resolve the cake cpamf plugin VO integration.
Firstly, things to know about cake:

Cake REQUIRES all models to be in the &#8220;models&#8221; directory.
CPAMF plugin is installed in in the &#8220;plugins&#8221; directory.
You [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2009/09/21/cakephp-cpamf-flex-vo-object-flash-integration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Eclipse PHP PDT no file extension problem.</title>
		<link>http://thejim.me.uk/2008/12/08/eclipse-php-pdt-no-file-extension-problem/</link>
		<comments>http://thejim.me.uk/2008/12/08/eclipse-php-pdt-no-file-extension-problem/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 15:26:18 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[pdt]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/2008/12/08/eclipse-php-pdt-no-file-extension-problem/</guid>
		<description><![CDATA[So to my surprise recently, Eclipse PHP PDT doesn&#8217;t show syntax highlighting for files which don&#8217;t have the .php (or variant  of that) extension. i.e. it won&#8217;t allow a blank extension.
Honestly there is no reason not to use the .php extension if you&#8217;re working with a proper MVC framework, however in some recent work [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2008/12/08/eclipse-php-pdt-no-file-extension-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Loader isReadable causing trigger error problem</title>
		<link>http://thejim.me.uk/2008/12/08/zend-loader-isreadable-causing-trigger-error-problem/</link>
		<comments>http://thejim.me.uk/2008/12/08/zend-loader-isreadable-causing-trigger-error-problem/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 15:19:57 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://thejim.me.uk/2008/12/08/zend-loader-isreadable-causing-trigger-error-problem/</guid>
		<description><![CDATA[I noted recently while writing a debugging error logging plugin for the Zend Framework that I was getting some E_WARNING&#8217;s logged in the database table it was utilising.
Having analysed the information a little further I realised that the framework was doing something rather funky. I had structured the application to be a modular layout as [...]]]></description>
		<wfw:commentRss>http://thejim.me.uk/2008/12/08/zend-loader-isreadable-causing-trigger-error-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
