<?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: stdClass is NOT the PHP Base Class!!!</title>
	<atom:link href="http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/</link>
	<description>My blog, with PHP and babies and cooking and stuff...</description>
	<lastBuildDate>Thu, 04 Mar 2010 08:13:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James</title>
		<link>http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/comment-page-1/#comment-1382</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 15 Nov 2008 10:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=999#comment-1382</guid>
		<description>You can sort of emulate that structure as I posted about &lt;a href=&quot;http://www.asgrim.com/2008/11/11/php-base-classes/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; initially - by creating your own &quot;superclass&quot; and inheriting all your own custom objects from that. In the custom framework we program with at &lt;a href=&quot;http://www.netbasic.co.uk/site/team/james.phtml&quot; rel=&quot;nofollow&quot;&gt;Netbasic&lt;/a&gt;, this is the way it works, and the code is fully object orientated. We have things like debug functions we can turn on/off easily by just changing a bool in the root object and so on, it makes life pretty easy.</description>
		<content:encoded><![CDATA[<p>You can sort of emulate that structure as I posted about <a href="http://www.asgrim.com/2008/11/11/php-base-classes/" rel="nofollow">here</a> initially &#8211; by creating your own &#8220;superclass&#8221; and inheriting all your own custom objects from that. In the custom framework we program with at <a href="http://www.netbasic.co.uk/site/team/james.phtml" rel="nofollow">Netbasic</a>, this is the way it works, and the code is fully object orientated. We have things like debug functions we can turn on/off easily by just changing a bool in the root object and so on, it makes life pretty easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/comment-page-1/#comment-1381</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Sat, 15 Nov 2008 09:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=999#comment-1381</guid>
		<description>It never even occurred to me that stdClass would be PHP&#039;s root superclass! I&#039;ve always used it in the way you did in the example - to create json objects easily. It would be nice if PHP did have a super class, as David said for things like type hinting, but I can live without that stuff. Just.</description>
		<content:encoded><![CDATA[<p>It never even occurred to me that stdClass would be PHP&#8217;s root superclass! I&#8217;ve always used it in the way you did in the example &#8211; to create json objects easily. It would be nice if PHP did have a super class, as David said for things like type hinting, but I can live without that stuff. Just.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/comment-page-1/#comment-1378</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 14 Nov 2008 11:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=999#comment-1378</guid>
		<description>I agree completely - the issue of course is that PHP was never OO until PHP 5 (lets be fair, PHP 4 OO was dire). Object orientation has been hacked into PHP, and despite being quite good, it&#039;s not a patch on fully OO languages like C++ or Java.</description>
		<content:encoded><![CDATA[<p>I agree completely &#8211; the issue of course is that PHP was never OO until PHP 5 (lets be fair, PHP 4 OO was dire). Object orientation has been hacked into PHP, and despite being quite good, it&#8217;s not a patch on fully OO languages like C++ or Java.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.asgrim.com/2008/11/14/stdclass-is-not-the-php-base-class/comment-page-1/#comment-1377</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 14 Nov 2008 11:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=999#comment-1377</guid>
		<description>What annoyed me is that it&#039;s a reasonable assumption that&#039;s being undermined by language perversity. Every other modern language with a decent object system has a root superclass, after all.

I thought that was how it worked in PHP until I tried to use stdClass for type hinting.</description>
		<content:encoded><![CDATA[<p>What annoyed me is that it&#8217;s a reasonable assumption that&#8217;s being undermined by language perversity. Every other modern language with a decent object system has a root superclass, after all.</p>
<p>I thought that was how it worked in PHP until I tried to use stdClass for type hinting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
