<?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>Aarron Walter &#187; Programming</title>
	<atom:link href="http://aarronwalter.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://aarronwalter.com</link>
	<description></description>
	<lastBuildDate>Fri, 11 Jun 2010 12:09:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Compressed Versions of Popular JavaScript Libraries</title>
		<link>http://aarronwalter.com/2007/02/01/compressed-versions-of-popular-javascript-libraries/</link>
		<comments>http://aarronwalter.com/2007/02/01/compressed-versions-of-popular-javascript-libraries/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 15:57:35 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools & Utilities]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2007/02/01/compressed-versions-of-popular-javascript-libraries/</guid>
		<description><![CDATA[I ran across a very useful collection of compressed versions of popular JavaScript libraries today, including Scriptaculous, and Prototype. The Prototype library compresses down from 70k to 30k, which is pretty impressive. I&#8217;m becoming more persuaded daily that MooTools is a better option, though, as it offers you the ability to pick and choose which [...]]]></description>
			<content:encoded><![CDATA[I ran across a very useful <a title="Compressed JavaScript Libraries" target="_blank" href="http://www.stevekallestad.com/wiki/Compressed_Javascript_Libraries">collection of compressed versions of popular  JavaScript libraries</a> today, including <a title="Scriptaculous JavaScript Library" target="_blank" href="http://script.aculo.us/">Scriptaculous</a>, and <a title="Prototype JavaScript Library" target="_blank" href="http://www.prototypejs.org/">Prototype</a>. The <a title="Prototype JavaScript Library" target="_blank" href="http://www.prototypejs.org/">Prototype</a> library compresses down from 70k to 30k, which is pretty impressive. I&#8217;m becoming more persuaded daily that <a title="MooTool JavaScript Library" href="http://mootools.net">MooTools</a> is a better option, though, as it offers you the ability to pick and choose which pieces of the library you wish to download, and offers compression on your custom built package resulting in vastly smaller file sizes than the <a title="Scriptaculous JavaScript Library" target="_blank" href="http://script.aculo.us/">Scriptaculous</a>/<a title="Prototype JavaScript Library" target="_blank" href="http://www.prototypejs.org/">Prototype</a> combo.

If you want to compress your own JavaScript or CSS, there are a host of utilities out there for just this task. See comments on <a target="_blank" title="JavaScript Compression Tools" href="http://photomatt.net/2005/05/29/javascript-compression/">this blog post</a> for a laundry list of options.]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2007/02/01/compressed-versions-of-popular-javascript-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ultimate JavaScript Tool Box</title>
		<link>http://aarronwalter.com/2006/11/06/the-ultimate-javascript-tool-box/</link>
		<comments>http://aarronwalter.com/2006/11/06/the-ultimate-javascript-tool-box/#comments</comments>
		<pubDate>Tue, 07 Nov 2006 01:43:59 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools & Utilities]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/11/06/the-ultimate-javascript-tool-box/</guid>
		<description><![CDATA[It occurred to me as I while helping some of my students with their Interactive Design projects that it would be really great to have a comprehensive list of the most useful JavaScript libraries and utilities that would make building advanced interfaces a snap. So here are my personal favorites. There are many more great [...]]]></description>
			<content:encoded><![CDATA[It occurred to me as I while helping some of my students with their Interactive Design projects that it would be really great to have a comprehensive list of the most useful JavaScript libraries and utilities that would make building advanced interfaces a snap. So here are my personal favorites. There are many more great libraries and tool out there I am not listing, either because I just overlooked them, or because I think there is a better alternative. If you feel I&#8217;ve missed something here, I&#8217;d love to hear your suggestions.
<h4>The Essentials</h4>
<ul>
	<li><a target="_blank" title="Prototype JavaScript Framework" href="http://www.google.com/url?sa=t&#038;ct=res&#038;cd=1&#038;url=http%3A%2F%2Fprototype.conio.net%2F&#038;ei=od5PRYbeEobSgAKusp2eBQ&#038;usg=__Y5tFnwkTigXGOGNTCaVW5NXjBFI=&#038;sig2=T5sBCQiYrhPQkNwxNzZWdQ">Prototype</a>: First on the list for good reason. It&#8217;s a staple library on which so many other libraries are built. Development utilities and nice Ajax handling</li>
	<li><a target="_blank" title="Scriptaculous JavaScript Effects Library" href="http://script.aculo.us">Scriptaculous</a>: Effects galore. A bit on the heavy side, but can be worth it for the right use. A piece of cake to use lots of powerful features.</li>
	<li><a target="_blank" title="Lightbox creates modal windows" href="http://www.huddletogether.com/projects/lightbox2/">Lightbox</a>: A simple way of presenting photos and HTML chunks in modal windows, dimming the background of the page.</li>
	<li><a target="_blank" title="Really Easy field Validation with Prototype" href="http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/">Really easy field validation with Prototype</a>: The name says it all</li>
	<li><a target="_blank" title="Tabifier: Create tabbed card stack interface" href="http://www.barelyfitz.com/projects/tabber/">Tabifier</a>: A JavaScript implementation of the  <a target="_blank" title="Jennifer Tidwell on teh card stack design pattern" href="http://time-tripper.com/uipatterns/Card_Stack">card stack design pattern</a>. Show and hide divs, packing a lot of information into a relatively small area with comfort.</li>
	<li><a target="_blank" title="Fade Anything Technique" href="http://www.axentric.com/aside/fat/">Fade Anything Technique</a>: Popularized by 37signals, a great way to tell users about errors or other critical feedback.</li>
	<li><a target="_blank" title="New Window Link From Maratz" href="http://webdesign.maratz.com/lab/new_window_link/">New Window Link</a>: A nice way to offer users the ability to launch a link in the same window, or spawn a new window.</li>
	<li><a target="_blank" title="Dustin Diaz's Sweet Titles" href="http://www.dustindiaz.com/sweet-titles">Sweet Titles</a>: A beautiful, souped up alternative to the plain ol&#8217; title attribute display.</li>
	<li><a target="_blank" title="SWF Object: Embedd SWFs in your HTML" href="http://blog.deconcept.com/swfobject/">SWFObject</a>: Detect the Flash player then embed a SWF in your page following web standards</li>
	<li><a target="_blank" title="Tiny MCE WYSIWYG Editor" href="http://tinymce.moxiecode.com/">Tiny MCE</a>: Turn any textarea into a <acronym title="What You See Is What You Get">WYSIWYG</acronym> editor. Perfect for your next <acronym title="Content Management System">CMS</acronym> or web app</li>
</ul>
<h4>The Runners Up</h4>
<ul>
	<li><a target="_blank" title="Yahoo! UI Library" href="http://developer.yahoo.com/yui/">Yahoo! UI Library</a>: Many handy utilities for some advanced interface design patterns like accordion menus.</li>
	<li><a target="_blank" title="Moo.fx effects library" href="http://moofx.mad4milk.net/">Moo.fx</a>: This may soon replace <a title="Scriptaculous JavaScript Effects Library" target="_blank" href="http://script.aculo.us">Scriptaculous</a> as the de facto effects library because of its slim file size, it just hasn&#8217;t quite caught up with the documentation yet.</li>
</ul>
<em>Did I miss any?</em>]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/11/06/the-ultimate-javascript-tool-box/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Extending the Ajax Mailing List Sign Up System</title>
		<link>http://aarronwalter.com/2006/11/06/extending-the-ajax-mailing-list-sign-up-system/</link>
		<comments>http://aarronwalter.com/2006/11/06/extending-the-ajax-mailing-list-sign-up-system/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 16:56:42 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/11/06/extending-the-ajax-mailing-list-sign-up-system/</guid>
		<description><![CDATA[A couple of my readers from my recent SitePoint article have asked me about how they could extend the Ajax mailing list sign up system to receive further inputs like the user&#8217;s name and phone number. It&#8217;s actually pretty simple. If you have additional fields in your form, just modify the parameters string in mailingList.js. [...]]]></description>
			<content:encoded><![CDATA[A couple of my readers from my recent <a target="_blank" title="Use Ajax and PHP to Build Your Mailing List" href="http://www.sitepoint.com/article/use-ajax-php-build-mailing-list">SitePoint article</a> have asked me about how they could extend the Ajax mailing list sign up system to receive further inputs like the user&#8217;s name and phone number. It&#8217;s actually pretty simple. If you have additional fields in your form, just modify the parameters string in <strong>mailingList.js</strong>. Here&#8217;s an example:

<code>var pars = 'address='+escape($F('address')) + '&#038;firstName='+escape($F('firstName')) + '&#038;lastName='+escape($F('lastName'))  + '&#038;phone='+escape($F('phone'));</code>

You can see that you can append as many or as few inputs from your form by just extending the GET string passed to the PHP script. Notice I&#8217;ve added the &#8220;&#038;&#8221; before the next parameter names as is required in any GET string with more than one variable included. Of course you would need to adjust your MySQL table to include these fields, and change <strong>storeAddress.php</strong> to receive the values as well.

<code> $address = $_GET['address'];
$firstName = $_GET['firstName'];
$lastName = $_GET['lastName'];
$phone = $_GET['phone'];
</code>

<code> $addresscheck = mysql_query("SELECT * FROM mailinglist WHERE email='" . $address . "', firstName='" . $firstName . " ', lastName='" . $lastName . "', phone=' . $phone . "' "); </code>

It&#8217;s also quite easy to modify this technique to work for things like contact forms, or user input in a <acronym title="Content Management System">CMS</acronym> by simply adjusting your form, and the references to the field names. The principles are still the same.

If you are interested in other useful Ajax tools, you may want to check out <a target="_blank" title="Dustin Diaz's Ajax Contact Form" href="http://www.dustindiaz.com/ajax-contact-updated/">Dustin Diaz&#8217;s Ajax contact form</a>. It&#8217;s pretty clever, and packed with nice effects, but seems to struggle to work in Opera. It&#8217;s a pretty sophisticated example of a contact form.

A word of caution, it&#8217;s pretty easy to get swept up by the allure and ease of implementation of many Ajax/DOM scripting tricks. Always ask yourself how it benefits or hurts the user experience.  If you find yourself adding features because they are cool, yet they negatively impact findability, accessibility, or cross-browser use then you probably should reconsider. James Edwards has written <a target="_blank" title="Ajax and Screenreaders" href="http://www.sitepoint.com/article/ajax-screenreaders-work">a sobering article about Ajax and screen readers</a> (lump search engine spiders in that group too as they are equally as blind) that may bring you back down to earth about the Ajax trend. I should also mention that my <a target="_blank" title="Use Ajax and PHP to Build Your Mailing List" href="http://www.sitepoint.com/article/use-ajax-php-build-mailing-list">article</a> is actually backwards compatible for those without JavaScript enabled, giving us the best of both worlds. The article also uses Ajax specifically to enhance the user-experience by making the impulse action of signing up for a mailing list faster and more convenient.]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/11/06/extending-the-ajax-mailing-list-sign-up-system/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SitePoint Article Forthcoming</title>
		<link>http://aarronwalter.com/2006/10/23/sitepoint-article-forthcoming/</link>
		<comments>http://aarronwalter.com/2006/10/23/sitepoint-article-forthcoming/#comments</comments>
		<pubDate>Mon, 23 Oct 2006 14:30:25 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/10/23/sitepoint-article-forthcoming/</guid>
		<description><![CDATA[I&#8217;ve recently written an article for SitePoint entitled &#8220;Use Ajax and PHP to Build Your Mailing List&#8221;. The article walks readers through the process of constructing a mailing list sign up widget that makes use of the Prototype JavaScript library to send an Ajax call to a PHP script, which then stores the email address [...]]]></description>
			<content:encoded><![CDATA[I&#8217;ve recently written an article for <a target="_blank" title="SitePoint" href="http://sitepoint.com">SitePoint</a> entitled <em>&#8220;Use Ajax and PHP to Build Your Mailing List&#8221;</em>. The article walks readers through the process of constructing a mailing list sign up widget that makes use of the <a target="_blank" title="Prototype JavaScript Library" href="http://prototype.conio.net/">Prototype JavaScript library</a> to send an Ajax call to a PHP script, which then stores the email address in a MySQL database. The result is a very quick, and painless mailing list sign up process requiring no page refreshing or redirects.

The article will be published later this week or next week, and will include a code archive with a completed version of the scripts.]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/10/23/sitepoint-article-forthcoming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 7 Release Coming Very Soon</title>
		<link>http://aarronwalter.com/2006/10/17/internet-explorer-7-release-coming-very-soon/</link>
		<comments>http://aarronwalter.com/2006/10/17/internet-explorer-7-release-coming-very-soon/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 12:28:26 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/10/17/internet-explorer-7-release-coming-very-soon/</guid>
		<description><![CDATA[Microsoft has announced on their IE blog that Internet Explorer 7 will be released before the end of the month, which means if you have not yet tested your sites in the new browser you&#8217;d better make a point of it soon. If you have been using CSS hacks, such as child selectors, to feed [...]]]></description>
			<content:encoded><![CDATA[<a target="_blank" title="Internet Explorer 7 to be released soon" href="http://blogs.msdn.com/ie/archive/2006/10/06/IE7-Is-Coming-This-Month_2E002E002E00_Are-you-Ready_3F00_.aspx">Microsoft has announced on their IE blog</a> that Internet Explorer 7 will be released before the end of the month, which means if you have not yet tested your sites in the new browser you&#8217;d better make a point of it soon. If you have been using CSS hacks, such as <a target="_blank" title="About Child Selectors" href="http://www.w3.org/TR/REC-CSS2/selector.html#child-selectors">child selectors</a>, to feed standards compliant browsers different style rules than IE6, <a target="_blank" title="IE7 and CSS hacks" href="http://blogs.msdn.com/ie/archive/2005/10/12/480242.aspx">IE7 will now understand those hacks</a> and may cause improper rendering of your pages. The best way to handle CSS specific to IE is with <a target="_blank" title="IE Conditional Comments" href="http://www.quirksmode.org/css/condcom.html">conditional comments</a>, not with the various hacks anymore.

A word of caution, installing IE7 will over-write your IE6 installation unless you install IE7 in standalone mode as is described <a target="_blank" title="IE7 stand alone" href="http://tredosoft.com/IE7_standalone">here</a>.]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/10/17/internet-explorer-7-release-coming-very-soon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Smooth Slideshow, an Elegant JavaScript Slideshow</title>
		<link>http://aarronwalter.com/2006/10/16/smooth-slideshow-an-elegant-javascript-slideshow/</link>
		<comments>http://aarronwalter.com/2006/10/16/smooth-slideshow-an-elegant-javascript-slideshow/#comments</comments>
		<pubDate>Mon, 16 Oct 2006 17:59:22 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools & Utilities]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/10/16/smooth-slideshow-an-elegant-javascript-slideshow/</guid>
		<description><![CDATA[Todd Dominey&#8217;s ever popular SlideShow Pro is a great Flash utility that many people use to display their photos on their sites, but Jonathan Schemoul has a nice JavaScript alternative called Smooth Slideshow. Smooth Slideshow uses the Mootools JavaScript library to create elegant cross fading, and passive or active navigation through photos. Mootools is similar [...]]]></description>
			<content:encoded><![CDATA[Todd Dominey&#8217;s ever popular <a target="_blank" title="Todd Dominey's SlideShow Pro" href="http://www.slideshowpro.net/">SlideShow Pro</a> is a great Flash utility that many people use to display their photos on their sites, but Jonathan Schemoul has a nice JavaScript alternative called <a target="_blank" title="Smooth Slideshow" href="http://smoothslideshow.jondesign.net/index.html">Smooth Slideshow</a>. Smooth Slideshow uses the <a target="_blank" title="Mootools JavaScript Library" href="http://mootools.net/">Mootools JavaScript library</a> to create elegant cross fading, and passive or active navigation through photos. Mootools is similar to <a title="Scriptaculous Web 2.0 Framework" target="_blank" href="http://script.aculo.us/">Scriptaculous</a>, but is allegedly a bit slimmer to cut down on download times.

I doubt Smooth Slideshow is going to dethrone SlideShow Pro as the king of slide show mechanisms (especially with the recent introduction of <a target="_blank" title="SlideShow Pro Director" href="http://www.slideshowpro.net/product_sspdir.php">SlideShow Pro Director</a>), but it&#8217;s nice to have an alternative. Speaking of slide show alternatives, you might also want to check out <a target="_blank" title="Mono SlideShow" href="http://www.monoslideshow.com/index.php">Mono Slideshow</a>, another flash slide show application with very similar features as SlideShow Pro.]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/10/16/smooth-slideshow-an-elegant-javascript-slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Articles for Budding Interactive Designers</title>
		<link>http://aarronwalter.com/2006/10/08/articles-for-budding-interactive-designers/</link>
		<comments>http://aarronwalter.com/2006/10/08/articles-for-budding-interactive-designers/#comments</comments>
		<pubDate>Sun, 08 Oct 2006 19:20:08 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[User Science]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/10/08/articles-for-budding-interactive-designers/</guid>
		<description><![CDATA[When getting started in the interactive design field you can find yourself a bit intimidated by the breadth of knowledge required to succeed. Design, programming, and user science are each multi-facited with much to learn and explore in each sub-discipline under the umbrella of interactive design. Here are a few great articles that can give [...]]]></description>
			<content:encoded><![CDATA[When getting started in the interactive design field you can find yourself a bit intimidated by the breadth of knowledge required to succeed. Design, programming, and user science are each multi-facited with much to learn and explore in each sub-discipline under the umbrella of interactive design. Here are a few great articles that can give you a head start on fundamentals free of charge! Don&#8217;t you just love this internet thing?
<div style="margin-left: 100px">
<h4>Design</h4>
<ul>
	<li><a target="_blank" title="Principles of Design" href="http://www.digital-web.com/articles/principles_of_design/">Principles of Design</a></li>
	<li><a target="_blank" title="A Web Design Review" href="http://www.digital-web.com/articles/principles_and_elements_of_design/">A Web Design Review</a></li>
	<li><a target="_blank" title="How CRAP is your design?" href="http://www.thinkvitamin.com/features/design/how-crap-is-your-site-design">How C.R.A.P is Your Design?</a></li>
	<li><a target="_blank" title="Design Psychology" href="http://stylegala.com/articles/design_psychology.htm">Design Psychology</a></li>
	<li><a target="_blank" title="Typography for the Web" href="http://ma.gnolia.com/groups/web-type/bookmarks">Typography for the Web</a> (A collection of articles and utilities)</li>
	<li><a title="Keeping a Sketchbook" target="_blank" href="http://www.jasonsantamaria.com/archive/2006/02/16/utl_2_keeping_a_sketchbook.php">Keeping a Sketchbook</a></li>
	<li><a title="Web Design Mockups in Photoshop" target="_blank" href="http://theundersigned.net/2006/05/webdesign-mockup-using-photoshop/">Web Design Mockups with Photoshop</a></li>
	<li><a target="_blank" title="Critiquing Design" href="http://www.jasonsantamaria.com/archive/2006/02/02/utl_2_critiquing.php">Critiquing Design</a></li>
</ul>
<h4>Programming</h4>
<ul>
	<li><a title="XHTML Rules" target="_blank" href="http://www.nypl.org/styleguide/xhtml/guidelines.html">Rules for Writing XHTML</a></li>
	<li><a target="_blank" title="Css Crib Sheet" href="http://mezzoblue.com/css/cribsheet/">CSS Crib Sheet</a></li>
	<li><a target="_blank" title="Introduction to PHP" href="http://us3.php.net/tut.php">Introduction to PHP</a></li>
	<li><a target="_blank" title="Ten CSS tricks you may not already know" href="http://www.webcredible.co.uk/user-friendly-resources/css/css-tricks.shtml">Ten CSS Tricks You May Not Already Know</a></li>
	<li><a target="_blank" href="http://www.digital-web.com/articles/css_101/">CSS 101</a></li>
	<li><a target="_blank" title="Writing Semantic Markup" href="http://www.digital-web.com/articles/writing_semantic_markup/">Writing Semantic Markup</a></li>
	<li><a target="_blank" title="The Dollars and Sense of Building with Web Standards" href="http://www.digital-web.com/articles/building_to_standards/">The Dollars and Sense of Building with Web Standards</a></li>
</ul>
<h4>User Science</h4>
<ul>
	<li><a title="Grey box Method" target="_blank" href="http://www.jasonsantamaria.com/archive/2004/05/24/grey_box_method.php">The Grey Box Method</a></li>
	<li><a target="_blank" title="User Interface Design Patterns" href="http://time-tripper.com/uipatterns/">User Interface Design Patterns</a></li>
	<li><a target="_blank" title="Find the Epicenter of Your Interface" href="http://www.37signals.com/svn/archives/000737.php">Find the Epicenter of Your Interface</a></li>
	<li><a target="_blank" title="The Psychology of Navigation" href="http://www.digital-web.com/articles/the_psychology_of_navigation/">The Psychology of Navigation</a></li>
</ul>
<h4>Interactive Design Ezines</h4>
<ul>
	<li><a target="_blank" title="A List Apart" href="http://www.alistapart.com/">A List Apart</a></li>
	<li><a target="_blank" title="Digital Web" href="http://www.digital-web.com">Digital Web</a></li>
	<li><a target="_blank" title="Site Point" href="http://www.sitepoint.com">Site Point</a></li>
	<li><a target="_blank" title="Boxes and Arrows" href="http://www.boxesandarrows.com/">Boxes and Arrows</a></li>
</ul>
</div>]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/10/08/articles-for-budding-interactive-designers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Handy Scripts for Building Web Sites</title>
		<link>http://aarronwalter.com/2006/09/28/handy-scripts-for-building-web-sites/</link>
		<comments>http://aarronwalter.com/2006/09/28/handy-scripts-for-building-web-sites/#comments</comments>
		<pubDate>Thu, 28 Sep 2006 13:08:08 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/09/28/handy-scripts-for-building-web-sites/</guid>
		<description><![CDATA[I have compiled a small collection of scripts that I have written or modified from other sources. There are lots of useful things like a working PHP shopping cart, a mailing list sign up widget that connects to Mail Chimp or your own database using Ajax, a PHP contact form with server-side validation, an RSS [...]]]></description>
			<content:encoded><![CDATA[<p>I have compiled a small <a title="Code Examples" href="http://www.aarronwalter.com/resources/code-examples.php">collection of scripts</a> that I have written or modified from other sources. There are lots of useful things like a working PHP shopping cart, a mailing list sign up widget that connects to <a title="Check Out Mail Chimp" target="_blank" href="http://mailchimp.com">Mail Chimp</a> or your own database using Ajax, a PHP contact form with server-side validation, an RSS parsing script, a <a title="Visit the Scriptaculous Web Site" target="_blank" href="http://script.aculo.us/">Scriptaculous</a> photo slideshow tool perfect for showing screen shots of your work, and a few others as well. All of these things have been useful to me, and I hope they do others some good as well. If you modify or make use of any of these tools I&#8217;d love it if you would <a title="Contact Me" href="http://aarronwalter.com/contact/">shoot me an email</a> with a URL so I can see what you have done.</p>
<p>While you are checking out the <a title="Code examples" href="http://aarronwalter.com/resources/code-examples.php">code examples</a> in the <a title="Resources for interactive designers" href="http://aarronwalter.com/resources/">resources section</a>, you may also want to check out my list of <a title="Design tools" href="http://aarronwalter.com/resources/design-tools.php">design tools</a>, recommended <a title="Check out the bookshelf for interactive designers" href="http://aarronwalter.com/resources/bookshelf.php">books for interactive designers</a>, and <a title="Interactive design links" href="http://aarronwalter.com/resources/links.php">links to various interactive design resources</a>.
</p>]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/09/28/handy-scripts-for-building-web-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High Tech Gift Exchange With PHP</title>
		<link>http://aarronwalter.com/2006/09/27/high-tech-gift-exchange-with-php/</link>
		<comments>http://aarronwalter.com/2006/09/27/high-tech-gift-exchange-with-php/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 14:54:55 +0000</pubDate>
		<dc:creator>Aarron</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aarronwalter.com/2006/09/27/high-tech-gift-exchange-with-php/</guid>
		<description><![CDATA[My family has a problem. Many of us live in different places across the US, and subsequently have a hard time honoring a long Christmas tradition of ours. Each year we draw names from a hat to determine who will be the recipient of our Christmas present. We started the tradition when I was just [...]]]></description>
			<content:encoded><![CDATA[<p>My family has a problem. Many of us live in different places across the US, and subsequently have a hard time honoring a long Christmas tradition of ours. Each year we draw names from a hat to determine who will be the recipient of our Christmas present. We started the tradition when I was just a kid because we didn&#8217;t have a lot of money to buy everyone a gift, but it has turned into our favorite part of Christmas. Everyone closely guards the secret of the name they have drawn, and there is often espionage involved to determine who might be buying you a gift.</p>
<p>Since we all live in different cities now, a physical hat drawing won&#8217;t suffice anymore. To solve the problem I wrote a little PHP script that does the random drawing for us, and emails everyone the name they have drawn, preserving the secret.</p>
<p>Take a look at the code <a title="Christmas Gift Exchange PHP Script" target="_blank" href="http://www.aarronwalter.com/wp-content/uploads/2006/09/gift-exchange.txt">here</a>.</p>
<p>The script creates two parallel arrays; one listing all gift exchange participant names, and the other listing their email address. Next, it runs a loop through the names array and generates a random number between 0 and the number of names, making the name selection. The trick is you should not be able to draw your own name or a name that has already been drawn. To prevent this, there is a while loop inside the name drawing loop that will redraw a name if the above criteria are not met (this was the trickiest part). Next you have to store the name drawn in an array that tracks who has already been selected so you don&#8217;t end up with someone getting more than one gift. Lastly, just send an email using the <a target="_blank" title="PHP Mailer Class" href="http://phpmailer.sourceforge.net/">PHP Mailer class</a> to the person telling them what name they have drawn.</p>
<p>It works like a charm, and lets our family tradition continue for years to come!
</p>]]></content:encoded>
			<wfw:commentRss>http://aarronwalter.com/2006/09/27/high-tech-gift-exchange-with-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
