<?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>Phil Hassey &#187; javascript</title>
	<atom:link href="http://www.philhassey.com/blog/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philhassey.com/blog</link>
	<description>game dev blog</description>
	<lastBuildDate>Fri, 03 Feb 2012 00:13:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>The Maze of MADNESS!!</title>
		<link>http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/</link>
		<comments>http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 22:41:55 +0000</pubDate>
		<dc:creator>philhassey</dc:creator>
				<category><![CDATA[crazy]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[gamedev]]></category>
		<category><![CDATA[haxe]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=182</guid>
		<description><![CDATA[Hey, so I just put up a new game on my website called &#8220;The Maze of MADNESS.&#8221;  Check it out. The interesting thing about it is that I didn&#8217;t create any of the game.  I just created a web based interface for people to create this adventure game on.  I made it for a 48 [...]]]></description>
			<content:encoded><![CDATA[<p>Hey, so I just put up a new game on my website called &#8220;The Maze of MADNESS.&#8221;  <a href="http://www.galcon.com/maze/">Check it out</a>.</p>
<p><a href="http://www.philhassey.com/blog/wp-content/uploads/2008/11/spmaze3.png"><img class="aligncenter size-medium wp-image-183" title="spmaze3" src="http://www.philhassey.com/blog/wp-content/uploads/2008/11/spmaze3-300x204.png" alt="" width="300" height="204" /></a></p>
<p>The interesting thing about it is that I didn&#8217;t create any of the game.  I just created a web based interface for people to create this adventure game on.  I made it for a 48 hour contest this past weekend, and the other contest people have already created 45 rooms, 40 new items, and 152 actions.</p>
<p>It should be interesting to see how long the game lasts before it caves under the weight of itself.  I&#8217;m quite interested in trying out user-content games.  So if this even marginally works out, there is a good chance I&#8217;ll be doing more in the future.</p>
<p>On another tech note, I used AS3 for the pixel art editor in the game.  I decided on this instead of haxe, because it seemed there was a lot more random bits of information on the internet about AS3.  I managed to get it to work without using a .mxml file.  The tutorial I followed was <a href="http://www.gamedev.net/reference/programming/features/flex/">this</a>.  I also got lots of random snippets from the internet.</p>
<p>-Phil</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/&amp;title=The+Maze+of+MADNESS%21%21" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+The+Maze+of+MADNESS%21%21+@+http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.philhassey.com/blog/2008/11/11/the-maze-of-madness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing WordPress</title>
		<link>http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/</link>
		<comments>http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 16:49:30 +0000</pubDate>
		<dc:creator>philhassey</dc:creator>
				<category><![CDATA[biz]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[gamedev]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/</guid>
		<description><![CDATA[As far as code goes, I&#8217;ve usually been a do-it-yourself kind of guy. However, I&#8217;ve been so impressed with WordPress I&#8217;ve actually used it to implement four of my sites in the last couple months. WordPress is an easy to use, smart piece of blogging software. It really seems to have just the right set [...]]]></description>
			<content:encoded><![CDATA[<p>As far as code goes, I&#8217;ve usually been a do-it-yourself kind of guy.  However, I&#8217;ve been so impressed with WordPress I&#8217;ve actually used it to implement four of my sites in the last couple months.  <a href="http://www.wordpress.org/">WordPress</a> is an easy to use, smart piece of blogging software.  It really seems to have just the right set of features in its default installation to be useful for most cases out of the box.</p>
<p>However, there comes a time when what&#8217;s given just isn&#8217;t enough.  Thankfully, its got an extensive collection of <a href="http://wordpress.org/extend/plugins/">plugins</a>!  Everything from blog aggregation to voting to forms to photo galleries.  Not all plugins are great, but usually if you check out a few you can find one that will do what you want.</p>
<p>That is .. until you want something different!  I might be hosting the <a href="http://www.imitationpickles.org/ludum/">10th Ludum Dare compo</a>.  For that I needed some special features for collecting <a href="http://www.imitationpickles.org/ludum/category/test-compo/">ratings of contestants entries</a>, showing <a href="http://www.imitationpickles.org/ludum/?mythumb_nav=1">screenshot grids</a>, and <a href="http://www.imitationpickles.org/ludum/author/admin/">giving trophies</a> to entrants.</p>
<p align="center"><a href="http://www.imitationpickles.org/ludum/?mythumb_nav=1" title="Ludum Dare Screenshot Grid"><img src="http://www.philhassey.com/blog/wp-content/uploads/2007/11/ld-grid.png" alt="Ludum Dare Screenshot Grid" /></a></p>
<p>WordPress comes with a fairly nice themes and plugins system which made it possible to add all those features to my blog without modifying the core-code of WordPress.  Frequently I would implement a feature, and after learning more about WP internals, I was able to refactor it to be simpler by using more of the existing WP framework.</p>
<p>It wasn&#8217;t all fun and games, though, the learning curve was a bit painful for some features.  A couple WordPress features (like <a href="http://codex.wordpress.org/Creating_Tables_with_Plugins">table deltas</a>) seemed a bit too clever (not to mention broken) for their own good.  Fortunately, I was able to get away with not using those features.</p>
<p>The other challenge I had was when I came across a <a href="http://trac.wordpress.org/ticket/5380">bug in WordPress</a>.  I did my best to figure out the bug, but it appears to be some strange javascripty thing which was beyond me.  So I&#8217;ve reported the bug, and according to their schedule, it probably won&#8217;t be fixed for about six months.  Ah well, at least it&#8217;s pretty minor.</p>
<p>All that said, it has been a fairly enjoyable process.  I&#8217;ve been able to develop more site in less time by working with the WordPress plugin system.  I have *considerably* less code to maintain, since I&#8217;m only responsible for the plugins I&#8217;ve made.  Had I created this from scratch, I wouldn&#8217;t have gotten even half as far given the amount of time I invested.</p>
<p><em>This just in, the WordPress spell checker chokes on the word &#8220;with&#8221; .. weirdness!</em></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/&amp;title=Customizing+WordPress" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Customizing+WordPress+@+http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.philhassey.com/blog/2007/11/28/customizing-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watermelons on facebook</title>
		<link>http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/</link>
		<comments>http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 03:38:04 +0000</pubDate>
		<dc:creator>philhassey</dc:creator>
				<category><![CDATA[crazy]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[haxe]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[pygame]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/</guid>
		<description><![CDATA[Watermelons was a pygame game made in about 8 hours one evening on the #ludumdare channel. Since then I&#8217;ve ported it to flash using haxe. This past weekend I integrated it into the facebook API. You can check the app out here. My server-side high score system was written with PHP. The integration was somewhat [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.imitationpickles.org/melons/">Watermelons</a> was a pygame game made in about 8 hours one evening on the <a href="http://www.ludumdare.com">#ludumdare</a> channel.  Since then I&#8217;ve ported it to <a href="http://www.imitationpickles.org/melons/flash.php">flash</a> using <a href="http://www.haxe.org">haxe</a>.  This past weekend I integrated it into the facebook API.  You can check the app out <a href="http://apps.facebook.com/watermelons/">here</a>.  My server-side high score system was written with PHP.</p>
<p>The integration was somewhat challenging, since I was using a language not supported by facebook (haxe) and my integration involved using flash, which has some restrictions when used within FMBL.  To work around these things, I had to embed my flash object within an iframe and then pass high scores back through my main web script in the browser window (instead of as a background request) in order to be able to use all the facebook notification features.</p>
<p>So far (after about 5 days) the app has about 160 users, which isn&#8217;t very many.  But I suppose it&#8217;s not bad for my first shot at writing a facebook app.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/&amp;title=Watermelons+on+facebook" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Watermelons+on+facebook+@+http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.philhassey.com/blog/2007/11/08/watermelons-on-facebook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;The next version should be more AJAXie.&#8221;</title>
		<link>http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/</link>
		<comments>http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 18:44:22 +0000</pubDate>
		<dc:creator>philhassey</dc:creator>
				<category><![CDATA[biz]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/</guid>
		<description><![CDATA[My business partner and I were recently discussing the next edition of our healthcare web platform. Instinctively, Akash said that, &#8220;The next version should be more AJAXie.&#8221; I replied with a, &#8220;Sure we can do that&#8230; what exactly do you mean?&#8221; We jumped into LiveMeeting where Akash showed me the web based CRM software he [...]]]></description>
			<content:encoded><![CDATA[<p>My business partner and I were recently discussing the next edition of our healthcare web platform.  Instinctively, Akash said that, &#8220;The next version should be more AJAXie.&#8221;  I replied with a, &#8220;Sure we can do that&#8230; what exactly do you mean?&#8221;</p>
<p>We jumped into LiveMeeting where Akash showed me the web based CRM software he was using.</p>
<p>&#8220;See how when I mouse over these items, a menu pops up,&#8221; said Akash, &#8220;Can we do that?&#8221;</p>
<p>&#8220;Sure,&#8221; I said, &#8220;though that isn&#8217;t AJAX.&#8221;</p>
<p>&#8220;Ah.  Well, see how this form has a tabbed interface.  Is that AJAX?&#8221;</p>
<p>&#8220;Nope,&#8221; I said, &#8220;but we can do that too.&#8221;</p>
<p>&#8220;Well,&#8221; said Akash, &#8220;how about this, when someone requests a report and it displays a &#8216;Please Wait&#8217; note on the screen while the report is being generated.  Is that AJAX?&#8221;</p>
<p>&#8220;Maybe,&#8221; I said, &#8220;though again you could do that without AJAX as well.&#8221;</p>
<p>&#8220;Ahh,&#8221; said Akash.</p>
<p>I first used AJAX-like techniques <a href="http://www.imitationpickles.org/galcon/history.html">in 1998 in a web based version of Galcon</a>.  Since then I haven&#8217;t.  Haven&#8217;t had the need for it.  And as this conversation realizes, even the term AJAX is unclear to fairly technical people &#8211; it has become a synonym for &#8220;nifty&#8221;.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/&amp;title=%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+%26%238220%3BThe+next+version+should+be+more+AJAXie.%26%238221%3B+@+http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.philhassey.com/blog/2007/10/24/the-next-version-should-be-more-ajaxie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>language hangups</title>
		<link>http://www.philhassey.com/blog/2007/09/18/language-hangups/</link>
		<comments>http://www.philhassey.com/blog/2007/09/18/language-hangups/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 18:05:07 +0000</pubDate>
		<dc:creator>philhassey</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[languages]]></category>

		<guid isPermaLink="false">http://www.philhassey.com/blog/2007/09/18/language-hangups/</guid>
		<description><![CDATA[I&#8217;ve spent a bit of time fooling with javascript this past weekend. It really is okay, but I came across a few scoping gotcha. Scoping defaults to global, so function fnc1() { a = 5; } fnc1(); alert("a: "+a); Will show you that a is 5. I&#8217;m more used to languages that default to a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a bit of time fooling with javascript this past weekend.  It really is okay, but I came across a few scoping gotcha.  Scoping defaults to global, so</p>
<pre>function fnc1() { a = 5; } fnc1(); alert("a: "+a);</pre>
<p>Will show you that a is 5.  I&#8217;m more used to languages that default to a local scope.  To get variables into a local scope in javascript, this example should be written as:</p>
<pre>b = null; function fnc2() { var b = 5; } fnc2(); alert("b: "+b);</pre>
<p>Will show you that b is null &#8211; as expected.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.philhassey.com/blog/2007/09/18/language-hangups/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.philhassey.com/blog/2007/09/18/language-hangups/&amp;title=language+hangups" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.philhassey.com/blog/2007/09/18/language-hangups/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+language+hangups+@+http://www.philhassey.com/blog/2007/09/18/language-hangups/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.philhassey.com/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.philhassey.com/blog/2007/09/18/language-hangups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

