<?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>Dylan Butler » San Diego Freelance Web Development and Consultation &#187; code</title>
	<atom:link href="http://www.dylanbutler.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dylanbutler.com</link>
	<description></description>
	<lastBuildDate>Fri, 26 Aug 2011 04:05:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FireFox 3.5 is finally out</title>
		<link>http://www.dylanbutler.com/2009/07/firefox-3-5-is-finally-out/</link>
		<comments>http://www.dylanbutler.com/2009/07/firefox-3-5-is-finally-out/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 20:25:27 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cool stuff]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.dylanbutler.com/?p=153</guid>
		<description><![CDATA[So last week Mozilla released FireFox 3.5, which introduces some awesome new features, all of which can be found on the Mozilla release notes page. The ones I&#8217;m most excited about are the newly supported CSS properties, improved JavaScript capabilities &#8230; <a href="http://www.dylanbutler.com/2009/07/firefox-3-5-is-finally-out/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-155" title="get-firefox" src="http://www.dylanbutler.com/wp-content/uploads/2009/07/get-firefox.jpg" alt="get-firefox" width="411" height="547" /></p>
<p>So last week Mozilla released FireFox 3.5, which introduces some awesome new features, all of which can be found on the<a href="http://www.mozilla.com/en-US/firefox/3.5/releasenotes/" target="_blank"> Mozilla release notes page</a>.</p>
<p>The ones I&#8217;m most excited about are the <a href="https://developer.mozilla.org/En/Firefox_3.5_for_developers" target="_blank">newly supported CSS properties, improved JavaScript capabilities (through TraceMonkey), SVG features, and HTML 5 support</a>.</p>
<p>Now we can do things like use downloadable fonts (goodbye sIFR!), specify border images, achieve amazing shadow and border effects, use the CANVAS tag, and it looks like they even included <a href="https://developer.mozilla.org/En/HTTP_access_control" target="_blank">cross-domain XMLHTTPRequests</a>.</p>
<p>How practical all this will become only time can tell. We know other browsers are including like features, so we can only hope developers will keep visitors and security in mind as they build applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dylanbutler.com/2009/07/firefox-3-5-is-finally-out/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>YUI CustomEvent subscriptions</title>
		<link>http://www.dylanbutler.com/2008/08/yui-customevent-subscriptions/</link>
		<comments>http://www.dylanbutler.com/2008/08/yui-customevent-subscriptions/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 08:28:54 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://www.dylanbutler.com/?p=42</guid>
		<description><![CDATA[Recently at Ajaxian there was a post describing Custom Events and how they could be used to better structure an event-driven application by &#8216;subscribing&#8217; or &#8216;binding&#8217; certain actions to an event. At Pint we use YUI as our main library, &#8230; <a href="http://www.dylanbutler.com/2008/08/yui-customevent-subscriptions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently at Ajaxian there was <a href="http://ajaxian.com/archives/enjoying-the-observer-pattern-with-custom-events" target="_blank">a post describing Custom Events</a> and how they could be used to better structure an event-driven application by &#8216;subscribing&#8217; or &#8216;binding&#8217; certain actions to an event. At <a title="San Diego Web Design" href="http://www.pint.com/" target="_blank">Pint</a> we use <a title="YUI" href="http://developer.yahoo.com/yui/" target="_blank">YUI</a> as our main library, so I&#8217;ve ported <a href="http://google-ajax-examples.googlecode.com/svn/trunk/customevents/index.html" target="_blank">the author&#8217;s example</a> into <a title="YUI - Custom Events" href="http://dylanbutler.com/classwork/random/yui_customevents.htm" target="_blank">a version that uses YUI</a>.</p>
<p>Here is the code:</p>
<pre class="prettyprint">YAHOO.util.Event.onDOMReady(function() {
    document.body.event1 = new YAHOO.util.CustomEvent();
    YAHOO.util.Event.on('colorchange', 'change', function(e) {
        if (this.checked) document.body.event1.subscribe(changeColor);
        else document.body.event1.unsubscribe(changeColor);
    });
    YAHOO.util.Event.on('contentchange', 'change', function(e) {
        if (this.checked) document.body.event1.subscribe(changeContent);
        else document.body.event1.unsubscribe(changeContent);
        }
    });
    YAHOO.util.Event.on(document.getElementById('leftchoices').childNodes, 'click', function(e) {
        document.body.event1.fire(e);
    });
});</pre>
<p><a href="http://dylanbutler.com/classwork/random/yui_customevents.htm" target="_blank">See example »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dylanbutler.com/2008/08/yui-customevent-subscriptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

