<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>FusionFox</title>
        <link>http://fusionfox.com/</link>
        <description></description>
        <language>en</language>
        <copyright>Copyright 2008</copyright>
        <lastBuildDate>Wed, 28 May 2008 10:23:27 -0700</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>The Fireworks CS4 Beta</title>
            <description><![CDATA[<p><a href="http://labs.adobe.com/downloads/" target="_blank" title="Download the Fireworks CS4 Beta"><img src="/images/fwintro.jpg" alt="Fireworks CS4 Beta" class="imageright" /></a>I read so much technology news these days that it really takes something interesting to get my attention (such as the <a href="http://www.tuaw.com/2008/05/23/could-electric-computers-be-the-new-iphone/" target="_blank">massive arrival of unnamed devices</a> in the U.S. from Apple's manufacturing facilities overseas). Yesterday, Adobe gave me an early birthday present by introducing the Fireworks CS4 Beta, a program I am heavily reliant upon and eager to see develop. I am now running Fw CS4 at home and at work, and suffice it to say, I <strong>love it to pieces</strong>.</p>

<p>Allow me to round up for you some of the changes that I find particularly welcome.</p>

<h4>Color Palettes</h4><p>I have building color palettes by hand for years now. I could draw little boxes and mix in more/less black to create several shades of a color. At long last, Adobe is giving me tools to do some of this. I can already feel myself getting faster at design.</p>

<p><img src="/images/fwcolor.jpg" alt="Color Palette Tab" class="normalimage" style="margin-left:25px; margin-bottom:10px;" /></p>

<h4>Measure Tool</h4><img src="/images/fwmeasuretool.jpg" alt="Measure Tool" class="imagerightnoborder" /><p>Many times you want to provide some specifics in your design so that creating the XHTML is a little faster. One of the new Auto Shapes is a measure tool that allows you to click and drag and create dimension markers on any element on the canvas. I currently waste a lot of time going back and forth between my code and my PNG just to double-check the dimensions of a graphic element. Hopefully this will speed that up and also provide reference to a coder in a situation where I hand off a design.</p>

<h4>The Tabs Are Back</h4><p>I really loved this about the PC version of Fireworks that they had a couple versions ago. Having everything flying around in its own window <img src="/images/fwtabs.jpg" alt="File Tabs" class="imageright" style="margin-top:10px;" />seemed so Windows 3.1. Another <strong>huge</strong> improvement is collecting all the toolbars back into one parent window (another Fw PC advantage). <a href="http://www.apple.com/macosx/features/spaces.html" target="_blank">Spaces</a> doesn't handle toolbars in Fireworks very well. Every time I go to another space and come back to the space that holds Fireworks, I have to hit Tab a couple times to bring the toolbars back. No seriously, <strong>every</strong> time I change spaces. What a bother. Now I don't have to worry about that. In fact, there are several new ways to manage your toolbars:</p><ul><li><a href="/images/expandedmode.png" target="_blank">Expanded Mode</a></li><li><a href="/images/iconicmode.png" target="_blank">Iconic Mode</a></li><li><a href="/images/iconicwithpanels.png" target="_blank">Iconic Mode with Panel Names</a></li></ul>

<h4>UI Cleansing</h4><img src="/images/fwui.jpg" alt="UI Clean-up" class="imageright" /><p>It seems that UI enhancements come with every new release of software, and Adobe really hit the mark this time. They dulled out the deactivated options and muted the whole interface so you can focus on your design and the tools you currently have out. I really dig the new interface (and I'm pretty picky).</p>

<p>So what <em>don't</em> I like about Fireworks CS4? Well, it's a little early to have my grief all lined up especially since I'm still in wow-is-it-Christmas-already-with-my-software mode. My only expectation is that it doesn't get slower and that it remains stable. So far, it has been a little wobbly on its feet, and I'm beginning to wonder if it has new Spaces issues, but we'll see. So far, it's a definite step up. I better start saving up for the upgrade.</p>]]></description>
            <link>http://fusionfox.com/2008/05/the-fireworks-cs4-beta.html</link>
            <guid>http://fusionfox.com/2008/05/the-fireworks-cs4-beta.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">adobe</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">CS4</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">fireworks</category>
            
            <pubDate>Wed, 28 May 2008 10:23:27 -0700</pubDate>
        </item>
        
        <item>
            <title>A Designer Headed to WWDC</title>
            <description><![CDATA[<p><img src="/images/wwdc.jpg" alt="WWDC" class="imageright" />My dreams have come true, and I'm headed to Apple's <a href="http://developer.apple.com/wwdc/" target="_blank">Worldwide Developer's Conference</a> in June. We're working on some mobile applications at work and we're particularly interested in what the iPhone can do for us. I'm not a developer, so I'm hoping that the interface-related classes at the conference are suitable and pertinent. </p>

<p>I've dabbled with the iPhone SDK and have managed to throw together rough interfaces inside Interface Builder as well as manipulate some pre-written Objective C in simple ways. After all is said and done, another designer and myself will create the iPhone interfaces and hand them off to a couple of our talented developers who will take a stab at it. We're still undecided whether to pursue thick client apps or web apps, but it shouldn't take too long before the answer is clear.</p>

<p>I've been using an iPhone at work as a development platform and successfully got the iPhone 2.0 OS running. The Exchange integration, 802.1x certificates, and Cisco VPN functionality all seem to work quite well and are much-needed for our purposes. Other than those subtle back-end changes in the OS, there doesn't seem to be a whole lot that's different on the device. It's still blissfully usable, though, and I'm anxious to watch Steve Jobs introduce the 3G version.</p>]]></description>
            <link>http://fusionfox.com/2008/05/a-designer-headed-to-wwdc.html</link>
            <guid>http://fusionfox.com/2008/05/a-designer-headed-to-wwdc.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Apple</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">wwdc</category>
            
            <pubDate>Thu, 01 May 2008 22:23:19 -0700</pubDate>
        </item>
        
        <item>
            <title>3G iPhone</title>
            <description><![CDATA[<p><img src="/images/3Giphone.jpg" alt="3G iPhone" class="imagerightnoborder" />I have been drooling all over the iPhone ever since Steve Jobs announced it back in January of 2007. I watched in anxious anticipation and read boatloads of blogs as the device became available in June of 2007. I've read countless articles and spent all kinds of time in the Apple Store flipping, tapping, and pinching. I've run in to people with iPhones and shown them how to do things on <em>their</em> phone. I speak incessantly on the topic and am sure to have driven many of my peers crazy (to say nothing of the insanity with which I have imbued my wife). I can't help but be interested in a gadget that's both highly functional and a killer user experience.</p>

<p>After so much ado, and at long last, I'm finally going to own one.</p>

<p>The catch, however, is that I'm holding out for the 3G iPhone. Apple hasn't officially announced such a device yet, but I have plenty of reason to believe that they'll be <strong>available in June</strong>. Allow me to cite my sources:<br />
<blockquote>"Several sources confirmed the introduction of a new 3G iPhone during [the second calendar quarter]."<br />
<span class="gray">&ndash; Rich Gardner, Citigroup Industry Analyst after meeting with members of the related electronics supply chain (via <a href="http://www.appleinsider.com/articles/08/03/04/citigroup_checks_point_to_3g_iphone_within_four_months.html" target="_blank">Apple Insider</a>).</span></blockquote><blockquote>"Goldman said that while industry watchers have been expecting Apple to introduce a 3G capable iPhone by late 2008, his sources are suggesting that the device will be on store shelves by late May or early June <em>at the latest</em>."<br />
<span class="gray">&ndash;<a href="http://www.appleinsider.com/articles/07/12/06/apple_sub_notebook_to_retail_for_1500_3g_iphone_by_june_report.html" target="_blank">Apple Insider</a>, emphasis added (Jim Goldman is a CNBC analyst whose Macbook Air rumor was spot-on)</span></blockquote><blockquote>"We believe this is one of the HSDPA [High-Speed Downlink Packet Access] solutions design wins management referred to as being due to ramp in [the second quarter of 2008].... Consistent with these checks, our Apple analyst Ben Reitzes believes that 3G iPhones will be <em>released by mid-year</em>."<br />
<span class="gray">&ndash;<a href="http://www.appleinsider.com/articles/08/02/28/3g_iphone_to_launch_mid_year_with_infineon_chip_report.html" target="_blank">Apple Insider</a>, emphasis added</span></blockquote><blockquote>"With these aggressive initiatives, we're expanding the scope and the speed of our 3G capabilities, connecting people with their world and enabling more customers to do more with their wireless devices, wherever they may be."<br />
<span class="gray">&ndash;Ralph de la Vega, AT&T Wireless CEO, via <a href="http://www.appleinsider.com/articles/08/02/06/att_plans_3g_expansion_ahead_of_second_gen_iphone.html" target="_blank">Apple Insider</a> (again)</span></blockquote><br />
<p>So why wait for 3G? Isn't the iPhone cool enough already? Well, considering I've waited this long, a couple months won't be much to wait to get a significant boost in bandwidth. Check it out:</p><img src="/images/edge3G.jpg" alt="3G is about 5 times faster than EDGE" style="margin-left:60px;" /><br />
<p>I think a 5x speed boost is worth waiting for since connection speed is the most common complaint I come across. Having wireless access in most of the places I go would mitigate this problem, but theoretically the 3G connection could be even faster than a bogged-down, shared 802.11 hook-up. In addition, the iPhone 2.0 software with all its Exchange wonders and the AppStore will be added incentive and is bound to take the iPhone from <strong>awesome</strong> all the way up to <strong>wicked awesome</strong>.</p></p>

<p>There are several other sources to cite, and Steve Jobs himself mentioned the advent of 3G iPhones "next year" (referring to 2008), so there's lots of evidence to make this pretty much a sure thing. With Apple's Worldwide Developer's Conference coming up June 9th, Steve Jobs' keynote will be a perfect time to make the announcement. Hopefully it'll include the words, "shipping immediately." My birthday will conveniently follow on July 3rd. Giddy up.</p>]]></description>
            <link>http://fusionfox.com/2008/03/3g-iphone.html</link>
            <guid>http://fusionfox.com/2008/03/3g-iphone.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">3G</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">3G iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Apple</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">AT&amp;T</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">EDGE</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Steve Jobs</category>
            
            <pubDate>Mon, 24 Mar 2008 19:20:44 -0700</pubDate>
        </item>
        
        <item>
            <title>The Indispensable Server Side Include</title>
            <description><![CDATA[<p>As a pursuer of both code and design, a web designer has to make a lot of decisions along the way about what they <em>won't</em> worry about. There's a lot of art out there to stare at, and software development has oodles syntax waiting to be understood. A web designer has to take bits and pieces of both to seek for balance between the two disciplines. </p>

<p>A server-side include, or simply an &ldquo;include,&rdquo; is a technology that likely gets ignored by most XHTML/CSS coders simply because it delves into the world of server-side scripting. The include, however, is something that I believe is wildly useful to the front-end coder. If you are such a coder, you likely use CSS as a global solution to control a variety of styles. It's a helpful and intuitive thing to want global control.</p>

<p>But what do you do about global markup? Surely there are parts of your site where the code gets repeated over and over again. This is where the include makes your life much easier. </p>

<p>For me, using includes comes in most handy when taking care of that ever-important header information. There are scripts to include, stylesheets to reference, and more. The include allows you to write all that code in <strong>one place</strong> and have the rest of your site reference it. Let's look at an example.</p>

<p>I first create a <strong>separate HTML file</strong> called <strong>header.html</strong>. In that file, I put the following:</p>

<blockquote><span class="mediumorange">&lt;!--This contains all the data for the header so I don't have to edit it in multiple locations--&gt;</span>

<p>		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;   <br />
    &lt;meta name=&quot;description&quot; content=&quot;...&quot; /&gt;</p>

<p>	&lt;meta name=&quot;keywords&quot; content=&quot;...&quot; /&gt;<br />
   <br />
    &lt;link rel=&quot;alternate&quot; type=&quot;application/atom+xml&quot; title=&quot;Atom&quot; href=&quot;/atom.xml&quot; /&gt;</p>

<p>    &lt;title&gt;fusionfox&lt;/title&gt;</p>

<p>	&lt;link rel=&quot;stylesheet&quot; href=&quot;/ff7style.css&quot; type=&quot;text/css&quot; /&gt;<br />
	<span class="mediumorange">&lt;!--[if lt IE 7]&gt;</span><br />
		&lt;link rel=&quot;stylesheet&quot; href=&quot;/juice/ieHacks.css&quot; type=&quot;text/css&quot; /&gt;<br />
	<span class="mediumorange">&lt;![endif]--&gt;</span><br />
	<br />
	<span class="mediumorange">&lt;!-- jQuery --&gt;</span><br />
	&lt;script src=&quot;/juice/jquery-1.2.1.pack.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
</blockquote></p>

<p>After that file is created, I can now reference that block of code anywhere. Here's how I do it in another HTML file inside the &lt;head&gt; tags:<br />
<blockquote>&lt;head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;<span class="red">&lt;?</span> <strong>include</strong> "path/to/header.html" <span class="red">?&gt;</span><br />
&lt;/head&gt;</blockquote></p>

<p>Pretty easy, right? Well, there are a couple catches. The first (and most obvious) is that your server needs to be running PHP. For local development, I recommend running <a href="http://www.versiontracker.com/dyn/moreinfo/macosx/24852" target="_blank">MAMP</a> if you're using a Mac. It's a snap to use, and it comes with a Dashboard widget to turn the servers on and off. The second catch is that <strong>header.html</strong> may need to be <strong>header.php</strong> if your server isn't configured to allow PHP calls from within an HTML file. On my remote server, all I had to do was add this to my <strong>.htaccess file</strong>.</p>

<blockquote>AddHandler application/x-httpd-php5 .php .html</blockquote>

<p>Those catches are into the neety greety of getting a server up and running, but the include principle is simple. Doing this you can keep one instance of a block of code and use it everywhere, making global changes a snap. Just edit header.html, save, and you're done. This technique can save the front-end coder a ton of time, especially on a site with lots of pages.</p>]]></description>
            <link>http://fusionfox.com/2008/03/the-indispensable-server-side.html</link>
            <guid>http://fusionfox.com/2008/03/the-indispensable-server-side.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">front-end</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">html</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">include</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">php</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">php include</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">server side include</category>
            
            <pubDate>Mon, 17 Mar 2008 08:46:52 -0700</pubDate>
        </item>
        
        <item>
            <title>iPhone SDK, Here I Come</title>
            <description><![CDATA[<p><img src="/images/iphonesdk.jpg" class="imageright" alt="iPhone SDK" />I was totally blown away by last week's <a href="http://www.apple.com/quicktime/qtv/iphoneroadmap/" target="_blank">iPhone SDK announcement</a>. I wasn't surprised about the <a href="http://developer.apple.com/iphone/program/" target="_blank">SDK</a> or even the coming of Exchange with ActiveSync. I was impressed with the repercussions of the SDK and the iPhone platform.</p>

<p>The iPhone, as far as I can tell, is the <strong>future</strong> of mobile computing. The new industry standard is that you carry a mobile computer in your pocket, and it does essentially everything a computer does: allow you to communicate (phone, IM, text, email, messaging, video chat), let you work (email, attachments, internet, mini apps), and entertain you (music, videos, and podcasts). This proposition puts tremendous pressure on phone manufacturers <em>and</em> PDA manufacturers. Apple is running way ahead of the competition here, and that's only going to become more obvious as killer apps start making their way on to this platform.</p>

<p>That said, I'm very interested in the prospect of developing apps for the iPhone. I did a lot of microcontroller programming in C back in college, but all-in-all I'm pretty darn rusty. With the slick tools the SDK includes (particularly the Interface Builder and the iPhone Simulator), and the surprising amount of help documentation available, I'm thinking it's worth dusting off my brain and giving it a whirl. Unfortunately I'm primarily concerned with the platform and the development environment, and I'm not spurred to action by a particular software need, but hey, that's just a detail, right? I'll report later on whether or not I'm getting somewhere with this. I'd be curious to hear of the experiences of other people who aren't hard core developers and also want to give this a try. There's something alluring about trying to pull off development when Apple (the user experience geniuses) has your back. I guess there's only one way to find out.</p>]]></description>
            <link>http://fusionfox.com/2008/03/iphone-sdk-here-i-come.html</link>
            <guid>http://fusionfox.com/2008/03/iphone-sdk-here-i-come.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Interface Builder</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone SDK</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone Simulator</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">mobile</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">mobile computing</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">PDA</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">phone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">SDK</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">software development</category>
            
            <pubDate>Tue, 11 Mar 2008 08:26:52 -0700</pubDate>
        </item>
        
        <item>
            <title>FusionFox Comes Alive</title>
            <description><![CDATA[<p>After hours and hours of creating and coding, I present to you the new FusionFox. This site's content is primarily the same, but I have made enhancements in various places. I also plan to write quite a bit more nowadays since I enjoy sharing what I learn about designing for the web.</p>

<p>I didn't keep track, but I imagine I've spent over 80 hours on this bad boy (just ask my wife&mdash;she'll attest to the time I've spent). I wanted to take it pretty slow and try to insert detail wherever I could. It's also particularly difficult to create a design for yourself. I went through several designs and struggled to finally land on something I could run with.</p>

<p><a href="http://movabletype.org/" target="_blank">Movable Type 4.1</a> has been a thrill to work with. The back-end user interface is gorgeous and light years ahead of the prior version. I installed a fresh version and imported my prior blog articles, and it worked seamlessly. I highly recommend it if you're looking for a highly customizable blog platform.</p>

<p>As always, I'm still squishing bugs for those mysterious people out there that still aren't using <a href="http://getfirefox.com" target="_blank">Firefox</a> or <a href="http://www.apple.com/safari/" target="_blank">Safari</a>. Feel free to <a href="/contact/">email me</a> any issues you find.</p>

<p>Be sure to grab the <a href="http://fusionfox.com/atom.xml">RSS feed</a> and come back often!</p>]]></description>
            <link>http://fusionfox.com/2008/03/fusionfox-comes-alive.html</link>
            <guid>http://fusionfox.com/2008/03/fusionfox-comes-alive.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">fusionfox</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">redesign</category>
            
            <pubDate>Sat, 08 Mar 2008 22:36:05 -0700</pubDate>
        </item>
        
        <item>
            <title>Bug Bucket</title>
            <description><![CDATA[<p> I've recently noticed that as I resolve programming bugs, I often run in to them again later on. I'll typically forget what I did to fix the issue and have to research it anew. This here article, affectionately termed the "Bug Bucket," will be where I document XHTML, CSS, and JavaScript bugs. Most of these bugs will likely be associated with Internet Explorer. Hopefully this will be a nice, ongoing journal to keep as well as prove to be a useful resource for fellow web designers.</p>

<p>Each bug will be described below in its own section, and I'll tack them on as I find and fix them. I welcome your suggestions in the comments section.</p>

<p><br />
<span class="subtitle line">The Big Fat IE float clearing div</span>You may have noticed that when you use <strong>clear:both;</strong> in your CSS to sit below a multi-column layout that the div is several pixels tall in IE6.</p>

<p><img src="/images/clearfat.jpg" alt="Fat Clear Div in IE6" style="margin-left:30px;" /></p>

<p>In Firefox, the div is 0 pixels talls (as far as I can tell). Here's the IE-specific CSS fix:<br />
<blockquote>.clearit{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clear:both;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height:0px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;overflow:hidden;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top:-1px;<br />
}</blockquote></p>

<p>As pointed out in the comments below, there are cleaner ways to achieve this same effect. You can fiddle with the <a href="http://www.positioniseverything.net/easyclearing.html" target="_blank"><strong>:after</strong> pseudo class</a> which requires an IE hack, or, as <a href="http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/" target="_blank">SitePoint points out</a>, you can just add <strong>overflow:auto;</strong> to the containing div. That seems to be the simplest solution I've seen so far.</p>]]></description>
            <link>http://fusionfox.com/2008/03/bug-bucket.html</link>
            <guid>http://fusionfox.com/2008/03/bug-bucket.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">bug bucket</category>
            
            <pubDate>Sat, 08 Mar 2008 21:50:46 -0700</pubDate>
        </item>
        
        <item>
            <title>Mixing JavaScript and PHP</title>
            <description><![CDATA[<p><img src="/images/warning.jpg" class="imagerightnoborder" />This article is long overdue, but I'm glad to finally be talking about this topic. I recently designed a dynamic shopping cart. By "dynamic" I mean DHTML and Ajax-based with database-driven scalability (to some extent anyway). Take a test drive <a href="http://iads.fusionfox.com/ads.php" target="_blank">over here</a> to see what I'm referring to.</p>

<p>Looking at the source, it looks like just a bunch of JavaScript. But you'll also notice (if you aren't crying yet by looking at the painful amount of code I had to write) that much of what you see looks redundant. Let's take, for example, where I define some variables so that when you mouse over the ads, you can see more information.<br />
<blockquote><span class="mediumorange">// Variables for tooltip content</span> <br />
var ad1 = '&lt;strong&gt;iPod Touch&lt;/strong&gt;Uploaded on 11/21/2007';<br />
var ad2 = '&lt;strong&gt;iPod Nano&lt;/strong&gt;Uploaded on 11/26/2007';<br />
var ad3 = '&lt;strong&gt;iPhone&lt;/strong&gt;Uploaded on 11/27/2007';<br />
var ad4 = '&lt;strong&gt;Leopard&lt;/strong&gt;Uploaded on 11/28/2007';<br />
var ad5 = '&lt;strong&gt;Macbook&lt;/strong&gt;Uploaded on 11/29/2007';<br />
var ad6 = '&lt;strong&gt;iMac&lt;/strong&gt;Uploaded on 11/30/2007';<br />
var ad7 = '&lt;strong&gt;.Mac&lt;/strong&gt;Uploaded on 11/31/2007';<br />
var ad8 = '&lt;strong&gt;iLife&lt;/strong&gt;Uploaded on 12/01/2007';<br />
var ad9 = '&lt;strong&gt;iWork&lt;/strong&gt;Uploaded on 12/02/2007';</blockquote></p>

<p>A JavaScript declaration is required to make each floating tooltip work. But what if you want to drive the number of ads by what's available in a database? This is where the beauty of mixing JavaScript and PHP comes in to play. The actual source of these repetitive variable declarations looks like this:<br />
<blockquote><span class="mediumorange">// Variables for tooltip content</span><br />
<span class="red">&lt;?</span><br />
<span class="mediumorange">//Ads...</span><br />
$adtitle = array("iPod Touch","iPod Nano","iPhone","Leopard","Macbook","iMac",".Mac","iLife","iWork");<br />
$adname = array("ad1","ad2","ad3","ad4","ad5","ad6","ad7","ad8","ad9");</p>

<p>$aduploaded = array("11/21/2007","11/26/2007","11/27/2007","11/28/2007",<br />
"11/29/2007","11/30/2007","11/31/2007","12/01/2007",<br />
"12/02/2007","07/03/1979");</p>

<p><span class="mediumorange">//Total Number of Ads</span><br />
$num = count($adtitle);	</p>

<p><span class="mediumorange">//Spit out the JavaScript</span><br />
for($i=0;$i&lt;$num;$i++){<br />
<span class="red">?&gt;</span></p>

<p>var <span class="red">&lt;?</span> echo"$adname[$i]"; <span class="red">?&gt;</span> = '&lt;strong&gt;<span class="red">&lt;?</span> echo"$adtitle[$i]"; <span class="red">?&gt;</span>&lt;/strong&gt;Uploaded on &lt;? echo"$aduploaded[$i]"; <span class="red">?&gt;</span>';<br />
<span class="red">&lt;?</span> } <span class="red">?&gt;</span></blockquote></p>

<p>So this may look worse (and maybe it is) but it's way cooler. I used those arrays you see up there because I wasn't plugged in to their database, but if you know a little PHP, you can easily infer that database-driven data could fill those arrays up. So essentially this script says:<br />
<blockquote>"How many ads do we have here? Okay, 9? Let's run a loop and create 9 variable declarations and then go get some pizza."</blockquote></p>

<p>One of the trickiest things was to visualize what the end-result JavaScript syntax needed to be so that I could write the PHP accordingly. I had to "View Source" countless times until I got the script right.</p>

<p>Well, that's one of my latest adventures of nerdery. That shopping cart has plenty of other chunks of complexity (it got much worse than declaring variables believe you me). It was pretty cool to actually complete, and a miracle to see operate correctly.</p>]]></description>
            <link>http://fusionfox.com/2008/03/mixing-javascript-and-php.html</link>
            <guid>http://fusionfox.com/2008/03/mixing-javascript-and-php.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">ajax</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">dhtml</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">dynamic</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">javascript</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">php</category>
            
            <pubDate>Sat, 08 Mar 2008 12:58:48 -0700</pubDate>
        </item>
        
        <item>
            <title>Downtime</title>
            <description><![CDATA[<p>I've made significant headway on <a href="http://fusionfox.com/2007/11/fusionfox_version_7.html">the new FusionFox website design</a>, so I'll begin implementing it here over the next couple of weeks. I'll soon replace the site with a simple "coming soon" splash page.</p>

<p>Overall, I think the new design is brighter, crisper, and hopefully more elegant. It's certainly not much more frilly or flamboyant, since that still hasn't weaved its way into my design style. I'll be sure to make a big fuss once the new site's implementation is complete.</p>

<blockquote><strong>Disclaimer:</strong> If <a href="http://labrums.org/about">my wife</a> experiences pre-term labor, I reserve the right to delay the publication of the new design significantly.</blockquote>

<p>I guess I reserve that right no matter what, but it's worth mentioning that my life may, at any minute, go nuts. Once the kids come, I'll have little to no time for any FusionFoxing (yep, it's a verb now).</p>]]></description>
            <link>http://fusionfox.com/2008/02/downtime.html</link>
            <guid>http://fusionfox.com/2008/02/downtime.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Everything Else</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">downtime</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">redesign</category>
            
            <pubDate>Mon, 18 Feb 2008 18:31:57 -0700</pubDate>
        </item>
        
        <item>
            <title>A Free Calculator!</title>
            <description><![CDATA[<p>If you live in Utah, you have undoubtedly experienced a Les Olsen Company advertisement. LOC provides copiers and other such office equipment to the area, and their ads are ubiquitous and boring. They rely on their staff to read lifeless scripts and they play their jingle until your ears bleed.</p>

<p>I recently heard a radio ad where LOC confirmed the lack of thought behind their advertisements. They pitched an offer to the whole Beehive State that you can visit one of their stores and <strong>get a <em>free</em> calculator!</strong></p>

<p>What!? Who in the world wants a free calculator? Did someone accidentally order 10,000 calculators and now you have to get rid of them? Of all the tchotchkes you could think of, you went with the most uninspiring and undesirable one on the planet. "Here, customers, do your math homework!" I just don't get it.</p>

<p>I'm inclined to believe that people would be far more interested in something like an ice cream cone (assuming your advertising budget is tight (which is a pretty safe assumption)).</p>

<p>Come on, Les, hire a <strong>real</strong> advertising firm since you own so much airtime so that we can at least be entertained a little.</p>]]></description>
            <link>http://fusionfox.com/2008/01/a-free-calculator.html</link>
            <guid>http://fusionfox.com/2008/01/a-free-calculator.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Everything Else</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">advertisement</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">calculator</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">jingle</category>
            
            <pubDate>Tue, 22 Jan 2008 08:49:35 -0700</pubDate>
        </item>
        
        <item>
            <title>Fusionfox: Version 7</title>
            <description><![CDATA[<p><img src="/images/7.jpg" alt="Version 7 Coming Soon" class="imagerightnoborder" />This blog has grown a little tired and unused in recent months. I figure that a primary cause is the fact that I have a <a href="http://labrums.org" target="_blank">couple</a> <a href="http://northtemple.com" target="_blank">other</a> <a href="http://sandlotillustrated.com" target="_blank">outlets</a> to speak what's on my mind. I have given a lot of thought to a redesign of this site. If you've been watching, you'll notice that it seems to be that time again to redesign everything that I use on a continual basis. Thus far, my ideas for this site include:<br />
<ul><li>More emphasis on my services as an interaction designer, as well as how I like to work.</li><li>A portfolio that's easier to update and provides more information (visual and otherwise) about each piece of work.</li><li>De-emphasizing my blog (maybe) and making it more of a tumblelog (I love tumbling).</li><li>Making the entire site dynamic such that no page reloads are required. I know, it's debatable whether or not that's a good thing, but I'm tinkering with the idea. That would be much more difficult if I keep the blog, though.</li><li>New blog software (<a href="http://movabletype.org" target="_blank">Movable Type 4</a>). I'm currently running 3.31, I believe, and 4 is wayhayay better.</li><li>Non-image blog titles. This becomes a pain after a while, though the non-standard type is fun.</li><li>A new design which is hopefully an improvement.</li></ul></p>

<p>I've got several other projects queued up, so I'm not certain when this will happen, but I'm likely to start tinkering with designs in the coming weeks. Overall, this will be the seventh online design I have created for Fusionfox since 2002, when I first booked the domain name. It's crazy that I just celebrated my five-year-iversary. </p>

<p>You could have gone your whole life without reading this article, but thanks for reading anyway.</p>]]></description>
            <link>http://fusionfox.com/2007/11/fusionfox-version-7.html</link>
            <guid>http://fusionfox.com/2007/11/fusionfox-version-7.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Design</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">redesign</category>
            
            <pubDate>Fri, 30 Nov 2007 17:13:02 -0700</pubDate>
        </item>
        
        <item>
            <title>A New Labrums.org</title>
            <description><![CDATA[<p><img src="/images/newlabrums.jpg" alt="New Labrums.org" class="imageright" />I finally got around to updating my family blog. I've gone for a <a href="http://northtemple.com" target="_blank">NorthTemple</a>-ish structure where I can have options for different post types. We hope to keep that blog a little more alive now that it'll be easier to post shorter stuff.</p>

<p>Anyway, head on over and check it out. Please forgive the IE bugs. This site will be one of the next that I redesign, but it'll be a while before that happens.</p>

<p><a href="http://labrums.org/" target="_blank">Labrums.org</a></p>]]></description>
            <link>http://fusionfox.com/2007/10/a-new-labrumsorg.html</link>
            <guid>http://fusionfox.com/2007/10/a-new-labrumsorg.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Design</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">design</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">labrums.org</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">redesign</category>
            
            <pubDate>Sat, 06 Oct 2007 14:03:07 -0700</pubDate>
        </item>
        
        <item>
            <title>I Was Way Off</title>
            <description><![CDATA[<p>The results are in, and it looks like the highly anticipated toys from Apple do not include an iPhone Nano as <a href="http://fusionfox.com/2007/07/iphone_nano_predictions.html">I had hoped</a>. It looks like the features I was close on were the decreased height of the device (it looks like the iPod Touch isn't as tall as the iPhone) and that it doesn't cost as much to get a phone from Apple. Other than those stretches of the imagination, it looks like Apple went a different way. I'm okay with that, though.<br />
<img src="/images/ipodtouch.jpg" style="margin-left:70px;" alt="My iPhone Nano Prediction vs. the Real Thing" /><br />
I went to the Apple Store over the weekend to accompany my mom and my sister on a shopping spree (lil' sis's Compaq crashed, and it was time to upgrade her life to Macness; she got a new 13" Macbook, an 80GB iPod Classic, iWork '08, and some accessories; I know, it was like Christmas morning for her). I checked out the iPod Nanos and they look <strong>great</strong>. I was expecting them to be much larger and fatter, but they are still pretty small and slick. Apple is going to make bank this holiday season. I hope to help them make bank in <a href="http://www.apple.com/iphone/" target="_blank">some way</a>.</p>]]></description>
            <link>http://fusionfox.com/2007/09/i-was-way-off.html</link>
            <guid>http://fusionfox.com/2007/09/i-was-way-off.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Technology</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Apple</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone Nano</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPod Classic</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPod Nano</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPod Touch</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iWork</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Macbook</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">prediction</category>
            
            <pubDate>Tue, 11 Sep 2007 09:08:10 -0700</pubDate>
        </item>
        
        <item>
            <title>Portfolio Refresh</title>
            <description><![CDATA[<p>After quite a while, I finally updated <a href="/portfolio/">my portfolio</a>. I've added prototypes from four projects I've worked on this year via freelancing. I've had a great time with each.</p>

<p>If you've looked at my portfolio recently you may need to clear your browser's cache for the new images to appear. Since my portfolio runs inside Flash, a simple refresh doesn't quite cut it.</p>

<p>There's more on the way. Thanks for visiting.</p>]]></description>
            <link>http://fusionfox.com/2007/09/portfolio-refresh.html</link>
            <guid>http://fusionfox.com/2007/09/portfolio-refresh.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Design</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">portfolio</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">prototypes</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">refresh</category>
            
            <pubDate>Mon, 03 Sep 2007 12:50:01 -0700</pubDate>
        </item>
        
        <item>
            <title>iPhone Nano Predictions</title>
            <description><![CDATA[<p>Right after the glorious Macworld Keynote in January of this year, I <a href="http://fusionfox.com/2007/01/the_249_iphone.html">wrote an article</a> about my desire for a cheaper, simpler iPhone. The <a href="http://www.appleinsider.com/articles/07/07/24/quanta_lands_orders_for_new_apple_iphone_model_report.html" target="_blank">rumor mill is grinding</a> and it sounds like my dreams are going to come true (hopefully). I thought I'd throw my hat into the ring to offer up my predictions for what the device will have.</p>

<p>Here are my thoughts:<br />
<ul><li>Considering that manufacturing has already begun so soon after the iPhone, I will make the assumption that the form will be largely the same. It would make sense for them to make it a bit smaller so that it's distinguishable physically from the iPhone.</li><li>I'm betting (as are many other speculators) that the device will be a phone and an iPod. The functionality for those two parts of the phone will be identical to the iPhone.</li><li>All the other features and apps will be present that don't require a data plan.</li></ul></p>

<p>Here's my visual take on what it'll be as well as my price predictions:<br /><br />
<img src="/images/iphonenano.jpg" alt="iPhone Nano vs. iPhone" style="margin-left:65px;" /></p>

<p>Some speculators claim it will be available as soon as September so it's here in full-force for the holidays. I'm anxious to see what it turns out to be.</p>]]></description>
            <link>http://fusionfox.com/2007/07/iphone-nano-predictions.html</link>
            <guid>http://fusionfox.com/2007/07/iphone-nano-predictions.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Technology</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">AppleInsider</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone Nano</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPod</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Keynote</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Macworld</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">prediction</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">rumor</category>
            
            <pubDate>Wed, 25 Jul 2007 16:41:47 -0700</pubDate>
        </item>
        
    </channel>
</rss>
