<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Clientcide (Formerly CNET's Clientside) &#187; Code Snippets</title>
	<atom:link href="http://www.clientcide.com/category/code-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clientcide.com</link>
	<description>Making stuff work on the other side of the request.</description>
	<lastBuildDate>Fri, 06 Jan 2012 17:03:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A MooTools Code Riddle For You</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/</link>
		<comments>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 23:52:43 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[MooTools]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=759</guid>
		<description><![CDATA[IMing w/ Valerio today and he shares this method with me, and I swear it&#8217;s a damned riddle. If I were in a maze with a minotaur and had to tell you what this code does or die, I might very well die. I did manage to figure it out, but it took me a [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>For your consideration: $type methods</title>
		<link>http://www.clientcide.com/3rd-party-libraries/for-your-consideration-type-methods/</link>
		<comments>http://www.clientcide.com/3rd-party-libraries/for-your-consideration-type-methods/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 18:44:30 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[3rd Party Libraries]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Optimization]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=728</guid>
		<description><![CDATA[I don&#8217;t know why, but I find myself annoyed very slightly by having to type this often:
if ($type(&#039;foo&#039;) == &#039;string&#039;) ...
On a lark, I whipped this up:
$type.types = [&#039;string&#039;, &#039;element&#039;, &#039;textnode&#039;, &#039;whitespace&#039;, &#039;arguments&#039;,
	 &#039;array&#039;, &#039;object&#039;, &#039;string&#039;, &#039;number&#039;, &#039;date&#039;, &#039;boolean&#039;,
	 &#039;function&#039;, &#039;regexp&#039;, &#039;class&#039;, &#039;collection&#039;, &#039;window&#039;,
	 &#039;document&#039;].map(function(type){
	$type[type] = function(val) {
		return $type(val) == type;
	};
	return type;
});
This provides the ability [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/3rd-party-libraries/for-your-consideration-type-methods/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Link Nudging</title>
		<link>http://www.clientcide.com/code-snippets/visual-effects/link-nudging/</link>
		<comments>http://www.clientcide.com/code-snippets/visual-effects/link-nudging/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 17:59:06 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Visual Effects]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=583</guid>
		<description><![CDATA[David Walsh has a nice little effect featured in the footer of his blog. He writes of it:
Link nudging is the process of adjusting the padding on a link slightly to show a simple, tasteful “jump” when you place your mouse over a link. The effect is magnified when mousing on and off a link [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/visual-effects/link-nudging/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Plugin: Request.Queue</title>
		<link>http://www.clientcide.com/code-snippets/ajax/new-plugin-requestqueue/</link>
		<comments>http://www.clientcide.com/code-snippets/ajax/new-plugin-requestqueue/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 01:20:10 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Code Releases]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=546</guid>
		<description><![CDATA[The MooTools Request class gives us the option to link together requests so that with a single instance of the class, if you&#8217;ve got a request that&#8217;s running you can &#8217;stack up&#8217; any new send requests so that they occur one after the other.
This is convenient, but what if you have numerous instances of Request [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/ajax/new-plugin-requestqueue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Element shortcuts for Waiter</title>
		<link>http://www.clientcide.com/code-snippets/manipulating-the-dom/element-shortcuts-for-waiter/</link>
		<comments>http://www.clientcide.com/code-snippets/manipulating-the-dom/element-shortcuts-for-waiter/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 00:53:02 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Code Releases]]></category>
		<category><![CDATA[Manipulating the Dom]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=533</guid>
		<description><![CDATA[For those of you who haven&#8217;t seen my Waiter class, it basically automates the creating of an ajax spinner on a DOM element that&#8217;s being updated by an ajax request (or some other process). It&#8217;s integrated into Request.HTML so you can enable it with a simple option (useWaiter:true), but occasionally I want to use it [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/manipulating-the-dom/element-shortcuts-for-waiter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Clientcide: How do you randomize your header?</title>
		<link>http://www.clientcide.com/code-snippets/manipulating-the-dom/ask-clientcide-how-do-you-randomize-your-header/</link>
		<comments>http://www.clientcide.com/code-snippets/manipulating-the-dom/ask-clientcide-how-do-you-randomize-your-header/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 19:25:47 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[Manipulating the Dom]]></category>
		<category><![CDATA[Your Questions]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=521</guid>
		<description><![CDATA[I get a lot of emails from people. Sometimes it&#8217;s a charitable soul sending me a bug report (via google code) and, sometimes, an even more charitable soul sending me bug fixes (these are my favorite types of people). Then there&#8217;s the Clientcide google group, which is where I prefer questions about my code go [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/manipulating-the-dom/ask-clientcide-how-do-you-randomize-your-header/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Preventing Ajax Request Caching in MooTools &#8211; introducing Request.NoCache</title>
		<link>http://www.clientcide.com/code-snippets/ajax/preventing-ajax-request-caching-in-mootools-introducing-requestnocache/</link>
		<comments>http://www.clientcide.com/code-snippets/ajax/preventing-ajax-request-caching-in-mootools-introducing-requestnocache/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 22:49:07 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Code Releases]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=506</guid>
		<description><![CDATA[Ajax requests are, generally speaking, used to update the document or meant to send and fetch new data to and from the server. In Ajax heavy apps, you might end up sending the same request on numerous occasions and not always expect the server to respond with the same results.
This can cause problems with caching. [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/ajax/preventing-ajax-request-caching-in-mootools-introducing-requestnocache/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Class::Binds Mutator</title>
		<link>http://www.clientcide.com/best-practices/organizing-code/classbinds-mutator/</link>
		<comments>http://www.clientcide.com/best-practices/organizing-code/classbinds-mutator/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 16:32:45 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://clientside.cnet.com/best-practices/organizing-code/classbinds-mutator/</guid>
		<description><![CDATA[Jan Kassens, a MooTools contributor, has posted a nifty little trick to help you automatically bind methods to a class. Usually when we reference a method of a class when adding an event, we bind &#8220;this&#8221; to it to keep our reference to the class (this.addEvent(&#8216;onComplete&#8217;, this.complete.bind(this))). This is great until we want to remove [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/organizing-code/classbinds-mutator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CiUI Dev on Google Code</title>
		<link>http://www.clientcide.com/best-practices/ciui-dev-on-google-code/</link>
		<comments>http://www.clientcide.com/best-practices/ciui-dev-on-google-code/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 17:59:13 +0000</pubDate>
		<dc:creator>Vladimir Olexa</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[CNET JS Standards]]></category>
		<category><![CDATA[Organizing Code]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://clientside.cnet.com/uncategorized/ciui-dev-on-google-code/</guid>
		<description><![CDATA[I&#8217;ve created a new development repository on Google Code. I wanted to have a separate development environment for people to work on the library without having to work off of the entire CNET Javascript framework repository. I&#8217;ll be posting CiUI-only releases there before merging them with Clientside&#8217;s repository.
You can also file CiUI specific bugs and [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/ciui-dev-on-google-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MochaUI &#8211; The future of StickyWin?</title>
		<link>http://www.clientcide.com/code-snippets/visual-effects/mochaui-the-future-of-stickywin/</link>
		<comments>http://www.clientcide.com/code-snippets/visual-effects/mochaui-the-future-of-stickywin/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 00:13:31 +0000</pubDate>
		<dc:creator>Andy L.</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Visual Effects]]></category>

		<guid isPermaLink="false">http://clientside.cnet.com/uncategorized/mochaui-the-future-of-stickywin/</guid>
		<description><![CDATA[Ajaxian today posted about Greg Houston&#8217;s MooTools-based MochaUI class that draws draggable, resizable, rounded-corner and dropshadowed boxes without using images. It uses canvas tags and Google&#8217;s ExplorerCanvas. Looks like Greg didn&#8217;t take advantage yet of Olmo Maldonado&#8217;s MooCanvas, but maybe he&#8217;ll upgrade. His demo works well across browsers and platforms (with a small bug in [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/code-snippets/visual-effects/mochaui-the-future-of-stickywin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

