<?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: Data portability and data serialization in WordPress</title>
	<atom:link href="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=data-portability-and-data-serialization-in-wordpress</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Mon, 13 May 2013 05:01:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Cory</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-214121</link>
		<dc:creator>Cory</dc:creator>
		<pubDate>Wed, 13 Feb 2013 23:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-214121</guid>
		<description><![CDATA[Hi Miriam,

Thanks for the detailed write-up on this topic!   

I authored a plugin called WordPress Duplicator (http://wordpress.org/extend/plugins/duplicator/) and many times I have to educate users on the complexities of PHP serialization and its usually painful...  

I stumbled across your article after looking for something to point user at as I was getting tired of trying to explain the subject.   Kudos as this is exactly what I was looking for...   

Trying to explain to users why a simple move is more complex than just moving files and a database is difficult when this topic enters the conversation.  I&#039;m just going to point them to this article :)

Thxs much!!]]></description>
		<content:encoded><![CDATA[<p>Hi Miriam,</p>
<p>Thanks for the detailed write-up on this topic!   </p>
<p>I authored a plugin called WordPress Duplicator (<a href="http://wordpress.org/extend/plugins/duplicator/" rel="nofollow">http://wordpress.org/extend/plugins/duplicator/</a>) and many times I have to educate users on the complexities of PHP serialization and its usually painful&#8230;  </p>
<p>I stumbled across your article after looking for something to point user at as I was getting tired of trying to explain the subject.   Kudos as this is exactly what I was looking for&#8230;   </p>
<p>Trying to explain to users why a simple move is more complex than just moving files and a database is difficult when this topic enters the conversation.  I&#8217;m just going to point them to this article <img src='http://wpgarage.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thxs much!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Data Serialization, WordPress, and my new best friend &#124; WP Garage</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63803</link>
		<dc:creator>Data Serialization, WordPress, and my new best friend &#124; WP Garage</dc:creator>
		<pubDate>Thu, 03 May 2012 13:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63803</guid>
		<description><![CDATA[[...] my new best friend    Rebecca Markowitz &#124; May 3, 2012 &#124; 0 Comments  Recently, Miriam wrote about Data Serialization and what a pain in the tuchus(tush/bottom) it can be to migrate a site that has seralized links in [...]]]></description>
		<content:encoded><![CDATA[<p>[...] my new best friend    Rebecca Markowitz | May 3, 2012 | 0 Comments  Recently, Miriam wrote about Data Serialization and what a pain in the tuchus(tush/bottom) it can be to migrate a site that has seralized links in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Hellyer</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63780</link>
		<dc:creator>Ryan Hellyer</dc:creator>
		<pubDate>Sat, 21 Apr 2012 19:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63780</guid>
		<description><![CDATA[The need to serialize data in WordPress is too ingrained to be stopped. Avoiding serialization now would be very problematic IMHO.

I don&#039;t think the negatives are very great either. I can&#039;t even think of any situations in which data portability would become a problem. I assumed people would be more concerned about performance and inability to query across specific bits of data.]]></description>
		<content:encoded><![CDATA[<p>The need to serialize data in WordPress is too ingrained to be stopped. Avoiding serialization now would be very problematic IMHO.</p>
<p>I don&#8217;t think the negatives are very great either. I can&#8217;t even think of any situations in which data portability would become a problem. I assumed people would be more concerned about performance and inability to query across specific bits of data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Hellyer</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63779</link>
		<dc:creator>Ryan Hellyer</dc:creator>
		<pubDate>Sat, 21 Apr 2012 19:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63779</guid>
		<description><![CDATA[I think that depends on what you are searching and replacing. Basic things like URLs should be fine I imagine.]]></description>
		<content:encoded><![CDATA[<p>I think that depends on what you are searching and replacing. Basic things like URLs should be fine I imagine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HuangYeWuDeng</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63729</link>
		<dc:creator>HuangYeWuDeng</dc:creator>
		<pubDate>Sun, 15 Apr 2012 09:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63729</guid>
		<description><![CDATA[It seems that data saved in your blog database was not in UNICDOE collection .My nick name just became ???? on your blog.
I&#039;ve repost this article on my blog and put a link to your post.I hope this would be permitted.]]></description>
		<content:encoded><![CDATA[<p>It seems that data saved in your blog database was not in UNICDOE collection .My nick name just became ???? on your blog.<br />
I&#8217;ve repost this article on my blog and put a link to your post.I hope this would be permitted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ????</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63728</link>
		<dc:creator>????</dc:creator>
		<pubDate>Sun, 15 Apr 2012 09:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63728</guid>
		<description><![CDATA[great aritcle. I am a wordpress user for many years ,and I found that it&#039;s impossible for a wordpresss blog to miagrate to another blog system without any data loose.]]></description>
		<content:encoded><![CDATA[<p>great aritcle. I am a wordpress user for many years ,and I found that it&#8217;s impossible for a wordpresss blog to miagrate to another blog system without any data loose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63726</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Fri, 13 Apr 2012 19:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63726</guid>
		<description><![CDATA[BTW, AFAIK, PHP is actually pretty resilient when it comes to changing the string lengths in serialized data. In actual usage, I think it will deserialize fine, even when the string length given doesn&#039;t match the actual string. I have not tried a test yet, though.
 ]]></description>
		<content:encoded><![CDATA[<p>BTW, AFAIK, PHP is actually pretty resilient when it comes to changing the string lengths in serialized data. In actual usage, I think it will deserialize fine, even when the string length given doesn&#8217;t match the actual string. I have not tried a test yet, though.<br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63725</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Fri, 13 Apr 2012 19:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63725</guid>
		<description><![CDATA[In &lt;em&gt;most&lt;/em&gt; cases, the auto serialization/deserialization of options doesn&#039;t matter much. If a plugin (or theme) has a good reason to need to store &lt;strong&gt;lots&lt;/strong&gt; of data and select subsets of it, they should use separate table entries (with an identifiable prefix on the keys), or store the data in a different table.

Calling serialized data in the database a &quot;serious problem&quot; is kind of overstating things. If the problem is data portability when changing domain names, that&#039;s just not a use-case worth optimizing for, because 99.9% of sites will not change their domain. If the problem is efficiency of selecting just certain portions of the data, it&#039;s up to the developer to know when to switch from serialized values to separate values.
 ]]></description>
		<content:encoded><![CDATA[<p>In <em>most</em> cases, the auto serialization/deserialization of options doesn&#8217;t matter much. If a plugin (or theme) has a good reason to need to store <strong>lots</strong> of data and select subsets of it, they should use separate table entries (with an identifiable prefix on the keys), or store the data in a different table.</p>
<p>Calling serialized data in the database a &#8220;serious problem&#8221; is kind of overstating things. If the problem is data portability when changing domain names, that&#8217;s just not a use-case worth optimizing for, because 99.9% of sites will not change their domain. If the problem is efficiency of selecting just certain portions of the data, it&#8217;s up to the developer to know when to switch from serialized values to separate values.<br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63724</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Fri, 13 Apr 2012 19:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63724</guid>
		<description><![CDATA[Post meta is one of the places where it really doesn&#039;t make much sense to serialize. One of the quirks of the post meta functions (which is sometimes a feature), is that you can store multiple entries, but with the same key. Then you can get all the values back as an array with just one get_post_meta() call. This can sometimes be useful. :)

The reason it&#039;s done that way is that at the time I added the post meta functions to WP, the maybe_serialize() and maybe_unserialize() functions used by the options system weren&#039;t in place yet. 
 ]]></description>
		<content:encoded><![CDATA[<p>Post meta is one of the places where it really doesn&#8217;t make much sense to serialize. One of the quirks of the post meta functions (which is sometimes a feature), is that you can store multiple entries, but with the same key. Then you can get all the values back as an array with just one get_post_meta() call. This can sometimes be useful. <img src='http://wpgarage.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The reason it&#8217;s done that way is that at the time I added the post meta functions to WP, the maybe_serialize() and maybe_unserialize() functions used by the options system weren&#8217;t in place yet.<br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amaury</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63717</link>
		<dc:creator>Amaury</dc:creator>
		<pubDate>Thu, 12 Apr 2012 15:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://wpgarage.com/?p=1276#comment-63717</guid>
		<description><![CDATA[For move/rename a WordPress network and manage seralized datas, i share a tools on github :
&lt;a href=&quot;https://raw.github.com/herewithme/wordpress-cli-tools/master/move-wordpress-ms.php&quot; rel=&quot;nofollow&quot;&gt;https://raw.github.com/herewithme/wordpress-cli-tools/master/move-wordpress-ms.php&lt;/a&gt; 

Try it ;) ]]></description>
		<content:encoded><![CDATA[<p>For move/rename a WordPress network and manage seralized datas, i share a tools on github :<br />
<a href="https://raw.github.com/herewithme/wordpress-cli-tools/master/move-wordpress-ms.php" rel="nofollow">https://raw.github.com/herewithme/wordpress-cli-tools/master/move-wordpress-ms.php</a> </p>
<p>Try it <img src='http://wpgarage.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
</channel>
</rss>
