<?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: Suggestion: WordPress Option Namespacing</title>
	<atom:link href="http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/</link>
	<description>WordPress, web development, and world domination.</description>
	<lastBuildDate>Sat, 11 Feb 2012 20:29:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: mikaeljorhult (Mikael Jorhult)</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-170832</link>
		<dc:creator>mikaeljorhult (Mikael Jorhult)</dc:creator>
		<pubDate>Wed, 12 May 2010 10:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-170832</guid>
		<description>kanske har lätt att bli sentimental men sånt här gör mig lycklig på riktigt. http://bit.ly/drYPxu http://bit.ly/5Dmn7U #nördigtochvackert</description>
		<content:encoded><![CDATA[<p>kanske har lätt att bli sentimental men sånt här gör mig lycklig på riktigt. <a href="http://bit.ly/drYPxu" rel="nofollow">http://bit.ly/drYPxu</a> <a href="http://bit.ly/5Dmn7U" rel="nofollow">http://bit.ly/5Dmn7U</a> #nördigtochvackert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suggestion: WordPress Option Namespacing &#124; WPLover</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-170827</link>
		<dc:creator>Suggestion: WordPress Option Namespacing &#124; WPLover</dc:creator>
		<pubDate>Wed, 12 May 2010 00:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-170827</guid>
		<description>[...] Suggestion: WordPress Option Namespacing [...]</description>
		<content:encoded><![CDATA[<p>[...] Suggestion: WordPress Option Namespacing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: In WordPress, prefix everything &#124; Andrew Nacin</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-170815</link>
		<dc:creator>In WordPress, prefix everything &#124; Andrew Nacin</dc:creator>
		<pubDate>Tue, 11 May 2010 17:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-170815</guid>
		<description>[...] In the comments, Dougal also brought up namespacing options (and a related proposal). Though I neglected it in my laundry list, that is also very important. Same goes for transients, [...]</description>
		<content:encoded><![CDATA[<p>[...] In the comments, Dougal also brought up namespacing options (and a related proposal). Though I neglected it in my laundry list, that is also very important. Same goes for transients, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arena</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169446</link>
		<dc:creator>arena</dc:creator>
		<pubDate>Fri, 18 Dec 2009 08:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169446</guid>
		<description>separator &#039;:&#039; not supported  for meta tables !</description>
		<content:encoded><![CDATA[<p>separator &#8216;:&#8217; not supported  for meta tables !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L’hebdo WordPress : extensions, twitter, bbpress</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169330</link>
		<dc:creator>L’hebdo WordPress : extensions, twitter, bbpress</dc:creator>
		<pubDate>Wed, 16 Dec 2009 05:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169330</guid>
		<description>[...] Dougal Campbell qui pose la question. Il s&#8217;est en effet aperçu que les bases de données de WordPress peuvent vite devenir un [...]</description>
		<content:encoded><![CDATA[<p>[...] Dougal Campbell qui pose la question. Il s&#8217;est en effet aperçu que les bases de données de WordPress peuvent vite devenir un [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169273</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 11 Dec 2009 17:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169273</guid>
		<description>I certainly think this is something that should be in core. It should be straightforward to write up a basic patch for this that would handle un-namespaced options gracefully.</description>
		<content:encoded><![CDATA[<p>I certainly think this is something that should be in core. It should be straightforward to write up a basic patch for this that would handle un-namespaced options gracefully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169271</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Fri, 11 Dec 2009 15:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169271</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by Dougal Campbell: New Blog Post: Suggestion: WordPress Option Namespacing http://bit.ly/5RZyZp #wordpress...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by Dougal Campbell: New Blog Post: Suggestion: WordPress Option Namespacing <a href="http://bit.ly/5RZyZp" rel="nofollow">http://bit.ly/5RZyZp</a> #wordpress&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Williams</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169270</link>
		<dc:creator>Brad Williams</dc:creator>
		<pubDate>Fri, 11 Dec 2009 15:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169270</guid>
		<description>I think this is a great idea!  Wouldn&#039;t it be possible to handle this update on the WordPress side when saving options?  Meaning the suggested option prefix value would be generated based on where/how the option is created.  That way there wouldn&#039;t be an extra step for developers and it would all be consistent.

This could also be hooked into the uninstall system so maybe we can create a new function that automatically clears all plugin options based off of the plugin calling it during uninstall?</description>
		<content:encoded><![CDATA[<p>I think this is a great idea!  Wouldn&#8217;t it be possible to handle this update on the WordPress side when saving options?  Meaning the suggested option prefix value would be generated based on where/how the option is created.  That way there wouldn&#8217;t be an extra step for developers and it would all be consistent.</p>
<p>This could also be hooked into the uninstall system so maybe we can create a new function that automatically clears all plugin options based off of the plugin calling it during uninstall?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Mullins</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169266</link>
		<dc:creator>Evan Mullins</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169266</guid>
		<description>Great idea Dougal. This would def help knowing where things come from in the database.</description>
		<content:encoded><![CDATA[<p>Great idea Dougal. This would def help knowing where things come from in the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Rider</title>
		<link>http://dougal.gunters.org/blog/2009/12/10/wordpress-option-namespacing/#comment-169264</link>
		<dc:creator>Stephen Rider</dc:creator>
		<pubDate>Thu, 10 Dec 2009 18:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://dougal.gunters.org/?p=1692#comment-169264</guid>
		<description>Well, you&#039;ve obviously seen my article, ;-) so you already know I do similar already.  My thoughts:

1) starting the name with &quot;plugin&quot; or &quot;theme&quot; is a good idea.

2) You&#039;re idea makes a big assumption -- that all plugins are coming from the WP repository.  Personally, for the second part of the option name I use the name of the folder containing my plugin -- which also pretty much precludes two plugins using the same term

3) Beyond that we&#039;re quite similar.  I do it this way: &quot;plugin_slug_settings&quot;

4) I would not try to *force* people to follow a scheme.  This is more a case of education (so thanks for linking to my article ;-) )  &quot;You can lead a horse to water....&quot; applies to code.

5) Not sure why it&#039;s necessary for Core.  If it had been done from the beginning it might have been a good idea, but at this point changing all the options names would break practically every plugin in existence.  Not worth the doing.  (I guess you could do some code workaround, e.g. &quot;if option doesn&#039;t exist, add core_wp_ to the beginning and look again&quot; but again -- is it worth it?)</description>
		<content:encoded><![CDATA[<p>Well, you&#8217;ve obviously seen my article, <img src='http://dougal.gunters.org/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  so you already know I do similar already.  My thoughts:</p>
<p>1) starting the name with &#8220;plugin&#8221; or &#8220;theme&#8221; is a good idea.</p>
<p>2) You&#8217;re idea makes a big assumption &#8212; that all plugins are coming from the <acronym title='WordPress'><span class='caps'>WP</span></acronym> repository.  Personally, for the second part of the option name I use the name of the folder containing my plugin &#8212; which also pretty much precludes two plugins using the same term</p>
<p>3) Beyond that we&#8217;re quite similar.  I do it this way: &#8220;plugin_slug_settings&#8221;</p>
<p>4) I would not try to *force* people to follow a scheme.  This is more a case of education (so thanks for linking to my article <img src='http://dougal.gunters.org/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )  &#8220;You can lead a horse to water&#8230;.&#8221; applies to code.</p>
<p>5) Not sure why it&#8217;s necessary for Core.  If it had been done from the beginning it might have been a good idea, but at this point changing all the options names would break practically every plugin in existence.  Not worth the doing.  (I guess you could do some code workaround, e.g. &#8220;if option doesn&#8217;t exist, add core_wp_ to the beginning and look again&#8221; but again &#8212; is it worth it?)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: dougal.gunters.org @ 2012-02-12 00:22:05 by W3 Total Cache -->
