<?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: 9 Magic Methods for PHP</title>
	<atom:link href="http://thinkvitamin.com/dev/9-magic-methods-for-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkvitamin.com/code/9-magic-methods-for-php/</link>
	<description>The Web Practitioner&#039;s Blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Ravinder Singh</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-42644</link>
		<dc:creator>Ravinder Singh</dc:creator>
		<pubDate>Sun, 01 May 2011 05:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-42644</guid>
		<description>Nice examples!!!</description>
		<content:encoded><![CDATA[<p>Nice examples!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arpita</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-39008</link>
		<dc:creator>Arpita</dc:creator>
		<pubDate>Tue, 04 Jan 2011 05:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-39008</guid>
		<description>is this concept covered in c++ and Java ?</description>
		<content:encoded><![CDATA[<p>is this concept covered in c++ and Java ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-36142</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 07 Oct 2010 09:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-36142</guid>
		<description>Done a excellent job in this blog, Alternatively create a great blog for the readers specially for PHP programming. Thanks.</description>
		<content:encoded><![CDATA[<p>Done a excellent job in this blog, Alternatively create a great blog for the readers specially for PHP programming. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari K T</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21332</link>
		<dc:creator>Hari K T</dc:creator>
		<pubDate>Mon, 21 Jun 2010 04:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21332</guid>
		<description>Nice and useful post</description>
		<content:encoded><![CDATA[<p>Nice and useful post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorna Jane Mitchell</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21329</link>
		<dc:creator>Lorna Jane Mitchell</dc:creator>
		<pubDate>Sun, 20 Jun 2010 20:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21329</guid>
		<description>Gunjan: It can be quite hard to think of useful examples that are simple enough for an article like this.  Do you have suggestions of better uses for __get and __set, I&#039;m always interested to hear how other people use these tools in their own projects?</description>
		<content:encoded><![CDATA[<p>Gunjan: It can be quite hard to think of useful examples that are simple enough for an article like this.  Do you have suggestions of better uses for __get and __set, I&#8217;m always interested to hear how other people use these tools in their own projects?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenneth van Rumste</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21299</link>
		<dc:creator>Kenneth van Rumste</dc:creator>
		<pubDate>Fri, 18 Jun 2010 09:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21299</guid>
		<description>Nice article!
The only advice I could give is:
Don&#039;t try to use username as a variable name if your class is that of an animal.

The username, in your example, has nothing in common with the class, what it represents or what it means. A username should be used if your class is, by example: user

This might result in a problem if someone needs to read and understand your code. 
Try to be more clear, specific, when choosing variable and class names.</description>
		<content:encoded><![CDATA[<p>Nice article!<br />
The only advice I could give is:<br />
Don&#8217;t try to use username as a variable name if your class is that of an animal.</p>
<p>The username, in your example, has nothing in common with the class, what it represents or what it means. A username should be used if your class is, by example: user</p>
<p>This might result in a problem if someone needs to read and understand your code.<br />
Try to be more clear, specific, when choosing variable and class names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21234</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 15 Jun 2010 16:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21234</guid>
		<description>Nice post, I still don&#039;t like object oriented programming though lol.</description>
		<content:encoded><![CDATA[<p>Nice post, I still don&#8217;t like object oriented programming though lol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manmohanjit Singh</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21211</link>
		<dc:creator>Manmohanjit Singh</dc:creator>
		<pubDate>Sun, 13 Jun 2010 20:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21211</guid>
		<description>You&#039;ve got a huge contact form.
Great post, was nice to read and definitely helpful.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve got a huge contact form.<br />
Great post, was nice to read and definitely helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunjan</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21210</link>
		<dc:creator>Gunjan</dc:creator>
		<pubDate>Sun, 13 Jun 2010 20:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21210</guid>
		<description>Nice post overall but really bad examples for __get and __set. They seem to be used in a hackish way and really undermine their real potential.</description>
		<content:encoded><![CDATA[<p>Nice post overall but really bad examples for __get and __set. They seem to be used in a hackish way and really undermine their real potential.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdullah Al Mamun</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21081</link>
		<dc:creator>Abdullah Al Mamun</dc:creator>
		<pubDate>Wed, 09 Jun 2010 10:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21081</guid>
		<description>Great thanks! Learnt a lot.
Most effective OOP series ever.
:-)</description>
		<content:encoded><![CDATA[<p>Great thanks! Learnt a lot.<br />
Most effective OOP series ever.<br />
:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Hotson</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21046</link>
		<dc:creator>Dennis Hotson</dc:creator>
		<pubDate>Tue, 08 Jun 2010 04:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21046</guid>
		<description>Really cool, you can do all kinds of crazy stuff with PHP magic methods.

I had a go at making my own magic arrays and strings recently, check it out:
http://gist.github.com/419722

.. it&#039;s basically for making it easy to use array_map() and to get somewhat OO arrays and strings.</description>
		<content:encoded><![CDATA[<p>Really cool, you can do all kinds of crazy stuff with PHP magic methods.</p>
<p>I had a go at making my own magic arrays and strings recently, check it out:<br />
<a href="http://gist.github.com/419722" rel="nofollow">http://gist.github.com/419722</a></p>
<p>.. it&#8217;s basically for making it easy to use array_map() and to get somewhat OO arrays and strings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21045</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Tue, 08 Jun 2010 03:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21045</guid>
		<description>__invoke() is quite important, too, I think! Its a bit like __toString(), but provides far more flexibility. It can be used in other cases as well, of course.
As the old toString magic method accepted parameters, its also an somewhat easy way to replace it in 5.3</description>
		<content:encoded><![CDATA[<p>__invoke() is quite important, too, I think! Its a bit like __toString(), but provides far more flexibility. It can be used in other cases as well, of course.<br />
As the old toString magic method accepted parameters, its also an somewhat easy way to replace it in 5.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: broncha</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21043</link>
		<dc:creator>broncha</dc:creator>
		<pubDate>Tue, 08 Jun 2010 00:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21043</guid>
		<description>Nice introduction to the overloaders.Thanks! I have used some of them but not all.Think I should try them out.</description>
		<content:encoded><![CDATA[<p>Nice introduction to the overloaders.Thanks! I have used some of them but not all.Think I should try them out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Passey</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21042</link>
		<dc:creator>Adam Passey</dc:creator>
		<pubDate>Mon, 07 Jun 2010 21:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21042</guid>
		<description>It is worthy to note that you cannot serialize built-in PHP objects using __sleep().</description>
		<content:encoded><![CDATA[<p>It is worthy to note that you cannot serialize built-in PHP objects using __sleep().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laira</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21039</link>
		<dc:creator>Laira</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21039</guid>
		<description>Such an insightful and informative article here it mentioned the all details very clearly so great Thanks for the posting....</description>
		<content:encoded><![CDATA[<p>Such an insightful and informative article here it mentioned the all details very clearly so great Thanks for the posting&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Craig</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21038</link>
		<dc:creator>Daniel Craig</dc:creator>
		<pubDate>Mon, 07 Jun 2010 16:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21038</guid>
		<description>Don&#039;t forget _callStatic for the 5.3 generation. :D

A full list is here:
http://uk2.php.net/manual/en/language.oop5.magic.php</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget _callStatic for the 5.3 generation. :D</p>
<p>A full list is here:<br />
<a href="http://uk2.php.net/manual/en/language.oop5.magic.php" rel="nofollow">http://uk2.php.net/manual/en/language.oop5.magic.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21035</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21035</guid>
		<description>Very clear and informative article.

I have been using the __construct / __destruct for a long time, haven&#039;t thought about using the others (or even looked in to them) until now.

The __get and __set may be useful in a Database class.

Thanks</description>
		<content:encoded><![CDATA[<p>Very clear and informative article.</p>
<p>I have been using the __construct / __destruct for a long time, haven&#8217;t thought about using the others (or even looked in to them) until now.</p>
<p>The __get and __set may be useful in a Database class.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Duncombe</title>
		<link>http://thinkvitamin.com/code/9-magic-methods-for-php/#comment-21034</link>
		<dc:creator>James Duncombe</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=6000#comment-21034</guid>
		<description>Thanks for the article!

I learnt a load of new things, looking forward to trying them out now!

Cheers,

James</description>
		<content:encoded><![CDATA[<p>Thanks for the article!</p>
<p>I learnt a load of new things, looking forward to trying them out now!</p>
<p>Cheers,</p>
<p>James</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.494 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-08 20:57:39 -->

