<?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: scbOptions Reference</title>
	<atom:link href="http://scribu.net/wordpress/scb-framework/scb-options.html/feed" rel="self" type="application/rss+xml" />
	<link>http://scribu.net/wordpress/scb-framework/scb-options.html</link>
	<description>Hello, this is where scribu geeks out</description>
	<lastBuildDate>Tue, 16 Mar 2010 16:01:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: scribu</title>
		<link>http://scribu.net/wordpress/scb-framework/scb-options.html#comment-3234</link>
		<dc:creator>scribu</dc:creator>
		<pubDate>Wed, 23 Dec 2009 18:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://scribu.net/?p=564#comment-3234</guid>
		<description>Hello and thanks for the 2 cents. :)

I agree that serialized arrays are not a panacea. In your case, I would go even further and suggest a custom table for storing such a large amount of data.</description>
		<content:encoded><![CDATA[<p>Hello and thanks for the 2 cents. <img src='http://scribu.net/wp/wp-content/plugins/ym_smilies/images/yahoo_smiley.gif' alt='&#58;&#41; ' class='wp-smiley' width='18' height='18' title='&#58;&#41; ' /></p>
<p>I agree that serialized arrays are not a panacea. In your case, I would go even further and suggest a custom table for storing such a large amount of data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://scribu.net/wordpress/scb-framework/scb-options.html#comment-3233</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Wed, 23 Dec 2009 18:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://scribu.net/?p=564#comment-3233</guid>
		<description>Hi, 
I just wanted to say nice work, but I have one comment on this option class you are suggesting.

On our development department, we have been experiencing issues with serialization of large arrays. One solution was using the Pear unserialize function.

Pulling this through to the way WP stores options (nothing wrong with it actually...on a small scale) it can cause errors sometimes.

An alternative on the other hand, can be that a certain plugin developer prefixes the plugins&#039; option names, for ex.

myplug_option1
myplug_option2
...

With one simple SQL query, you can fetch all the options your plugin would require ( WHERE option_name LIKE &#039;myplug_%&#039; ), and you can then &#039;maybe_unserialize()&#039; the values before returning them as regular options...

I use this technique in a personal ecommerce plugin to fetch a collection of over 100 options... which would otherwise result in a gigantic array of possible problem-values as decimals and sub-arrays.

Just my 2 cents.

Kind regards,

Kim</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I just wanted to say nice work, but I have one comment on this option class you are suggesting.</p>
<p>On our development department, we have been experiencing issues with serialization of large arrays. One solution was using the Pear unserialize function.</p>
<p>Pulling this through to the way WP stores options (nothing wrong with it actually&#8230;on a small scale) it can cause errors sometimes.</p>
<p>An alternative on the other hand, can be that a certain plugin developer prefixes the plugins&#8217; option names, for ex.</p>
<p>myplug_option1<br />
myplug_option2<br />
&#8230;</p>
<p>With one simple SQL query, you can fetch all the options your plugin would require ( WHERE option_name LIKE &#8216;myplug_%&#8217; ), and you can then &#8216;maybe_unserialize()&#8217; the values before returning them as regular options&#8230;</p>
<p>I use this technique in a personal ecommerce plugin to fetch a collection of over 100 options&#8230; which would otherwise result in a gigantic array of possible problem-values as decimals and sub-arrays.</p>
<p>Just my 2 cents.</p>
<p>Kind regards,</p>
<p>Kim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
