<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><description>The writings and findings of a web designer.</description><title>Mighty Dream</title><generator>Tumblr (3.0; @egrossnickle)</generator><link>http://tumble.mightydream.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/mightydream" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="mightydream" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://tumblr.superfeedr.com/" /><item><title>"It is so important to be light on your feet, inquisitive and interested in being wrong. You have..."</title><description>“It is so important to be light on your feet, inquisitive and interested in being wrong. You have that wonderful fascination with the what if questions, but you also need absolute focus and a keen insight into the context and what is important - that is really terribly important. Its about contradictions you have to navigate.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Jony Ive on what makes a great designer&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/19289610190</link><guid>http://tumble.mightydream.com/post/19289610190</guid><pubDate>Wed, 14 Mar 2012 10:07:33 -0400</pubDate></item><item><title>"Designers have traditionally been paid a lot of money to make what people want; meanwhile, most..."</title><description>“Designers have traditionally been paid a lot of money to make what people want; meanwhile, most startups fail because they make things that people don’t actually want!”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.fastcodesign.com/1664034/a-new-vc-model-that-turns-designers-not-techies-into-startup-ceos"&gt;Enrique Allen&lt;/a&gt;&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/6734149385</link><guid>http://tumble.mightydream.com/post/6734149385</guid><pubDate>Mon, 20 Jun 2011 17:25:30 -0400</pubDate></item><item><title>Brief is a clean and simple chat style that aims to fix one of...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lkbk1rn10y1qz8sm0o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://media.miekd.com/brief/"&gt;Brief&lt;/a&gt; is a clean and simple chat style that aims to fix one of the many missteps introduced in Skype 5.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/4986520846</link><guid>http://tumble.mightydream.com/post/4986520846</guid><pubDate>Wed, 27 Apr 2011 12:21:28 -0400</pubDate></item><item><title>Amazing music video loaded with guest appearances for Beastie...</title><description>&lt;embed src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:644573" width="400" height="249" type="application/x-shockwave-flash" flashvars="configParams=id%3D1518071%26vid%3D644573%26uri%3Dmgid%3Auma%3Avideo%3Amtv.com%3A644573" allowfullscreen="true" allowscriptaccess="always" base="."&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Amazing music video loaded with guest appearances for Beastie Boys’ new track, &lt;em&gt;Make Some Noise&lt;/em&gt;. Great way to tease the extended 30-minute version of it—a short film called &lt;em&gt;Fight For Your Right Revisited&lt;/em&gt;.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/4808670169</link><guid>http://tumble.mightydream.com/post/4808670169</guid><pubDate>Thu, 21 Apr 2011 12:24:40 -0400</pubDate><category>music</category><category>hip-hop</category></item><item><title>"…design is not something that you add in at the end when you’re trying to pick a color scheme..."</title><description>“…design is not something that you add in at the end when you’re trying to pick a color scheme or how curvy the corners are going to be. Design is something that you have to build in from the beginning.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.npr.org/blogs/alltechconsidered/2010/12/30/132477388/undesigned-the-symbiotic-relationship-of-steve-jobs-and-jonathan-ive"&gt;Keith Sawyer&lt;/a&gt; on &lt;em&gt;design thinking&lt;/em&gt;, a movement largely spearheaded by Apple&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/2590722261</link><guid>http://tumble.mightydream.com/post/2590722261</guid><pubDate>Mon, 03 Jan 2011 22:51:00 -0500</pubDate><category>apple</category><category>design</category><category>theory</category></item><item><title>
Title track from The Stuyvestants’ Brooklyn’s...</title><description>&lt;embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/1433553105/tumblr_lb2i1rWm951qz8sm0&amp;color=FFFFFF" height="27" width="207" quality="best" wmode="opaque"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://thestuyvesants.com/"&gt;&lt;img src="http://27.media.tumblr.com/tumblr_lb2i1rWm951qz8sm0o1_cover.jpg" alt="The Stuyvestants - Brooklyn's Finest" width="207" height="207"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Title track from &lt;a href="http://thestuyvesants.com/"&gt;The Stuyvestants’&lt;/a&gt; &lt;em&gt;Brooklyn’s Finest&lt;/em&gt; album…&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;25 tracks of blood, sweat, and tears…backed by a serious passion for hearing and creating great music. Come join music producer Allan Cole (&lt;a href="http://algorythmusic.com/"&gt;Algorythm&lt;/a&gt;) and record collector Darien Victor Birks (&lt;a href="http://flwrpt.com/"&gt;Flwrpt&lt;/a&gt;) on a journey through the sound of Bed-Stuy.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So good. Great logo, too.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/1433553105</link><guid>http://tumble.mightydream.com/post/1433553105</guid><pubDate>Fri, 29 Oct 2010 15:57:00 -0400</pubDate><category>beats</category><category>vinyl</category><category>hip-hop</category></item><item><title>Boot company, Palladium, filmed a documentary about the rebirth...</title><description>&lt;embed src="http://player.ooyala.com/player.swf?embedCode=5qamlwMTrY0vUEPg88yBWEJWxvuRKTLo&amp;version=2" bgcolor="#000000" width="400" height="225" name="ooyalaPlayer_8rtdc_gdur2vny" play="false" loop="false" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" flashvars="&amp;embedCode=5qamlwMTrY0vUEPg88yBWEJWxvuRKTLo&amp;autoplay=0" pluginspage="http://www.adobe.com/go/getflashplayer"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Boot company, &lt;a href="http://palladiumboots.com"&gt;Palladium&lt;/a&gt;, filmed a documentary about the rebirth of Detroit titled, &lt;a href="http://palladiumboots.com/exploration/detroit"&gt;&lt;em&gt;Detroit Lives&lt;/em&gt;&lt;/a&gt;. I’ve never been to Detroit, but its rapid decline and hopeful recovery is a fascinating subject. Plus, this type of dual-purpose edutainment/advertising is one I can live with. (via &lt;a href="http://twitter.com/tylershick/status/22005383508"&gt;Tyler Shick&lt;/a&gt;)&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/1009479180</link><guid>http://tumble.mightydream.com/post/1009479180</guid><pubDate>Wed, 25 Aug 2010 12:38:00 -0400</pubDate><category>documentary</category><category>Detroit</category></item><item><title>Peter Belanger photographed the cover of the September edition...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l6l9cjGybs1qz8sm0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Peter Belanger photographed the cover of the September edition of Macworld with an iPhone 4 and did all the post-processing on the phone itself. He normally uses a 60MP camera. (via &lt;a href="http://daringfireball.net/linked/2010/08/02/iphone-4-camera-macworld"&gt;Gruber&lt;/a&gt;)&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/898951340</link><guid>http://tumble.mightydream.com/post/898951340</guid><pubDate>Tue, 03 Aug 2010 14:14:43 -0400</pubDate><category>magazine</category><category>photography</category><category>iphone</category></item><item><title>A Few Things…</title><description>&lt;p&gt;Hey, you! This tumblelog&amp;#8217;s been quiet for a minute, but I recently made a couple updates that are worth touching on.&lt;/p&gt;
&lt;h3&gt;Ads by Yoggrt&lt;/h3&gt;
&lt;p&gt;Not one for ads in general, I&amp;#8217;ve caved in and joined the &lt;a href="http://yoggrt.com"&gt;Yoggrt&lt;/a&gt; ad network as a publisher. Really, though, I don&amp;#8217;t see it as &amp;#8220;caving in&amp;#8221; because they&amp;#8217;re some of the classiest around — small (160x90 pixels), unobtrusive, well-designed, and the advertisers tend to relate in some way to the content I publish. I think I&amp;#8217;ve also managed to integrate it into the sidebar pretty well, too.&lt;/p&gt;
&lt;h3&gt;New Web Clip Icon&lt;/h3&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_l5yze4U9Br1qz8pju.png" class="border left solo"/&gt;With the arrival of the iPhone 4 (and the iPad, for that matter), my old 57-pixel Web Clip icon wasn&amp;#8217;t looking too hot my home screen. So, I whipped up a new 114-pixel icon, uploaded it, and tested it out. Quick and easy, right? Unfortunately, no. The new icon was showing up crisp and clear on the &amp;#8220;Add to Home&amp;#8221; screen, but once it was added to the home screen, it was blurry and pixelated. Thinking the &lt;code&gt;apple-touch-icon&lt;/code&gt; meta tag was wrong or outdated, I investigated further only to find jQTouch was still handling everything correctly. Does the icon &lt;em&gt;have&lt;/em&gt; to be in the root directory? Nope. Looking around, I noticed some people were using 129-pixel icons; so I scaled mine up, but that didn&amp;#8217;t fix the problem either.&lt;/p&gt;
&lt;p&gt;Thinking I was going crazy, I finally came across a &lt;a href="http://blog.iwalt.com/2010/06/ios-4-web-app-home-screen-icon-bug.html"&gt;post by Walt Dickinson&lt;/a&gt; mentioning the same problem. Apparently, if you&amp;#8217;re using &lt;code&gt;apple-mobile-web-app-capable&lt;/code&gt; meta tag (which I was) to make your web app look more like a native app (fullscreen, no Safari chrome), there&amp;#8217;s a bug in iOS4 that distorts the icon on the home screen. Ugh, really? Nevertheless, I removed the tag in favor of a crisper looking icon. So, until they fix it, it&amp;#8217;s basically just a bookmark to the mobile site.&lt;/p&gt;
&lt;h3&gt;Tidying Up&lt;/h3&gt;
&lt;p&gt;Aside from these, I&amp;#8217;ve cleaned up a couple other minor things:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Updated social network links: removed Facebook and Brightkite, added Dribbble and Gowalla&lt;/li&gt;
&lt;li&gt;Recent authentication changes to the Twitter API caused the &amp;#8216;recent tweet&amp;#8217; box on my &lt;a href="http://mightydream.com/about/"&gt;About&lt;/a&gt; page to return blank — it&amp;#8217;s fixed now&lt;/li&gt;
&lt;li&gt;Pushed the logo a little to the left&lt;/li&gt;
&lt;li&gt;Updated my @font-face declarations to make them more compatible&lt;/li&gt;
&lt;li&gt;Changed the two photos of me to ones taken &lt;em&gt;this year&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;And that&amp;#8217;s it. I&amp;#8217;m looking forward to being a part of Yoggrt network for a couple reasons, but mostly because I&amp;#8217;m hoping it reinvigorates my posting habits, particularly with more original content. We&amp;#8217;ll see.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/845916086</link><guid>http://tumble.mightydream.com/post/845916086</guid><pubDate>Thu, 22 Jul 2010 13:56:01 -0400</pubDate><category>update</category></item><item><title>FontFonter</title><description>&lt;a href="http://fontfonter.com/"&gt;FontFonter&lt;/a&gt;: &lt;p&gt;&lt;a href="http://stream.simplebits.com/post/837718600/fontfonter"&gt;simplebits&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is a wonderful tool. Enter a URL and replace its fonts with any of FontFonts web fonts. Hmm, this site &lt;a href="http://fontfonter.com/fontfonter?p=http%3A%2F%2Fsimplebits.com&amp;fontgroup1=sans&amp;fontfont1=dagny&amp;fontgroup2=serifs&amp;fontfont2=metaserif"&gt;looks rather nice&lt;/a&gt; with FF Dagny and FF Meta Serif replacing Helvetica and Georgia.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Kinda diggin’ &lt;a href="http://fontfonter.com/fontfonter?p=http%3A%2F%2Ftumble.mightydream.com&amp;fontgroup1=all&amp;fontfont1=kievit&amp;fontgroup2=&amp;fontfont2=miloserif"&gt;my site with FF Kievit Web&lt;/a&gt;.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/841180825</link><guid>http://tumble.mightydream.com/post/841180825</guid><pubDate>Wed, 21 Jul 2010 12:24:47 -0400</pubDate><category>CSS</category><category>typography</category><category>webfonts</category></item><item><title>Louis Harboe has recreated the iOS4 icons in Pure CSS. These are...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l4nxcshsUU1qz7fybo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://blog.graphicpeel.com/post/740928981/ios-icons-made-in-pure-css"&gt;Louis Harboe&lt;/a&gt; has recreated the iOS4 icons in Pure CSS. These are incredible, and totally resolution independent. (via &lt;a href="http://www.webkitbits.com/post/744440867/ios4-icons-css"&gt;webkitbits&lt;/a&gt;)&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/745836986</link><guid>http://tumble.mightydream.com/post/745836986</guid><pubDate>Mon, 28 Jun 2010 10:53:24 -0400</pubDate></item><item><title>"Getting a large, diverse group of people to agree […] means the designer has to be a strategist,..."</title><description>“Getting a large, diverse group of people to agree […] means the designer has to be a strategist, psychiatrist, diplomat, showman, and even a Svengali.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://identityworks.com/forum/logo-design/what-they-dont-teach-you-about-identity-design-in-design-schools/"&gt;Paula Sher&lt;/a&gt; (via &lt;a href="http://blakemacleod.net"&gt;Blake Macleod&lt;/a&gt;, &lt;a href="http://37signals.com/svn/posts/2292-another-thing-they-dont-teach-you-in-design-s"&gt;Signal vs. Noise&lt;/a&gt;)&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/542504314</link><guid>http://tumble.mightydream.com/post/542504314</guid><pubDate>Fri, 23 Apr 2010 02:03:48 -0400</pubDate><category>truth</category></item><item><title>A promotional product for audio firm, GGRP, the record jacket...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kzunmpNvdR1qz8sm0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;A promotional product for audio firm, &lt;a href="http://ggrp.com"&gt;GGRP&lt;/a&gt;, the record jacket transforms into a record player that is manually operated with a pencil. Be sure to take a look at the accompanying 50s-style instructional video, too. Designed by &lt;a href="http://grey.com/canada/"&gt;Grey Vancouver&lt;/a&gt;. Now, how can I get ahold of one?&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/472900673</link><guid>http://tumble.mightydream.com/post/472900673</guid><pubDate>Thu, 25 Mar 2010 14:07:09 -0400</pubDate><category>music</category><category>vinyl</category><category>DIY</category><category>concept</category></item><item><title>jarredbishop:

Extension.fm is really quite awesome. Once...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_ky3y9lMaBR1qz6irvo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://jarredbishop.tumblr.com/post/399164532/extension-fm-is-really-quite-awesome-once"&gt;jarredbishop&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://extension.fm/"&gt;Extension.fm&lt;/a&gt; is really quite awesome. Once installed, when you view a page (or your dashboard) that contains mp3s, they get added to your library (sortable by blog, artist &amp; album).&lt;/p&gt;
&lt;p&gt;Another great feature is that whenever you play an song on a page, it gets played in the plugin (and not the page) meaning you can close that page, or go elsewhere and the song won’t get interrupted (probably my biggest gripe with web-based music).&lt;/p&gt;
&lt;p&gt;My only feature request would be shuffle functionality. If you need some fodder to fill your library, stop by &lt;a href="http://%E2%99%AA.tumblr.com"&gt;♪.tumblr.com&lt;/a&gt; &amp; &lt;a href="http://eplp.tumblr.com"&gt;eplp&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumble.mightydream.com/post/403121740</link><guid>http://tumble.mightydream.com/post/403121740</guid><pubDate>Sun, 21 Feb 2010 14:19:00 -0500</pubDate><category>music</category><category>web app</category></item><item><title>Driver's Seat</title><description>&lt;p&gt;Growing tired of my current crop of wallpapers, I set out to create something non-distracting and easy on the eyes, and that I could leave up for a while and not get burnt out on. So far, I&amp;#8217;m about one month in, it&amp;#8217;s still up and I&amp;#8217;m not yet tired of it — your mileage may vary. Named after those perforated, breathable seats found in many automobiles, here&amp;#8217;s Driver&amp;#8217;s Seat:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mdrm.it/c"&gt;&lt;img class="border" src="http://media.tumblr.com/tumblr_kx0ua3A5xV1qz8pju.png"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Included are both Apple-branded and plain versions in the following sizes:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;1920x1200&lt;/b&gt; (Cinema Display)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;1400x900&lt;/b&gt; (15&amp;#8221; MacBook Pro)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;1200x800&lt;/b&gt; (13&amp;#8221; MacBook [Pro])&lt;/li&gt;
&lt;li&gt;&lt;b&gt;320x480&lt;/b&gt; (iPhone)&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tumble.mightydream.com/post/360041204</link><guid>http://tumble.mightydream.com/post/360041204</guid><pubDate>Fri, 29 Jan 2010 14:54:25 -0500</pubDate><category>wallpaper</category></item><item><title>"Whatever work you do when you are procrastinating from other things is probably what you should be..."</title><description>“Whatever work you do when you are procrastinating from other things is probably what you should be doing for the rest of your life.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://jessicahische.com/"&gt;Jessica Hische&lt;/a&gt;, as said in her &lt;a href="http://humblepied.com/jessica-hische/"&gt;Humble Pied interview&lt;/a&gt;. (via &lt;a href="http://twitter.com/shauninman/status/7965839134"&gt;Shaun Inman&lt;/a&gt;)&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/344841795</link><guid>http://tumble.mightydream.com/post/344841795</guid><pubDate>Wed, 20 Jan 2010 17:01:26 -0500</pubDate><category>advice</category></item><item><title>Optimized for Small Screens</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kvw25tuO701qz8pju.png" class="border"/&gt;&lt;/p&gt;
&lt;p&gt;Before launching this site, I had plans to create two alternate optimized versions: one for iPhone, iPod touch, and devices that run Android (for simplicity, I&amp;#8217;ll refer to this version collectively as &lt;i&gt;iPhone-optimized&lt;/i&gt;), and one for all other mobile devices. Shortly before taking off for the holidays, I wrapped them up and they&amp;#8217;re now live (&lt;a href="http://i.mightydream.com"&gt;iPhone-optimized&lt;/a&gt;, &lt;a href="http://m.mightydream.com"&gt;mobile-optimized&lt;/a&gt;). The iPhone-optimized site incorporates the fantastic &lt;a href="http://jqtouch.com/"&gt;jQTouch&lt;/a&gt; by &lt;a href="http://davidkaneda.com/"&gt;David Kaneda&lt;/a&gt; while the mobile-optimized site is much more simple.&lt;/p&gt;
&lt;h3&gt;iPhone-Optimized Site&lt;/h3&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kvw29a2pcF1qz8pju.png" class="border right"/&gt;I&amp;#8217;ve been keeping tabs on jQTouch for a while now and was glad to finally take it for a spin. For those in the dark, it&amp;#8217;s a &lt;a href="http://jquery.com"&gt;jQuery&lt;/a&gt; plugin that provides a powerful framework for quickly building mobile web applications. While not limited to use on iPhones and iPod touches (it&amp;#8217;s geared to work just as well on Android-powered and other capable devices with WebKit-based browsers, though I can&amp;#8217;t test and confirm), the interface, included themes, and experience are based heavily on that of the iPhone OS.&lt;/p&gt;
&lt;p&gt;With the help of jQTouch, I was able to build an iPhone-optimized counterpart that retains all the same content from the full site relatively quickly and without duplication of content. The about page copy, work entries including their image sets, Tumblr posts, and contact form — it&amp;#8217;s all there.&lt;/p&gt;
&lt;h4&gt;Integrating Into CakePHP&lt;/h4&gt;
&lt;p&gt;Since the main site is built with CakePHP, implementing an alternate iPhone layout was, well, cake. First, the layout (located in views/layouts/iphone.ctp) is triggered in the &lt;code&gt;AppController&lt;/code&gt;&amp;#8217;s &lt;code&gt;beforeFilter&lt;/code&gt; method when the sub-domain, i.mightydream.com, is accessed; here I also set a globally-available variable called &lt;code&gt;is_iphone&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; which is helpful later in the individual controller actions:&lt;/p&gt;
&lt;pre&gt;&lt;code class="brush: php"&gt;class AppController extends Controller {
	...
	
	function beforeFilter() {
		if ($this-&amp;gt;Session-&amp;gt;host == 'i.mightydream.com') {
			$this-&amp;gt;layout = 'iphone';
			$this-&amp;gt;is_iphone = true;
		}
	}
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now, it&amp;#8217;s business-as-usual in Cake with a minor addition to each controller action that also renders a view for the iPhone-optimized site. Each interior page in the iPhone interface is loaded on-the-fly via Ajax to help keep the initial payload down; these requests are made using the same URL structure as the main site (e.g. /about, /work, /work/giftag) and, thus, use the same controller actions. If the previously-set variable, &lt;code&gt;is_iphone&lt;/code&gt;, is &lt;code&gt;true&lt;/code&gt;, the iPhone view is rendered instead of the normal view:&lt;/p&gt;
&lt;pre&gt;&lt;code class="brush: php"&gt;class WorksController extends Controller {
	...
	
	function index() {
		$work = $this-&amp;gt;Work-&amp;gt;find('all');
		$this-&amp;gt;set('work', $work);
		
		if ($this-&amp;gt;is_iphone) $this-&amp;gt;render('iphone/index', 'ajax');
	}
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The addition of the &lt;i&gt;ajax&lt;/i&gt; parameter used in the &lt;code&gt;render&lt;/code&gt; method causes the view to be rendered by itself without a surrounding layout. And that&amp;#8217;s it. These examples are simplified, but at the most basic level this is how I provide an alternate layout.&lt;/p&gt;
&lt;h4&gt;Styling It&lt;/h4&gt;
&lt;p&gt;I started with the &amp;#8220;Apple&amp;#8221; theme included with jQTouch and made various tweaks to fit my own preferences and needs. I cleaned up a few minor pieces that were slightly off, added a tilted arrow for links that open in a new window, and added style support for the spinner shown as sub-pages are loaded via Ajax (which is all of them). Now that it&amp;#8217;s up and running, perhaps my next urge will be to bring it more in-line with the full site, design-wise.&lt;/p&gt;
&lt;p&gt;I also took advantage of jQTouch&amp;#8217;s simple support for bookmarking sites on the home screen. When bookmarked, you&amp;#8217;ll see a custom icon, a loading screen, and true full-screen support which ditches the Mobile Safari address and tool bars.&lt;/p&gt;
&lt;h4&gt;Image Galleries&lt;/h4&gt;
&lt;p&gt;&lt;img class="border left" src="http://media.tumblr.com/tumblr_kvw10yDYkF1qz8pju.png"/&gt;For the image gallery in each work entry, I used a modified version of the jQTouch extention, &lt;a href="http://github.com/RyOnLife/jQTouch-Gallery"&gt;jQTouch-Gallery&lt;/a&gt;, by &lt;a href="http://ryonlife.com"&gt;Ryan McKillen&lt;/a&gt;. It provides a nice interface similar to the native iPhone photo gallery including tapping once to toggle the title and navigation bars for a full-screen view.&lt;/p&gt;
&lt;p&gt;It was also a breeze to implement and I had to make only a few minor modifications: (1) I rearranged the contents of the title bar, and (2) I changed the look of the navigation bar. The transitions I&amp;#8217;d like to bring more in-line with the native UI (sliding only the image instead of flipping the image including the title/navigation bars), but that&amp;#8217;s all for another day.&lt;/p&gt;
&lt;h4&gt;Handling Auto-Redirects&lt;/h4&gt;
&lt;p&gt;&lt;img class="border right" src="http://media.tumblr.com/tumblr_kvw0jtQDB41qz8pju.png"/&gt;There&amp;#8217;s much discussion surrounding how to handle directing visitors to companion mobile site(s). I settled on the approach of automatically redirecting mobile users to the appropriate site, then providing a way to view the full site. On the iPhone-optimized site, tapping the &lt;i&gt;View Full Site&lt;/i&gt; button on the home page will take the user to the full site and remember this preference for 30 days by setting a cookie. Revisiting the iPhone-optimized site directly will reset this preference and return the auto-redirect behavior to normal. The code in question also sits in the &lt;code&gt;AppController&lt;/code&gt;&amp;#8217;s &lt;code&gt;beforeFilter&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class="brush: php"&gt;class AppController extends Controller {
	...
	
	function beforeFilter() {
		if ($this-&amp;gt;Session-&amp;gt;host == 'i.mightydream.com') {
			...
		}
		else if ($this-&amp;gt;Session-&amp;gt;host == 'm.mightydream.com') {
			...
		}
		// or force layout for mobile agents
		else if ($this-&amp;gt;RequestHandler-&amp;gt;isMobile()) {
			// iPhone &amp;amp; Android
			if ((stripos($_SERVER['HTTP_USER_AGENT'], 'iPhone') || stripos($_SERVER['HTTP_USER_AGENT'], 'Android'))) {
				// if the iPhone cookie is simply not set or the user has not tapped "View Full Site", redirect to iPhone site
				if (!isset($_COOKIE['MDRM_iPHONE']) || (isset($_COOKIE['MDRM_iPHONE']) &amp;amp;&amp;amp; (bool)$_COOKIE['MDRM_iPHONE'] != false)) {
					header('Location: i.mightydream.com');
				}
			}
			// mobile
			else {
				header('Location: m.mightydream.com');
			}
		}
	}
}&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Mobile-Optimized Site&lt;/h3&gt;
&lt;p&gt;The mobile-optimized site doesn&amp;#8217;t need much explanation—it&amp;#8217;s simply the raw HTML of the full site with the CSS stripped out. I don&amp;#8217;t believe many people will see/use this, therefore I didn&amp;#8217;t put much effort into it. It&amp;#8217;s here more for the &amp;#8220;see, there&amp;#8217;s a mobile version, too&amp;#8221; factor.&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/322018599</link><guid>http://tumble.mightydream.com/post/322018599</guid><pubDate>Thu, 07 Jan 2010 15:34:00 -0500</pubDate><category>iPhone</category><category>jQTouch</category><category>mobile</category><category>update</category></item><item><title>Delta boarding pass redesigned by Tyler Thompson. More...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kvra8cfkpZ1qz8sm0o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Delta boarding pass redesigned by &lt;a href="http://newtoyork.com/"&gt;Tyler Thompson&lt;/a&gt;. More here: &lt;a href="http://passfail.squarespace.com/"&gt;Redesigning the Boarding Pass&lt;/a&gt; (via @&lt;a href="http://twitter.com/awilkinson/status/7391341136"&gt;awilkinson&lt;/a&gt;)&lt;/p&gt;</description><link>http://tumble.mightydream.com/post/317461434</link><guid>http://tumble.mightydream.com/post/317461434</guid><pubDate>Mon, 04 Jan 2010 23:16:06 -0500</pubDate><category>graphic design</category><category>redesign</category></item><item><title>"The worst thing you can do to anybody trying to be creative is to demand participation in their..."</title><description>“The worst thing you can do to anybody trying to be creative is to demand participation in their vision.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://nymag.com/daily/entertainment/2009/10/chuck_klosterman_on_why_the_un.html"&gt;Chuck Klosterman&lt;/a&gt; (via &lt;a href="http://www.marco.org/"&gt;marco&lt;/a&gt;)&lt;/em&gt;</description><link>http://tumble.mightydream.com/post/291039817</link><guid>http://tumble.mightydream.com/post/291039817</guid><pubDate>Sat, 19 Dec 2009 21:03:05 -0500</pubDate></item><item><title>chrisbowler:

A smart looking app by the team at overcommitted,...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kuuz5phg4C1qz9w2bo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://log.chrisbowler.com/post/289114834/tripmix"&gt;chrisbowler&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A smart looking app by the team at &lt;a href="http://overcommittedapps.com/index.html"&gt;overcommitted&lt;/a&gt;, &lt;a href="http://overcommittedapps.com/tripmix/"&gt;Tripmix&lt;/a&gt; is a nice idea wrapped in a great UI.&lt;/p&gt;
&lt;p&gt;[ via &lt;a href="http://twitter.com/motherfuton/status/6801336712"&gt;@motherfuton&lt;/a&gt; ]&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumble.mightydream.com/post/289195938</link><guid>http://tumble.mightydream.com/post/289195938</guid><pubDate>Fri, 18 Dec 2009 13:57:25 -0500</pubDate></item></channel></rss>

