<?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: WordPress plugins don&#8217;t commonly use classes, why?</title>
	<atom:link href="http://www.hagelnx.com/prog/wordpress/658/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hagelnx.com/prog/wordpress/658</link>
	<description>An American in Bulgaria</description>
	<lastBuildDate>Thu, 24 Jun 2010 22:21:46 +0300</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Kevin Hagel</title>
		<link>http://www.hagelnx.com/prog/wordpress/658/comment-page-1#comment-318</link>
		<dc:creator>Kevin Hagel</dc:creator>
		<pubDate>Thu, 24 Jun 2010 22:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.hagelnx.com/?p=658#comment-318</guid>
		<description>I installed the Subscribe To Comments plugin.</description>
		<content:encoded><![CDATA[<p>I installed the Subscribe To Comments plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen R</title>
		<link>http://www.hagelnx.com/prog/wordpress/658/comment-page-1#comment-315</link>
		<dc:creator>Stephen R</dc:creator>
		<pubDate>Fri, 18 Jun 2010 04:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hagelnx.com/?p=658#comment-315</guid>
		<description>Bit of a late reply, but...

I certainly don&#039;t know any strong reasons for not using classes in WordPress plugins, (in favor of prepending function names), or I wouldn&#039;t be recommending it on my site.  It&#039;s just a different way of doing it.  Obviously I prefer using classes myself.

A great many plugins are written by relatively inexperienced programmers.  They don&#039;t use classes because they don&#039;t know how.  That being said, some very experienced plugin authors choose to prepend function names instead.  My tutorial was aimed at those who would if they knew how. ;-)

P.S. -- Might I suggest the &quot;Subscribe to Comments&quot; plugin for your site?</description>
		<content:encoded><![CDATA[<p>Bit of a late reply, but&#8230;</p>
<p>I certainly don&#8217;t know any strong reasons for not using classes in WordPress plugins, (in favor of prepending function names), or I wouldn&#8217;t be recommending it on my site.  It&#8217;s just a different way of doing it.  Obviously I prefer using classes myself.</p>
<p>A great many plugins are written by relatively inexperienced programmers.  They don&#8217;t use classes because they don&#8217;t know how.  That being said, some very experienced plugin authors choose to prepend function names instead.  My tutorial was aimed at those who would if they knew how. <img src='http://www.hagelnx.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>P.S. &#8212; Might I suggest the &#8220;Subscribe to Comments&#8221; plugin for your site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin  Hagel</title>
		<link>http://www.hagelnx.com/prog/wordpress/658/comment-page-1#comment-194</link>
		<dc:creator>Kevin  Hagel</dc:creator>
		<pubDate>Fri, 11 Dec 2009 23:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.hagelnx.com/?p=658#comment-194</guid>
		<description>Is there a php-particular advantage to the use of files full of functions rather than classes in this manner?
I&#039;d like to avoid imposing java-think on PHP.  PHP is much more useful for us here in Bulgaria at this time ... and I&#039;ve discovered wordpress to be a surprisingly flexible CMS, perfect for my needs right now.  I know I need to adapt my coding to php-think ... so that&#039;s why I asked about any advantage in doing it the way I seem to see plugin authors doing it.</description>
		<content:encoded><![CDATA[<p>Is there a php-particular advantage to the use of files full of functions rather than classes in this manner?<br />
I&#8217;d like to avoid imposing java-think on PHP.  PHP is much more useful for us here in Bulgaria at this time &#8230; and I&#8217;ve discovered wordpress to be a surprisingly flexible CMS, perfect for my needs right now.  I know I need to adapt my coding to php-think &#8230; so that&#8217;s why I asked about any advantage in doing it the way I seem to see plugin authors doing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen R</title>
		<link>http://www.hagelnx.com/prog/wordpress/658/comment-page-1#comment-193</link>
		<dc:creator>Stephen R</dc:creator>
		<pubDate>Fri, 11 Dec 2009 22:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.hagelnx.com/?p=658#comment-193</guid>
		<description>It seems to be more common in the WordPress plugin world to add  some string to the start of the plugin&#039;s name.  Thus  myplugin_some_function() and myplugin_another_function()

P.S. -- &quot;Nerdaphernalia&quot;</description>
		<content:encoded><![CDATA[<p>It seems to be more common in the WordPress plugin world to add  some string to the start of the plugin&#8217;s name.  Thus  myplugin_some_function() and myplugin_another_function()</p>
<p>P.S. &#8212; &#8220;Nerdaphernalia&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
