<?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; Organizing Code</title>
	<atom:link href="http://www.clientcide.com/category/best-practices/organizing-code/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 Portable MooTools Development Environment</title>
		<link>http://www.clientcide.com/best-practices/organizing-code/a-portable-mootools-development-environment/</link>
		<comments>http://www.clientcide.com/best-practices/organizing-code/a-portable-mootools-development-environment/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 19:11:49 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=1047</guid>
		<description><![CDATA[The actual process of developing MooTools itself isn&#8217;t trivial. It&#8217;s not rocket science, but maybe there is a little alchemy involved. For instance, let&#8217;s say you want to fix a bug in MooTools More. You fork the library and make the change to fix the bug and now you want to test it. You need [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/organizing-code/a-portable-mootools-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Talk at JSConf: Programming to Patterns</title>
		<link>http://www.clientcide.com/best-practices/my-talk-at-jsconf-programming-to-patterns/</link>
		<comments>http://www.clientcide.com/best-practices/my-talk-at-jsconf-programming-to-patterns/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 16:02:05 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=1012</guid>
		<description><![CDATA[A few years ago I wrote a post after visiting the Ajax Experience about Programming to Patterns. The JSConf team was nice enough to bring me out to DC to give a talk, which you can watch below, and you can get the slides in PDF or Keynote format here.

]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/my-talk-at-jsconf-programming-to-patterns/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Singletons and Event Arbiters</title>
		<link>http://www.clientcide.com/best-practices/singletons-and-event-arbiters/</link>
		<comments>http://www.clientcide.com/best-practices/singletons-and-event-arbiters/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 21:21:49 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Organizing Code]]></category>
		<category><![CDATA[Your Questions]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=944</guid>
		<description><![CDATA[I got an email today asking about how I use singletons in my own development environment and I thought I&#8217;d post my response for anyone who might find it useful.
Here&#8217;s the question:
Whats the best way to define some
code, assign it to a global object and have it run all at once?
I use MooTools server-side quite [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/singletons-and-event-arbiters/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>The Programmer&#8217;s Delimma: When and How to Refactor your Codebase</title>
		<link>http://www.clientcide.com/best-practices/organizing-code/the-programmers-delima-when-and-how-to-refactor-your-codebase/</link>
		<comments>http://www.clientcide.com/best-practices/organizing-code/the-programmers-delima-when-and-how-to-refactor-your-codebase/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 18:31:50 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=697</guid>
		<description><![CDATA[I&#8217;m in the middle of a big overhaul of Iminta&#8217;s JavaScript. The site has mountains of JS and it&#8217;s a big effort. Today I got an email from someone who is struggling with their own refactor and they asked me for advice.
Anyway, here&#8217;s my dilemma. I have been working on all the code for
years, and [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/organizing-code/the-programmers-delima-when-and-how-to-refactor-your-codebase/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mooish Repository Template and an All-JsonP Showcase</title>
		<link>http://www.clientcide.com/3rd-party-libraries/mooish-repository-template-and-an-all-jsonp-showcase/</link>
		<comments>http://www.clientcide.com/3rd-party-libraries/mooish-repository-template-and-an-all-jsonp-showcase/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 21:18:27 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[3rd Party Libraries]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Organizing Code]]></category>
		<category><![CDATA[Server-side Integration]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=659</guid>
		<description><![CDATA[Ian Collins is apparently hooked on MooTools because he sure has been writing a whole heckuva lot of it. He emailed me a few days back about his site that is all dynamically built off Twitter, Flickr, and other sources using JsonP to fetch all the data. The entire experience is built in JavaScript. Looking [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/3rd-party-libraries/mooish-repository-template-and-an-all-jsonp-showcase/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Registry Class for Mootools</title>
		<link>http://www.clientcide.com/best-practices/organizing-code/a-registry-class-for-mootools/</link>
		<comments>http://www.clientcide.com/best-practices/organizing-code/a-registry-class-for-mootools/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 19:05:25 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Code Releases]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://www.clientcide.com/?p=573</guid>
		<description><![CDATA[Nathan White has posted over on his blog a nice bit of work. He&#8217;s released a registry class for MooTools that lets you do stuff like this:
var reg = new Registry();
reg.set(&#039;/Options/Default&#039;,{&#039;name&#039; : &#039;test&#039;, &#039;version&#039; : 1});
reg.set(&#039;/Options/Default/name&#039;, &#039;changed&#039;);
reg.set(&#039;/dynamically/creates/nested/objects&#039;, true);
reg.get(&#039;/Options/Default&#039;);
/* returns {  name : &#039;changed&#039;,  version : 1 } */
reg.get(&#039;/Options/Default/version&#039;); // returns 1
I have an [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/organizing-code/a-registry-class-for-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts on coding and new classes as a result&#8230;</title>
		<link>http://www.clientcide.com/best-practices/thoughts-on-coding-and-new-classes-as-a-result/</link>
		<comments>http://www.clientcide.com/best-practices/thoughts-on-coding-and-new-classes-as-a-result/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 01:07:56 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<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/?p=394</guid>
		<description><![CDATA[A short while back I was helping out a coworker who was working on a content management system with a very rich UI. In helping him work out some of the issues he was struggling with, I had one of those rare moments where I conceived  of a better way to write my own [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/thoughts-on-coding-and-new-classes-as-a-result/feed/</wfw:commentRss>
		<slash:comments>11</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>JavaScript Beautify</title>
		<link>http://www.clientcide.com/best-practices/organizing-code/javascript-beautify/</link>
		<comments>http://www.clientcide.com/best-practices/organizing-code/javascript-beautify/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 19:56:16 +0000</pubDate>
		<dc:creator>Aaron N.</dc:creator>
				<category><![CDATA[Organizing Code]]></category>

		<guid isPermaLink="false">http://clientside.cnet.com/best-practices/organizing-code/javascript-beautify/</guid>
		<description><![CDATA[On numerous occasions I&#8217;ve found myself with some javascript that&#8217;s been compressed or just poorly organized and before I could dig my hands into it I had to spend half an hour putting all the line breaks and tabs in place so I could make sense of it.
Less often is it the case that I [...]]]></description>
		<wfw:commentRss>http://www.clientcide.com/best-practices/organizing-code/javascript-beautify/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

