<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Serialize and Unserialize SimpleXML in php</title>
	<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/</link>
	<description>Making a better life for web developer since 2006</description>
	<pubDate>Mon, 13 Oct 2008 12:22:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: Glen Z.</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-1193</link>
		<dc:creator>Glen Z.</dc:creator>
		<pubDate>Sun, 27 Jan 2008 03:53:47 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-1193</guid>
		<description>This method kind of defeats the purpose (almost) of serialize and unserialize just because it basically writes the whole xml file out. A better solution would be to utilize json encoding and decoding in php. For example:

$xml = json_encode(simplexml_load_file($url));

this can encode a fairly large XML file say 30k and encode it into only 5k. So pulling the xml in json format and using json_decode() to re-translate it executes quickly.</description>
		<content:encoded><![CDATA[<p>This method kind of defeats the purpose (almost) of serialize and unserialize just because it basically writes the whole xml file out. A better solution would be to utilize json encoding and decoding in php. For example:</p>
<p>$xml = json_encode(simplexml_load_file($url));</p>
<p>this can encode a fairly large XML file say 30k and encode it into only 5k. So pulling the xml in json format and using json_decode() to re-translate it executes quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-103</link>
		<dc:creator>All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</dc:creator>
		<pubDate>Mon, 01 Oct 2007 12:24:04 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-103</guid>
		<description>[...] Make me pulse &#187; Blog Archive &#187; Serialize and Unserialize SimpleXML in php [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Make me pulse &raquo; Blog Archive &raquo; Serialize and Unserialize SimpleXML in php [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-102</link>
		<dc:creator>All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</dc:creator>
		<pubDate>Mon, 01 Oct 2007 12:23:49 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-102</guid>
		<description>[...] Serialize and Unserialize SimpleXML in php [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Serialize and Unserialize SimpleXML in php [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developercast.com &#187; Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-98</link>
		<dc:creator>developercast.com &#187; Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php</dc:creator>
		<pubDate>Fri, 28 Sep 2007 15:26:55 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-98</guid>
		<description>[...] the &#8220;Make Me Pulse&#8221; blog (of Nicolas Rajabaly &#38; Antoine Ughetto) there&#8217;s a quick example of how to use serialized values with SimpleXML:   Serialize is useful for storing or passing PHP [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] the &#8220;Make Me Pulse&#8221; blog (of Nicolas Rajabaly &amp; Antoine Ughetto) there&#8217;s a quick example of how to use serialized values with SimpleXML:   Serialize is useful for storing or passing PHP [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPDeveloper.org</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-97</link>
		<dc:creator>PHPDeveloper.org</dc:creator>
		<pubDate>Fri, 28 Sep 2007 13:20:02 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-97</guid>
		<description>&lt;strong&gt;Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php...&lt;/strong&gt;

...&lt;a href="http://www.phpdeveloper.org/news/8747" rel="nofollow"&gt;http://www.phpdeveloper.org/news/8747&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><strong>Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php&#8230;</strong></p>
<p>&#8230;<a href="http://www.phpdeveloper.org/news/8747" rel="nofollow">http://www.phpdeveloper.org/news/8747</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine Ughetto</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-95</link>
		<dc:creator>Antoine Ughetto</dc:creator>
		<pubDate>Fri, 28 Sep 2007 08:45:53 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-95</guid>
		<description>henrick &gt; Yes of course. That returns to same. In fact I found this solution to answer a problem which I had in a cache system with data serialized. I thus needed a “common” method for all. But indeed, it writes an XML…

Trophaeum &gt; Thanks for the tips</description>
		<content:encoded><![CDATA[<p>henrick > Yes of course. That returns to same. In fact I found this solution to answer a problem which I had in a cache system with data serialized. I thus needed a “common” method for all. But indeed, it writes an XML…</p>
<p>Trophaeum > Thanks for the tips</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trophaeum</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-94</link>
		<dc:creator>Trophaeum</dc:creator>
		<pubDate>Fri, 28 Sep 2007 03:04:20 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-94</guid>
		<description>Better way is to implement your own sleep and wake magic methods and then serialize() and unserialize() work as intended, Propel is having the same issue with php's DateTime object, we are having to hack a PropelDateTime object that extends DateTime to add the sleep and wake magic methods... lame that internal php objects can't be serialized!</description>
		<content:encoded><![CDATA[<p>Better way is to implement your own sleep and wake magic methods and then serialize() and unserialize() work as intended, Propel is having the same issue with php&#8217;s DateTime object, we are having to hack a PropelDateTime object that extends DateTime to add the sleep and wake magic methods&#8230; lame that internal php objects can&#8217;t be serialized!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kenrick</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-93</link>
		<dc:creator>kenrick</dc:creator>
		<pubDate>Thu, 27 Sep 2007 23:44:50 +0000</pubDate>
		<guid>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-93</guid>
		<description>why not just write out an xml file?</description>
		<content:encoded><![CDATA[<p>why not just write out an xml file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
