<?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>Realm of Zod &#187; Javascript</title>
	<atom:link href="http://blog.realmofzod.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.realmofzod.com</link>
	<description>Programming and Technology</description>
	<lastBuildDate>Wed, 09 Jun 2010 19:59:44 +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>Dynamic paths in external javascript and stylesheets</title>
		<link>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/</link>
		<comments>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 17:46:13 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=252</guid>
		<description><![CDATA[<!-- Easy AdSense V2.86 -->
<!-- Post[count: 1] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6616898812779690";
/* 468x60, created 11/12/09 */
google_ad_slot = "0995711308";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- Easy AdSense V2.86 -->

Best practices  dictate that unobtrusive javascript is king these days which means that all javascript should live in external js files instead of cluttering up the html. Simple enough, however, situations arise sometimes where you need to adapt your javascript for dynamic conditions of the application, most notably, the current base directory where your application lives. If your application is small enough you can just hard code paths to images, other scripts, or internal urls however if you are anything like me, you probably shudder at the thought of hard coding any thing. Take this use case into consideration: let's say we have an external javascript file called myscript.js which houses all of our javascript for handling click events on ajax powered links throughout the site.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery.imageLoader 1.0 Released</title>
		<link>http://blog.realmofzod.com/2010/02/03/jquery-imageloader-1-0-released/</link>
		<comments>http://blog.realmofzod.com/2010/02/03/jquery-imageloader-1-0-released/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 00:37:16 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=222</guid>
		<description><![CDATA[







A while ago I wrote an article on how to dynamically load images using jquery. This has turned out to be one of my most popular posts and I got a lot of feedback on it. As a follow-up I decided to package it up as a real-life jquery plugin and release it into the [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/02/03/jquery-imageloader-1-0-released/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Load Your Ads Last</title>
		<link>http://blog.realmofzod.com/2009/11/19/load-your-ads-las/</link>
		<comments>http://blog.realmofzod.com/2009/11/19/load-your-ads-las/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 19:00:05 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[adify]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=162</guid>
		<description><![CDATA[Nobody likes ads but we can all agree they are a necessary component of doing business online. I recently had some experience dealing with <a href="http://www.adify.com/" target="_blank">adify</a>, a aggregating ad platform which pipes in banners from a multitude of sources some with questionable practices in regards to loading performance. I had just launched a beatifully crafted website that employed all the tricks in the book for quick page loads and it was snappy... until we embedded the ad code. I like to load my images asynchronously and I like to execute javascript only once the document has finished loading so imagine the pain of patiently watching little animated gif spinners swirling away for as long as 6-30 seconds because the browser is choking on javascript from the banner ads in the middle of the page. Normally the solution would be to fix the javascript, but being a third party ad network, the embedded code was far beyond my control, so clearly this needed rethinking. I needed to figure out how to load the ads asynchronously as well.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/11/19/load-your-ads-las/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Queued, Concatenated, and Gzipped Assets with the Zend Framework</title>
		<link>http://blog.realmofzod.com/2009/11/18/queued-concatenated-and-gzipped-assets-with-the-zend-framework/</link>
		<comments>http://blog.realmofzod.com/2009/11/18/queued-concatenated-and-gzipped-assets-with-the-zend-framework/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:12:22 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=164</guid>
		<description><![CDATA[Linking assets to your templates and layouts is always a mine field. Every person has a different way of doing it and if it is done poorly, it can adversely affect the load time of your website, particularly if you have lots of websites. It's helpful to understand how the http protocol fetches things like stylesheets and javascript files while it's loading your page. In order to alleviate traffic for any individual server, a browser is limited to only so many concurrent requests to the same host. I do not recall what that limit is on each browser but I'm sure google does but in any case, if your site is of significant scope, chances are, you are going to need more assets than your browser can pull in at once. If you don't believe me, install the yslow extension for firefox and run it on a page with many assets and you will see what i'm talking about.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/11/18/queued-concatenated-and-gzipped-assets-with-the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ajax &#8211; Too Much of a Good Thing</title>
		<link>http://blog.realmofzod.com/2009/06/23/ajax-too-much-of-a-good-thing/</link>
		<comments>http://blog.realmofzod.com/2009/06/23/ajax-too-much-of-a-good-thing/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 15:00:19 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=83</guid>
		<description><![CDATA[I&#8217;ve stated this many times, but working as a lead php developer at eroi has been both an adventure and educational. Each project brings new challenges, requirements, and the obligatory &#8216;experiments&#8217;. I&#8217;ve had the opportunity to deploy some pretty good size projects, at least what I would dub &#8216;enterprise&#8217; scale websites with enough traffic to [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/06/23/ajax-too-much-of-a-good-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asynchronous Image Loading with jQuery</title>
		<link>http://blog.realmofzod.com/2009/04/09/asynchronous-image-loading-with-jquery/</link>
		<comments>http://blog.realmofzod.com/2009/04/09/asynchronous-image-loading-with-jquery/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 16:00:10 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[asynchronous]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=61</guid>
		<description><![CDATA[I thought it would make for a good change of pace to switch gears from back end development to front end development. So far I&#8217;ve focused primarily on php development which makes sense since that is my job here at eROI. There are plenty of opportunities to get my hands dirty doing javascript development, and [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/04/09/asynchronous-image-loading-with-jquery/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>
