<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Introducing MooTools&#160;Cache</title> <atom:link href="http://davidwalsh.name/introducing-mootools-cache/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/introducing-mootools-cache</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 04:02:29 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Tom</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15056</link> <dc:creator>Tom</dc:creator> <pubDate>Wed, 06 Jan 2010 07:15:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15056</guid> <description>+2Nice class though. It&#039;s been so long since I even touched MooTools now after been an early advocate, with all my workplaces insisting on jQuery, it&#039;s nice to keep being reminded to check it out again by your blog.</description> <content:encoded><![CDATA[<p>+2</p><p>Nice class though. It&#8217;s been so long since I even touched MooTools now after been an early advocate, with all my workplaces insisting on jQuery, it&#8217;s nice to keep being reminded to check it out again by your blog.</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15049</link> <dc:creator>Alex</dc:creator> <pubDate>Tue, 05 Jan 2010 21:58:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15049</guid> <description>+1 for JSON encoding/decoding</description> <content:encoded><![CDATA[<p>+1 for JSON encoding/decoding</p> ]]></content:encoded> </item> <item><title>By: Sean McArthur</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15047</link> <dc:creator>Sean McArthur</dc:creator> <pubDate>Tue, 05 Jan 2010 20:52:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15047</guid> <description>You could protect() your private function, instead of keeping a comment about it being private.</description> <content:encoded><![CDATA[<p>You could protect() your private function, instead of keeping a comment about it being private.</p> ]]></content:encoded> </item> <item><title>By: Adriaan</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15045</link> <dc:creator>Adriaan</dc:creator> <pubDate>Tue, 05 Jan 2010 19:06:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15045</guid> <description>@Chris the Developer:  far less likely yes, but still possible...with JSON you&#039;re safe.</description> <content:encoded><![CDATA[<p>@Chris the Developer:  far less likely yes, but still possible&#8230;with JSON you&#8217;re safe.</p> ]]></content:encoded> </item> <item><title>By: Chris the Developer</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15043</link> <dc:creator>Chris the Developer</dc:creator> <pubDate>Tue, 05 Jan 2010 18:16:27 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15043</guid> <description>@Adriaan - why not use control characters as separators...? \c + \a make great separators, and they are far less likely to appear in a string...</description> <content:encoded><![CDATA[<p>@Adriaan &#8211; why not use control characters as separators&#8230;? \c + \a make great separators, and they are far less likely to appear in a string&#8230;</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15041</link> <dc:creator>David Walsh</dc:creator> <pubDate>Tue, 05 Jan 2010 16:41:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15041</guid> <description>@Adriaan:  Yep, that was where I was hoping I could get some feedback.  I think I&#039;ll try the JSON encode/decode.</description> <content:encoded><![CDATA[<p>@Adriaan:  Yep, that was where I was hoping I could get some feedback.  I think I&#8217;ll try the JSON encode/decode.</p> ]]></content:encoded> </item> <item><title>By: Adriaan</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15040</link> <dc:creator>Adriaan</dc:creator> <pubDate>Tue, 05 Jan 2010 16:37:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15040</guid> <description>The problem with string separators are that there&#039;s always a chance that they might actually occur in a value...which will then corrupt the data.</description> <content:encoded><![CDATA[<p>The problem with string separators are that there&#8217;s always a chance that they might actually occur in a value&#8230;which will then corrupt the data.</p> ]]></content:encoded> </item> <item><title>By: Chris the Developer</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15039</link> <dc:creator>Chris the Developer</dc:creator> <pubDate>Tue, 05 Jan 2010 16:21:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15039</guid> <description>Another argument for extending Hash.Cookie is that your class requires the developer to cache.save() whereas the values are saved immediately with Hash.Cookie...</description> <content:encoded><![CDATA[<p>Another argument for extending Hash.Cookie is that your class requires the developer to cache.save() whereas the values are saved immediately with Hash.Cookie&#8230;</p> ]]></content:encoded> </item> <item><title>By: thomasd</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15038</link> <dc:creator>thomasd</dc:creator> <pubDate>Tue, 05 Jan 2010 16:17:46 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15038</guid> <description>@David Walsh:  I see your point when saving the value as an object, but if you use JSON to save the value as an array, you even save some characters:
Example using your sep:
key:://::hello world:://::123456:://::60:://::myfuncExample using JSON to encode an array:
[&quot;key&quot;,&quot;hello world&quot;,123456,60,&quot;myfunc&quot;]And you still just need one function call (JSON.decode) to get an full functional JS-Array. And withJSON.decode(jsonified_string).associate([&quot;key&quot;, &quot;value&quot;, &quot;expires&quot;, &quot;duration&quot;, &quot;fn&quot;]);you have the full object back again, all without using the Hash-Native.</description> <content:encoded><![CDATA[<p>@David Walsh:  I see your point when saving the value as an object, but if you use JSON to save the value as an array, you even save some characters:<br
/> Example using your sep:<br
/> key:://::hello world:://::123456:://::60:://::myfunc</p><p>Example using JSON to encode an array:<br
/> ["key","hello world",123456,60,"myfunc"]</p><p>And you still just need one function call (JSON.decode) to get an full functional JS-Array. And with</p><p>JSON.decode(jsonified_string).associate(["key", "value", "expires", "duration", "fn"]);</p><p>you have the full object back again, all without using the Hash-Native.</p> ]]></content:encoded> </item> <item><title>By: Nickolas Simard</title><link>http://davidwalsh.name/introducing-mootools-cache#comment-15037</link> <dc:creator>Nickolas Simard</dc:creator> <pubDate>Tue, 05 Jan 2010 15:57:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4556#comment-15037</guid> <description>Interesting concept. It may even make cache and cookie managing easier... I wish I had more time to read the code entirely, but I shall do that later...Until then, keep up the good work.</description> <content:encoded><![CDATA[<p>Interesting concept. It may even make cache and cookie managing easier&#8230; I wish I had more time to read the code entirely, but I shall do that later&#8230;</p><p>Until then, keep up the good work.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/7 queries in 0.011 seconds using disk: basic
Object Caching 805/806 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 03:48:47 -->
