<?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>Cloud Four &#187; Mobile Web and Services</title>
	<atom:link href="http://www.cloudfour.com/category/mobile-web-and-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudfour.com</link>
	<description>Expert Web and Mobile Design, Development and Strategy</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:22:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Will Apple’s New TV Feature a Browser?</title>
		<link>http://www.cloudfour.com/will-apples-new-tv-feature-a-browser/</link>
		<comments>http://www.cloudfour.com/will-apples-new-tv-feature-a-browser/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 17:22:10 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2228</guid>
		<description><![CDATA[The rumor mill has been going full tilt with expectations that Apple is going to release a new TV product either this year or next. The rumors have been accelerated by Steve Jobs declaring that he had “finally cracked” how to make a usable TV. If we take Steve Jobs at his word, then a [...]]]></description>
			<content:encoded><![CDATA[<p>The rumor mill has been going full tilt with expectations that Apple is going to release a new TV product either this year or next. The rumors have been accelerated by Steve Jobs declaring that he had “<a href="http://www.forbes.com/sites/briancaulfield/2011/10/21/steve-jobs-on-tv-i-finally-cracked-it/">finally cracked</a>” how to make a usable TV.</p>
<p>If we take Steve Jobs at his word, then a question for web developers to ponder is whether or not this new TV will include a browser. Let’s take a look at some of the arguments for and against including a browser.</p>
<h4>Reasons why a new Apple TV will not include a browser</h4>
<ul>
<li>The current Apple TV does not have a browser.</li>
<li>Browsers on TVs have not had the best user experience and adoption has been low.</li>
<li>When announcing the latest Apple TV, Steve Jobs said, people “<a href="http://articles.businessinsider.com/2010-09-01/tech/30059652_1_google-tv-apple-tv-nexus-one">don&#8217;t want a computer on their TV</a>. They have computers. They go to their wide-screen TVs for entertainment. Not to have another computer. This is a hard one for people in the computer industry to understand, but it&#8217;s really easy for consumers to understand. They get it.”</li>
</ul>
<h4>Reasons why a new Apple TV might include a browser</h4>
<ul>
<li>Apple TV is built on top of iOS and has the WebKit rendering engine built in.</li>
<li>People jailbreaking their Apple TV have been able to get <a href="http://firecore.com/atvflash-black">access to the browser</a>.</li>
<li>There is a good chance that an App Store for Apple TV would be one of the major mechanisms for getting new content to the Apple TV.</li>
<li>If Apple TV had an App Store, support for embedded webviews would be necessary as many apps these days combine native and web components including Apple’s own iTunes, Apple Store, and App Store apps.</li>
<li>If embedded webviews and an App Store are available, someone will build a browser absent a specific policy from Apple against browsers. Such a policy seems unlikely as it would be difficult to enforce and cause an unnecessary backlash.</li>
<li>If others are going to create browsers for the platform, it makes sense that Apple would want to define the default browsing experience by shipping Safari on the platform.</li>
<li>Steve Jobs has a history of dismissing something until Apple has solved how it wants to implement it (see: multi-tasking in iOS).</li>
</ul>
<h3>Why worry about what Apple will do?</h3>
<p>It wasn’t too long ago that people believed <a href="http://www.nytimes.com/2007/11/25/technology/25proto.html">no one wanted to use the web on their mobile phones</a>. The iPhone proved that to be wrong.</p>
<p>Now we hear similar refrains about how no one uses the web on their TV. If Apple releases a new TV and they include a browser, we may again see a shift in user behavior that would disprove those assertions.</p>
<p>If that happens, the challenges of building web pages will again increase as we all start to consider how to address a new form factor that we’ve long ignored.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/will-apples-new-tv-feature-a-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>There is a mobile web…at least for advertisers</title>
		<link>http://www.cloudfour.com/there-is-a-mobile-webat-least-for-advertisers/</link>
		<comments>http://www.cloudfour.com/there-is-a-mobile-webat-least-for-advertisers/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 14:33:34 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2217</guid>
		<description><![CDATA[When I wrote about the business challenges of responsive web design (RWD), advertising was a minor point in my mind. I was more interested in the challenges of analytics and search engines. But since I wrote the post, the idea that advertisers want to target mobile web differently than desktop web keeps coming back into [...]]]></description>
			<content:encoded><![CDATA[<p>When I wrote about the <a href="http://www.cloudfour.com/responsive-web-design-business-challenges/">business challenges of responsive web design (RWD)</a>, advertising was a minor point in my mind. I was more interested in the challenges of analytics and search engines.</p>
<p>But since I wrote the post, the idea that advertisers want to target mobile web differently than desktop web keeps coming back into my thoughts.</p>
<p>Last year there was a bit of debate about whether or not there is such a thing as the mobile web. I wrote about this in my post <a href="http://www.cloudfour.com/on-mobile-context/">On My Context</a>. There are links in that post to much of the online conversation at the time.</p>
<p>I don’t want to rehash all of that conversation. Instead, I want to highlight one paragraph from my post on the <a href="http://www.cloudfour.com/responsive-web-design-business-challenges/">business challenges of RWD</a>:</p>
<blockquote><p>Sometimes advertisers just want to advertise on one form factor and not another. App developers who want to drive app store purchases may not be interested in advertising on desktop. An advertiser interested in location-based advertising is also unlikely to consider responsive advertising desirable.</p></blockquote>
<p>I wrote that paragraph without thinking much about it. It seemed obvious then and even now I find it hard to refute.</p>
<p>When it comes to advertising, it seems clear that there is value in distinguishing the mobile web from the desktop web (and yes, the tablet web, the tv web, etc.).</p>
<p>Whether or not the way advertisers look at the mobile web can or should influence the way web site publishers look at the web is a separate question. A question that I keep finding myself pondering without resolution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/there-is-a-mobile-webat-least-for-advertisers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Responsive Web Design Business Challenges</title>
		<link>http://www.cloudfour.com/responsive-web-design-business-challenges/</link>
		<comments>http://www.cloudfour.com/responsive-web-design-business-challenges/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 05:19:03 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>
		<category><![CDATA[Top Stories]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2207</guid>
		<description><![CDATA[During the Future of Mobile Web summit that dotMobi sponsored, I brought up a series of responsive web design (RWD) challenges that I’ve been thinking about that have little to do with technical implementations. John Leonard from dotMobi commented that he hadn’t read any blog posts about them. Time to remedy that. Search Engine Optimization [...]]]></description>
			<content:encoded><![CDATA[<p>During the <a href="http://mobiforge.com/browsers/blog/future-mobile-web-request-submissions">Future of Mobile Web summit</a> that <a href="http://mtld.mobi/">dotMobi</a> sponsored, I brought up a series of responsive web design (RWD) challenges that I’ve been thinking about that have little to do with technical implementations. John Leonard from dotMobi commented that he hadn’t read any blog posts about them. Time to remedy that.</p>
<h3>Search Engine Optimization</h3>
<p>Google, Bing and Yahoo all have <a href="http://searchengineland.com/5-tips-for-optimal-mobile-site-indexing-107088">different search bots for mobile</a>. Google’s recommendations on <a href="http://googlewebmastercentral.blogspot.com/2011/02/making-websites-mobile-friendly.html">how to make sites mobile friendly</a> are all based around building separate sites and then ensuring that the Google mobile bot is redirected to the mobile version. Matt Cutts has talked about this in a <a href="http://www.youtube.com/watch?v=mY9h3G8Lv4k">video answer</a> and Google has gone so far as to describe <a href="http://googlewebmastercentral.blogspot.com/2009/11/running-desktop-and-mobile-versions-of.html">how you should redirect the Google mobile bot</a> in some detail.</p>
<p>What does this mean for sites using responsive web design? Honestly, I don’t know. Nor does anyone else it appears. There is some question about whether or not mobile SEO is even worth pursuing.</p>
<p>But it is worrisome. Google recently announced that <a href="http://googlemobileads.blogspot.com/2011/09/mobile-website-optimization-now-factors.html">mobile website optimization now factors into mobile search ads quality</a>. I’ve seen no indication that Google is considering responsive web design in its definition of mobile optimization. The announcement linked to several case studies and articles illustrating separate sites as the approach.</p>
<p>This is probably a problem with the search engines and not with responsive web design as a technique, but if a company relies on search engine traffic for revenue, it likely won’t matter who is to blame.</p>
<h3>Advertising</h3>
<p>There’s been a lot written about the difficulty of incorporating advertising into responsive design. Most of the focus has been on the fact that ads aren’t designed to be responsive breaking responsive layouts.</p>
<p>But there is another more structural issue: sometimes advertisers just want to advertise on one form factor and not another. App developers who want to drive app store purchases may not be interested in advertising on desktop. An advertiser interested in location-based advertising is also unlikely to consider responsive advertising desirable.</p>
<p>Will responsive web designs be able to participate in the growing mobile advertising opportunity?</p>
<h3>Analytics</h3>
<p>Most web analytics tools that support mobile provide an option to use a server side way of tracking instead of tracking via JavaScript. This is offered because many older devices either don’t support JavaScript or support it so poorly that using JavaScript-based tracking code is problematic.</p>
<p>Bryan and Stephanie Rieger have talked about how in their experience switching to the server-side code will show a lot more mobile traffic from a wider variety of devices than if you stick to the JavaScript version.</p>
<p>The problem is that you can’t run both the JavaScript and the server-side (mobile) variant on the same page. The analytics vendors recommend using the server-side code on your mobile site and the JavaScript one on your desktop site because the JavaScript version has a lot more data and features than the server-side one.</p>
<p>Sites using responsive web design will need to choose between more accurate data about the total mobile traffic (server-side tracking code) or deeper information about a small set of visitors (JavaScript tracking code).</p>
<h3>Content Delivery Networks (CDNs)</h3>
<p>On a responsive web design that takes care to provide only the assets that are appropriately sized for the device requesting the page, the images will vary based on the device. This causes problems with content delivery networks that have become accustomed to being able to cache a single asset for all devices or at worst caching a desktop and a mobile version of the asset.</p>
<p>As <a href="https://twitter.com/xbs">Ronan Cremin</a> put it, CDNs may now need to cache different images based on the entire spectrum of devices accessing a site. FWIW, depending on how they are implemented, this can be a problem for separate sites as well.</p>
<h3>One way in which RWD does not resemble the transition to standards</h3>
<p>The move towards responsive web design has been compared by many to the changes that happened when web design went from being table-based to using web standards and CSS layouts. The Boston Globe’s new site has been compared to the impact that the ESPN and Wired redesigns in proving the value of web standards.</p>
<p>It may be that my faulty memory, but I don’t remember a similar list of potential drawbacks from a business perspective to making the change to CSS-based layouts. If anything, things standards-based layouts had great business benefits because of the increased semantic markup leading to better search rankings and the leaner code helping with page performance and bandwidth costs. Yes, like responsive web design, retraining staff and changing infrastructure could be a major undertaking, but there wasn’t concern that making a change would negatively impact search rankings or make analytics more difficult.</p>
<p>And I honestly don’t know how big of a problem any of these things are with the exception of the analytics problem which seems clearly to be a pickle. It may be that search engine rankings aren’t impacted at all. But the fact that we don’t know seems like something that should be sorted out and considered if those things are critical to the success of a given project or client.</p>
<p>And to be 100% clear, I’m not saying people shouldn’t do responsive web design. Even if you were to build separate sites, you should still do responsive web design for the separate sites.</p>
<p>I’m simply saying these are challenges and concerns that I don’t think we’ve currently got good answers for.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/responsive-web-design-business-challenges/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Mobile web workshop in New York — We need your help</title>
		<link>http://www.cloudfour.com/mobile-web-workshop-in-new-york-%e2%80%94-we-need-your-help/</link>
		<comments>http://www.cloudfour.com/mobile-web-workshop-in-new-york-%e2%80%94-we-need-your-help/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 17:41:58 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Cloud Four Stories]]></category>
		<category><![CDATA[Conferences & Speaking Engagements]]></category>
		<category><![CDATA[Mobile Web and Services]]></category>
		<category><![CDATA[Top Stories]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2189</guid>
		<description><![CDATA[Lyza and I are giving a mobile web workshop next week at WebVisions NYC. We’re preparing an outstanding workshop for web designers and developers who want to learn how to build for mobile devices. We’re very excited about the workshop. It’s going to rock, but we need your help! But we’ve got a problem. We [...]]]></description>
			<content:encoded><![CDATA[<p>Lyza and I are giving a <a href="http://www.webvisionsevent.com/new-york/workshops/workshop-jason-grigsby/">mobile web workshop</a> next week at <a href="http://www.webvisionsevent.com/new-york/">WebVisions NYC</a>. We’re preparing an outstanding workshop for web designers and developers who want to learn how to build for mobile devices. We’re very excited about the workshop. <strong>It’s going to rock, but we need your help!</strong></p>
<p>But we’ve got a problem. We came up with a fun theme (Zombie Apocalypse!) to make the workshop interesting, but we’ve heard people were reluctant to register for the workshop because they didn’t get it. <img src='http://www.cloudfour.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Since we heard about the registration problem, we’ve lept into action:</p>
<ul>
<li>We’ve rewritten the <a href="http://www.webvisionsevent.com/new-york/workshops/workshop-jason-grigsby/">workshop description</a> so it is clearer what people will learn at the workshop.</li>
<li>We’ve posted a <a href="http://www.cloudfour.com/wvnyc-zombie/">fun preview</a> of the talk. The preview made me giggle multiple times when I read what Lyza had wrote.</li>
<li>We’re here asking for your help.</li>
</ul>
<p><strong>We need your help getting the last minute word out</strong>. If you can take a moment to share the event, we would appreciate it. Particularly if you know people in New York who would benefit, we would be grateful if you pass the word onto them directly.</p>
<p style="text-align:center"><a href="http://www.cloudfour.com/wvnyc-zombie/"><img src="http://www.cloudfour.com/wp-content/uploads/2012/01/zombie.png" alt="Zombie Apocalypse of Devices Preparedness 101 Workshop Preview" title="Workshop preview" /></a></p>
<h3>And of course we have discounts to share</h3>
<p>WebVisions has provided us with a way to save 40% on conference passes. There are two options:</li>
<ol>
<li>Save 40% off a conference pass, get a FREE pass to Thomas Phinney’s “Web Typography Best Practices” workshop ($250 value) and a 60-day unlimited WebINK account (register at <a href="http://wvnyc-webink.eventbrite.com/">http://wvnyc-webink.eventbrite.com/</a>), OR</li>
<li>Save 40% on conference passes to WebVisions NYC and receive a FREE Workshop pass ($250 value) to Kevin Hoyt’s “Web Standards Playground” (register at <a href="http://wvnyc-adobe.eventbrite.com/">http://wvnyc-adobe.eventbrite.com/</a>).</li>
</ol>
<p>I honestly had to read that a few times to make sure I understood the deal correctly. Seriously, 40% off and you get a free workshop? My guess is that Adobe and WebINK are helping sponsor the discounts which is pretty cool way to get into a workshop and save money.</p>
<h3>WebVisions is a fantastic event</h3>
<p>WebVisions is new to New York, but it has been going on in Portland for several years now. It always has fantastic speakers and the line up in New York is no different. Please help us make the event a success.</p>
<p>Thanks in advance for spreading the word. We greatly appreciate it and promise we’ll be less cutesy and more descriptive in our workshop abstracts from now on. <img src='http://www.cloudfour.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/mobile-web-workshop-in-new-york-%e2%80%94-we-need-your-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preferred solutions for responsive images</title>
		<link>http://www.cloudfour.com/preferred-solutions-for-responsive-images/</link>
		<comments>http://www.cloudfour.com/preferred-solutions-for-responsive-images/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 21:53:34 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2159</guid>
		<description><![CDATA[Scott Jehl recently tweeted: I concur. A couple of months ago, I asked what you preferred as a solution for responsive images. At the time, I didn’t have a strong opinion. But over the last couple of weeks, I’ve become increasingly comfortable with a direction that Scott Jehl, Ethan Marcotte and I discussed on twitter [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/scottjehl">Scott Jehl</a> recently tweeted:</p>
<p style="text-align:center;"><a href="http://twitter.com/#!/scottjehl/status/134437217262247936"><img src="http://www.cloudfour.com/wp-content/uploads/2011/11/scott-time-to-shift-conv2.png" alt="Time to shift the responsive imgs discussion to how we'd actually prefer to do things, and then make it happen. Attrs? CSS? JS? New headers?"  /></a></p>
<p>I concur. A couple of months ago, I asked <a href="http://www.cloudfour.com/responsive-imgs-part-3-future-of-the-img-tag/">what you preferred as a solution for responsive images</a>. At the time, I didn’t have a strong opinion. But over the last couple of weeks, I’ve become increasingly comfortable with a direction that Scott Jehl, Ethan Marcotte and I <a href="http://storify.com/grigs/future-responsive-images">discussed</a> on twitter recently.</p>
<h3>Short run solution: preparse attribute</h3>
<p>In September, Scott Jehl proposed a solution that might be fairly easy for browser makers to implement in the short run: adding a preparse attribute to the script tag.</p>
<p style="text-align:center;"><a href="https://twitter.com/#!/scottjehl/status/119836986101075968"><img src="http://www.cloudfour.com/wp-content/uploads/2011/11/scott-preparse.png" alt="@grigs silly: &lt;script preparse&gt; //document.src references raw HTML src document.src = document.src.replace( pattern, replacement ) &lt;/script&gt;" /></a></p>
<p>Like the <a href="http://www.w3.org/TR/html5/scripting-1.html#attr-script-defer">defer and async</a> attributes, there is a general use case for document authors to be able to tell the browser that a piece of javascript will impact the loading of assets and thus should be executed before parsing begins. There are probably even use cases that have nothing to do with asset downloading where telling the browser to execute javascript before parsing would be beneficial.</p>
<p>One of the other suggestions for solving this was for browsers to standardize on how they load assets. I don’t like that idea because it prevents browsers from experimenting on ways to parse pages and load assets more quickly.</p>
<p>If authors explicitly tell the browser when javascript loading matters (preparse, defer or async), it allows browser makers to experiment freely in other situations.</p>
<h3>Long run solution: improvements to img tag</h3>
<p>In the long run, I don’t like the idea that solutions require javascript. Images are content or presentation which means it should be possible to handle it with HTML and CSS alone.</p>
<p>Therefore, I would like to see one of these two improvements to the img tag:</p>
<code style="white-space:pre;margin:10px 0 10px 0;">
&lt;img alt="butterfly"&gt;
  &lt;source src="butterfly-small.png" media="max-device-width:480px" /&gt; 
  &lt;source src="butterfly-large.png" media="min-device-width:481px" /&gt;
&lt;/img&gt;

</code>
<p style="font-size:x-small">Modified from <a href="http://twitter.com/bryanrieger">Bryan</a> and <a href="http://twitter.com/stephanierieger">Stephanie Rieger</a>’s <a href="http://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu">Rethinking the Mobile Web</a> talk.</p>
<p>This is my preferred option, but I’m unclear on how older browsers would handle an image tag that contains child elements.</p>
<p><a href="http://twitter.com/#!/_crossdiver">Isaac Lewis</a> put together a <a href="http://ikelewis.com/the-future.html">test page</a> using this style of markup. It would be great to collect some feedback on old browser support to see if it works or causes problems.</p>
<p>If that won’t work because of legacy browsers, the following variation <a href="http://old.nabble.com/add-html-attribute-for-%22responsive-images%22-td32324865.html">proposed</a> by <a href="http://twitter.com/novolodesign">Anselm Hannemann</a> should:</p>
<code style="white-space:pre;">
&lt;img src="http://cdn.url.com/img/myimage_xs.jpg" 
     media-xs="(min-device-width:320px and max-device-width:640px)" 
     media-src-xs="http://cdn.url.com/img/myimage_xs.jpg"  
     media-m="(min-device-width:640px and max-device-width:1024px)" 
     media-src-m="http://cdn.url.com/img/myimage_m.jpg"  
     media-xl="(min-device-width:1024px)" 
     media-src-xl="http://cdn.url.com/img/myimage_xsl.jpg" 
/&gt;

</code>

<h3>Why not headers?</h3>
<p>I would love the browser to send more data to the server about the device making the request, but I don’t think servers should be necessary for the image tag to work in a responsive design.</p>
<p>I also think there is a decent chance that screen size is just the first of many headers we’d like the browser to send along. I don’t want to open up pandora’s box, but it would be nice to get something that felt more like a comprehensive solution instead of a bandaid.</p>

<h3>Why not a different, progressive image format?</h3>
<p>I’d love this, but feel wholly unqualified to judge what it would take. I’m not sure how long something like that would take to implement and what sort of patent minefield might lie there.</p>

<h3>So let’s start with the preparse attribute</h3>

<p>Unless someone points a major flaw with the preparse idea, I’m going to submit it as a feature request to the appropriate people to get the ball rolling.</p>
<p>Which reminds me, does anyone know where I should start? <img src='http://www.cloudfour.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/preferred-solutions-for-responsive-images/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Clarification on device detection for images</title>
		<link>http://www.cloudfour.com/clarification-on-device-detection-for-images/</link>
		<comments>http://www.cloudfour.com/clarification-on-device-detection-for-images/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 20:38:42 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2128</guid>
		<description><![CDATA[Jeremy Keith has taken issue with my post about using device detection as a future friendly solution for responsive images. I think he missed the point. The entire post was about what technique to teach in the book we’re writing. A book that has a deadline at the end of the month. Jeremy writes: The [...]]]></description>
			<content:encoded><![CDATA[<p>Jeremy Keith has <a href="http://adactio.com/journal/4997/">taken issue</a> with my post about using <a href="http://www.cloudfour.com/device-detection-as-the-future-friendly-img-option/">device detection as a future friendly solution for responsive images</a>. I think he missed the point.</p>
<p>The entire post was about what technique to teach in the <a href="http://www.amazon.com/gp/product/1449302661/ref=as_li_tf_tl?ie=UTF8&#038;tag=clofou-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=1449302661">book</a> we’re writing. A book that has a deadline at the end of the month.</p>
<p>Jeremy writes:</p>
<blockquote><p>
The solution seems clear: we need to standardise on browser download behaviour …which is exactly what the HTML standard is doing (along with standardising error handling).
</p></blockquote>
<p>That would be awesome. Doesn’t help with the book. He continues:</p>
<blockquote><p>
That’s why I was surprised by Jason’s conclusion that device detection is the future-friendly img option.</p></blockquote>
<p>Two bits of clarification:</p>
<ol>
<li>The thing that makes it future friendly isn’t the device detection. It is the fact that the markup is unchanged. It buys people time until either browsers standardize download behavior, we have a replacement for the image tag or someone finds a yet undiscovered way to solve this problem. Every other technique requires changes to the markup that are specific to a particular solution and rely on browser behavior that hasn’t been standardized.</li>
<li>Again, my post was in regards to the questions I asked about which technique to teach in the book. I outlined the <a href="http://www.cloudfour.com/what-responsive-img-technique-should-we-teach-in-our-book/">constraints of the book series</a> and talked about how I entertained the idea of teaching the <a href="http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/">noscript technique</a> before being talked out of it. Basically, I provided a lot of context for how I was evaluating the techniques for the book.</li>
</ol>
<p>In addition to standardizing download behavior, Jeremy describes ways that he would like to  see device detection improve. All of these are advances we’d welome. They are things that we might even have time to work on once the book is complete. But they aren’t the constraints I outlined in my posts and thus the rebuttal misses the mark.</p>
<p>So yes, device detection, as Jeremy says, is <em>present-friendly</em> way of keeping you from butchering your markup in a way that kinda, sorta works with today’s browsers, but may not work for tomorrow’s browsers.</p>
<p>However, having clean, semantic markup that so you can quickly replace device detection with a better solution in the future is the part that is attractive and arguably more future friendly than picking one of other unproven solutions and littering your markup in the hopes these solutions prove to work in the long run.</p>
<p>With that, I’ll conclude the same way I did my last post:</p>
<blockquote><p>At least that’s how I see it for the book. <em>For your project and use case, <a href="http://adactio.com/journal/4437/">it depends</a></em>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/clarification-on-device-detection-for-images/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Device detection as the future friendly img option</title>
		<link>http://www.cloudfour.com/device-detection-as-the-future-friendly-img-option/</link>
		<comments>http://www.cloudfour.com/device-detection-as-the-future-friendly-img-option/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 07:32:19 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2111</guid>
		<description><![CDATA[Last week I wrote about why I was considering teaching the noscript technique in our book and asked for someone to talk me out of it before I committed what I feared would be a long-lasting crime against web development. The post worked. I got some great feedback, and I’ve decided against using noscript in [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I <a href="http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/">wrote</a> about why I was considering teaching the <a href="http://www.cloudfour.com/responsive-imgs-part-2/#noscript">noscript technique</a> in our <a href="http://www.amazon.com/gp/product/1449302661/ref=as_li_tf_tl?ie=UTF8&#038;tag=clofou-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=1449302661">book</a> and asked for someone to talk me out of it before I committed what I feared would be a long-lasting crime against web development.</p>
<p>The post worked. I got some great feedback, and I’ve decided against using noscript in the <a href="http://www.amazon.com/gp/product/1449302661/ref=as_li_tf_tl?ie=UTF8&#038;tag=clofou-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=1449302661">book</a>.</p>
<p>Instead, I’m going to use <a href="http://www.sencha.com/learn/how-to-use-src-sencha-io/">Sencha.io SRC</a> (aka TinySRC) in the book. Much to my surprise, it seems like the most <a href="http://futurefriend.ly">future friendly</a> option.</p>
<h3>The problem with the noscript version</h3>
<p>Sometimes I need something explained to me multiple times before I get it. Understanding why using noscript was a problem for semantic markup was one of those times.</p>
<p>Fortunately, <a href="http://twitter.com/stephenhay">Stephen Hay</a> got through my thick skull with this paragraph from an email he sent:</p>
<blockquote><p>Noscript means we get an empty arbitrary container element and a noscript element in our HTML, which is meaningful only within the context of this particular solution. Other methods, take <a href="https://github.com/filamentgroup/Responsive-Images">Scott Jehl&#8217;s<br />
data-attr method</a> as an example, at least begin with an image element. This, in contrast to the noscript technique, is meaningful in *any context in which HTML can be understood*, whether by machines or by people.</p></blockquote>
<p><a href="http://twitter.com/brad_frost">Brad Frost</a> and <a href="http://twitter.com/bryanrieger">Bryan Rieger</a> also provided helpful feedback that reinforced Stephen’s point and jarred me back to my senses. And <a href="http://twitter.com/souders">Steve Souders</a> pointed out a <a href="http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/#comment-36059">bunch of performance issues</a> I hadn’t fully considered.</p>
<h3>Device detection as the most future friendly option</h3>
<p>In a follow up email, Stephen laid out a line of logic that made choosing to teach TinySRC a no brainer. I will attempt to paraphrase it here.</p>
<p>While there are many <a href="http://www.cloudfour.com/responsive-imgs-part-2/">responsive imgs techniques</a>, they primarily fall into three main approaches:</p>
<ol>
<li><b>Client side solutions that rely on cookies and browser parsing order.</b> — These solutions can be done with semantic markup, but they rely on current browser behavior. Yoav Weiss has done some <a href="http://blog.yoav.ws/2011/09/Preloaders-cookies-and-race-conditions">tests on preloaders and cookies</a> showing that images sometimes get downloaded before the cookie is set. Because this is based on the current way browsers parse documents and not a standard, it could break at any time.</li>
<li><b>Noscript techniques.</b> — Works reliably, but is an obvious hack (and a brilliant one). Not sustainable because the markup of the page no longer contains the full meaning that it once had.</li>
<li><b>Images being handled by device detection.</b> — Device detection uses the user agent string to make decisions. I’ve been referring to device detection as the third-rail of web development. Like politics and religion, device detection is a topic you want to avoid if you want to have pleasant conversations. But a lot of people use TinySRC without incident.</li>
</ol>
<p>For the book, we need to pick something that will stand the test of time. That’s what makes me nervous about option 1. Who knows when it will suddenly stop working (if it hasn’t already given Yoav’s tests).</p>
<p>Between options 2 and 3, we have a hack that requires us to change our markup in a solution-dependent way (noscript) and a solution that relies on the very thing most web developers have come to despise (user agent based detection). Here I must quote Stephen again because he says it so well:</p>
<blockquote><p>When you asked about future-friendliness, I tried to think ahead to the future and imagine what the state of these documents might be. My stance is that when we no longer need device detection, we simply remove it. All of our files are intact, as they have been left alone. Our markup is still meaningful. The content is still properly structured. Not so with the noscript hack, which requires us to revert to the markup we could have had in the first place. The choice&#8212;for me at least&#8212;was clear: device detection is a pluggable solution, which can be &#8220;unplugged&#8221; once a better solution comes along.</p></blockquote>
<p>The idea that something like TinySRC is a pluggable solution which can be unplugged is incredibly compelling. We don’t have a fantastic, client-side only solution. Or at least, we don’t have one that I feel confident enough in to include in a book and not fear that it will look foolish six months from now.</p>
<p>Plus, Stephen is not a fan of device detection. He isn’t simply falling back to what he is comfortable with. If anything, it is the opposite of what he would prefer to do.</p>
<p>I do have some concerns about teaching something that relies on a third-party like Sencha.io SRC, but I feel <a href="http://twitter.com/jamespearce">James Pearce</a> will keep it running through sheer force of will if nothing else. And if it does go away, the book does teach device detection fundamentals which would give someone the basic tools they need to create their own image service.</p>
<p>How strange it is to think of device detection as the most future friendly of the three options? I find it hard to argue with the logic.</p>
<p>At least that’s how I see it for the book. For your project and use case, <a href="http://adactio.com/journal/4437/">it depends</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/device-detection-as-the-future-friendly-img-option/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Responsive IMGs: Choosing between semantic markup and working code</title>
		<link>http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/</link>
		<comments>http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 18:29:13 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2090</guid>
		<description><![CDATA[I asked recently what responsive IMG technique we should teach in our book? Unsurprisingly, there wasn’t a clear winner in the comments. After agonizing over this for a couple of weeks, I’m leaning towards using the noscript technique as the primary example in the chapter with additional information on where to find the other approaches. [...]]]></description>
			<content:encoded><![CDATA[<p>I asked recently <a href="http://www.cloudfour.com/what-responsive-img-technique-should-we-teach-in-our-book/">what responsive IMG technique we should teach in our book</a>? Unsurprisingly, there wasn’t a clear winner in the comments.</p>
<p>After agonizing over this for a couple of weeks, I’m leaning towards using the <a href="http://www.cloudfour.com/responsive-imgs-part-2/#noscript">noscript technique</a> as the primary example in the chapter with additional information on where to find the other approaches.</p>
<p>I’m towards this approach despite the fact that <a href="http://twitter.com/#!/scottjehl/status/119804411408166912">Scott Jehl<a>, <a href="http://twitter.com/#!/beep/status/119803899543695360">Ethan Marcotte</a> and <a href="http://www.cloudfour.com/what-responsive-img-technique-should-we-teach-in-our-book/#comment-34477">Brad Frost</a> all feel that the noscript technique isn’t <a href="http://futurefriend.ly">future friendly</a>. So as you can imagine, I’m terrified that I’m making a big mistake. <img src='http://www.cloudfour.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As I understand it, the argument against noscript as a technique is that it isn’t semantic markup. The attributes for the eventual img tag are put on the noscript tag which isn’t where they belong. Attributes for images belong on the img tag.</p>
<p>I’m probably butchering the arguments against noscript which is why I’m writing this post in hopes of understanding it better before it is too late for the book.</p>
<h3>Why teach the noscript technique</h3>
<p>Here are the reasons why I’m leaning towards using the noscript technique in the book:</p>
<ul>
<li>
<p><b>We need to use one technique to build a web page in the chapter.</b><br />A few people suggested talking about a few different techniques and their relative merits instead of teaching one technique. That might work in a different kind of book, but won’t cut it for a Heads First book. Every chapter is structured to include a real project, exercises and working code.</p>
<p>We can talk about how all of this is very new, but at some point we need to show how to the handle images on the web page that the learner is building in the chapter.</p>
<p>It is easiest to think of the chapters as stories. We have a protagonist (the learner) and a journey they are on. Teaching multiple techniques would be choosing one path for the story, go down that path, and then suddenly say, “Alright, now let’s go back to where we started and go down that other path.” It wouldn’t work.</p>
</li>
<li>
<p><b>I want to avoid server-side resizing of images.</b><br /> I know server resizing of images is probably a core part of a long term solution, but I need to teach the challenges of determining the size of the screen and picking the appropriate image. How do you tell the browser what image to download? After we’ve taught the challenges, then we can talk about server-side resizing. Otherwise, it seems like there is a magical black box taking care of things for us.</p>
</li>
<li>
<p><b>I can’t guarantee that the other techniques will work.</b><br /> Every other client-side technique relies on assumptions about the order in which browsers will load assets. We’ve already discarded dynamic base tags because the browser behavior changed and images were getting loaded twice. Yoav Weiss has done some <a href="http://blog.yoav.ws/2011/09/Preloaders-cookies-and-race-conditions">tests on preloaders and cookies</a> showing that images sometimes get downloaded before the cookie is set. This will result in multiple image downloads.</p>
</li>
<li>
<p><b>We don’t have a wide deployment of any of these techniques.</b><br /> The Boston Globe’s images haven’t been fixed yet. Our book deadline looms. Whatever we choose is going to be unproven.</p>
</li>
<li>
<p><b>I can explain why noscript works.</b> Yes, the noscript solution is easier to implement because it doesn’t require Apache rewrite rules and cookies, but that alone wouldn’t be enough to cause me to shy away from it. We’re teaching WURFL in the book so we’re not shying away from teaching complex things.</p>
<p>When I say I can explain how noscript works, I mean I can explain clearly why images don’t get downloaded. The browser knows before the page loads whether or not javascript is available. If it is available, the img inside the noscript tag won’t get loaded. This behavior is easy to understand and reliable. It has worked this way since the noscript tag was created.</p>
<p>After all of this research, I still don’t have a clear explanation of the preloading behavior of browsers. Without doing extensive testing or reviewing the loading code for every browser, I don’t think we’re ever really going to understand how it works nor be confident it won’t change in the future.</p>
</li>
<li>
<p><b><a href="http://www.headlondon.com/our-thoughts/technology/posts/creating-responsive-images-using-the-noscript-tag">Elegance of a wading hippo</a> notwithstanding, noscript works.</b><br /> As far as I can tell, it works 100% of the time. I’ve been trying to think of conditions in which it wouldn’t work and haven’t come up with any.</p>
</li>
<li>
<p><b><a href="http://twitter.com/tylersticka">Tyler Sticka</a> would teach noscript.</b><br /> In addition to being a fabulous web designer, Tyler teaches a college course on web design and development. I had the opportunity to speak to his students last year. When I think about whom we’re writing this book for, I think about people like Tyler’s students. Because of that, Tyler’s endorsement means a lot to me.</li>
</ul>
<p>To summarize, it feels like I have to choose between semantic purity and something that works reliably. Because the focus of the book is on the practical, not the theoritical, I think we have to choose the solution that works while pointing out the problems with it. We’re absolutely going to talk about how this is the bleeding edge.</p>
<h3>Avoiding a spacer gif mistake</h3>
<p>Back in 1995 when David Siegel was writing Creating Killer Websites, it is unlikely that he could anticipate the impact his book had on web development. Similarly, I can’t know what impact our book will have.</p>
<p>While it may be illusions of grandeur to think it matters much which technique we pick in our book, I do feel a great responsibility to avoid doing harm. I don’t want to find myself in Siegel’s shoes five years from now writing a mea culpa about how <a href="http://www.xml.com/pub/a/w3j/s1.people.html">The Web is Ruined and I Ruined it</a>.</p>
<p>Hence this post. One last chance to hear arguments for why we shouldn’t teach the noscript tag and what we should teach instead.</p>
<p>And if you’re reading this five years from now and the web is in fact ruined: I’m sorry. I did my best.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/responsive-imgs-choosing-between-semantic-markup-and-working-code/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Other Mobile First Responsive Web Design Challenges</title>
		<link>http://www.cloudfour.com/other-mobile-first-responsive-web-design-challenges/</link>
		<comments>http://www.cloudfour.com/other-mobile-first-responsive-web-design-challenges/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 21:00:25 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2082</guid>
		<description><![CDATA[Alright, I’ve written extensively on the challenges with the IMG tag for mobile first responsive web designs. What other challenges are people running into? Here’s what I’ve seen: Video (especially embedding third-party video) — Looks like Fitvids.js is the solution a lot of people are using. See also Elastic Video. BTW, if you’re doing a [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, I’ve written extensively on the <a href="http://www.cloudfour.com/responsive-imgs-part-2/">challenges with the IMG tag</a> for mobile first responsive web designs. What other challenges are people running into?</p>
<p>Here’s what I’ve seen:</p>
<ul>
<li><strong>Video (especially embedding third-party video)</strong> — Looks like <a href="http://fitvidsjs.com/">Fitvids.js</a> is the solution a lot of people are using. See also <a href="http://webdesignerwall.com/tutorials/css-elastic-videos">Elastic Video</a>. BTW, if you’re doing a lot of video, it is probably a good idea to look into how you can use HTTP Adaptive bitrate streaming to send different quality video based on data connection and CPU.</li>
<li><strong>Data tables</strong> — Chris Coyier’s excellent <a href="http://css-tricks.com/9096-responsive-data-tables/">Responsive Data Tables</a> article explains three different possibilities for solving this.</li>
<li><strong>Third-party ad networks and social widgets</strong> — This is biggest problem. It’s a problem whether you’re doing responsive design or not. Scott Jehl talks a little about <a href="http://speakerdeck.com/u/scottjehl/p/responsive-responsible">how they handled ads on the Boston Globe</a> in his presentation from the <a href="http://bdconf.com">Breaking Development Conference</a> (pg 97).</li>
</ul>
<p>What am I missing? What other challenges do you see?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/other-mobile-first-responsive-web-design-challenges/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Responsive IMGs Part 3 — Future of the IMG Tag</title>
		<link>http://www.cloudfour.com/responsive-imgs-part-3-future-of-the-img-tag/</link>
		<comments>http://www.cloudfour.com/responsive-imgs-part-3-future-of-the-img-tag/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 17:54:14 +0000</pubDate>
		<dc:creator>Jason Grigsby</dc:creator>
				<category><![CDATA[Mobile Web and Services]]></category>
		<category><![CDATA[Top Stories]]></category>

		<guid isPermaLink="false">http://www.cloudfour.com/?p=2044</guid>
		<description><![CDATA[The conversation in the comments on part 1 and 2 of this Responsive IMGs series have been exceptional. If you read the articles, but didn’t read the comments, I encourage you to go read them. There are people much smarter than me in those comment threads. One of common conclusion from the commenters is that [...]]]></description>
			<content:encoded><![CDATA[<p>The conversation in the comments on part <a href="http://www.cloudfour.com/responsive-imgs/">1</a> and <a href="http://www.cloudfour.com/responsive-imgs-part-2/">2</a> of this Responsive IMGs series have been exceptional. If you read the articles, but didn’t read the comments, I encourage you to go read them. There are people much smarter than me in those comment threads.</p>
<p>One of common conclusion from the commenters is that our current IMG tag isn’t going to cut it. That we need some sort of replacement that is <a href="http://futurefriend.ly">future friendly</a>. This isn’t the first time the idea of expanding or replacing the IMG tag has come up.</p>
<p>I promised to collect some of these proposals so we can discuss their relative merits.</p>
<h3>Current proposals and discussions to replace or extend the IMG tag</h3>
<p>As far as I know, there hasn’t been a formal proposal submitted to any standards bodies, but there have been several conversations worth highlighting. I was going to try to summarize the various proposals, but there hasn’t been a lot of consensus. I’m afraid that to get up to speed, you’re going to have to read the threads.</p>
<dl>
<dt style="margin-bottom:8px"><a href="http://lists.w3.org/Archives/Public/public-html/2011May/0386.html">Adaptive Images</a> on W3C HTML mailing list</dt>
<dd>
<p>At the end of May, <a href="http://twitter.com/dontcallmedom">Dom Hazael-Massieux</a> kicked off a lengthy thread talking about <a href="http://lists.w3.org/Archives/Public/public-html/2011May/0386.html">Adaptive Images</a> with two ideas: a srclist attribute and new image file format that would be a text file containing a list of images.</p>
<p>The thread continues with many other ideas including new http headers, progressive image formats, and general media formats with queries.</p>
<p>BTW, Adaptive Images has been added as a placeholder on the <a href="http://www.w3.org/wiki/HTML/next#Adaptive_Images">HTML.next</a> list.</p>
</dd>
<dt style="margin-bottom:8px"><a href="http://robertnyman.com/2011/05/30/discussing-alternatives-for-various-sizes-of-the-same-image-introducing-src-property-in-css-as-an-option/">Discussing Alternatives For Various Sizes Of The Same Image &#038; Introducing src Property In CSS As An Option</a> by <a href="http://twitter.com/#!/robertnyman">Robert Nyman</a></dt>
<dd>Robert asks the question, “whether various sizes of the same image is really content or presentation?” If it is presentation, then it should be in CSS. Again, great discussion in the comments.</dd>
<dt style="margin-bottom:8px"><a href="http://nicolasgallagher.com/responsive-images-using-css3/">Responsive images using CSS3</a> by <a href="http://twitter.com/#!/necolas">Nicolas Gallagher</a></a></dt>
<dd>“This method relies on the use of @media queries, CSS3 generated content, and the CSS3 extension to the attr() function.” This means it relies on already existing standards without creating anything new. Unfortunately, it doesn’t prevent multiple images from being downloaded and currently only Opera supports the CSS3 content property. That said, if we could get browser makers to change download behavior, this could work with existing standards.</dd>
<dt style="margin-bottom:8px"><a href="http://blog.yoav.ws/2011/05/My-take-on-adaptive-images">My take on adaptive images</a>, <a href="http://blog.yoav.ws/2011/07/Responsive-images---hacks-won-t-cut-it">Responsive images &#8211; hacks won&#8217;t cut it</a>, and <a href="http://blog.yoav.ws/2011/07/Simpler-responsive-images-proposal">Simpler responsive images proposal</a> by <a href="http://twitter.com/#!/yoavweiss">Yoav Weiss</a></dt>
<dd>
<p>No one has been blogging more about the need for a better solution than Yoav. His proposals have changed over time. The simpler responsive images proposal is his latest version, but they are all worth reading to see his thoughts and the feedback on each post.</p>
</dd>
<dt style="margin-bottom:8px"><a href="http://old.nabble.com/add-html-attribute-for-%22responsive-images%22-td32324865.html">add html-attribute for &#8220;responsive images&#8221;</a> on WhatWG mailing list</dt>
<dd>
<p><a href="https://twitter.com/#!/anselmhannemann">Anselm Hannemann</a> started a recent thread on the WhatWG mailing list proposing using media- and inline media queries to provide different images. One of the things notable about this thread is that there are some on the list who don’t think the current situation is a problem or if it is a problem, that it is a niché use case. We have some education to do.</p>
<dt style="margin-bottom:8px">Comments on Responsive IMGs <a href="http://www.cloudfour.com/responsive-imgs/#comments">Part 1</a> and <a href="http://www.cloudfour.com/responsive-imgs-part-2/#comments">Part 2</a></dt>
<dd>
<p>It seems weird to link to my own posts, but the comments on each post contain some good suggestion. Scott Jehl <a href="http://www.cloudfour.com/responsive-imgs-part-2/#comment-33692">said</a>, “It’s unfortunate the comment streams of these images posts are separated. Good stuff going on in both.” I agree. Best I can do is link them up with this post.</p>
</dd>
</dl>
<h3>What are our goals for a replacement for the IMG tag?</h3>
<p>As I read through the conversations about the potential replacements or extensions for the IMG tag, I’m struck by the fact that people seem to all see the same problem, but haven’t yet come up with common criteria that could be used to evaluate different potential solutions. Until that exists, we won’t have consensus.</p>
<p>For example, I would love to have the browser send more data via HTTP headers that would allow us to make determinations on the server about what size image to send. But I don’t think that will work as a replacement for the IMG tag because we need something that will work for HTML widgets where the server isn’t part of the picture.</p>
<p>(Psst&#8230; but seriously browser makers, more headers would be great!)</p>
<p>So what should be our criteria. Here is start from my perspective:</p>
<ul>
<li>It should be an HTML element and not solely CSS because IMGs are often part of the content. IMGs are semantic.</li>
<li>The solution should work without server content negotiation so that it can be used for HTML widgets. This doesn’t preclude servers being part of the solution, but we need a solution that will work if servers aren’t in the mix.</li>
<li>Current caching and proxy strategies cannot be ignored. Because of this, different image sizes likely need to be at unique URLs or the wrong size image for a given user will end up cached at the edge of the network.</li>
<li>It should support <a href="http://www.cloudfour.com/responsive-imgs/#arbitrarysize">arbitrary image sizes</a> and <a href="http://www.cloudfour.com/responsive-imgs/#highres">pixel density</a>.</li>
<li>It should support <a href="http://www.cloudfour.com/responsive-imgs/#artdirection">art direction</a> decisions to change the image at different sizes.</li>
<li>It should be a framework that will allow for future expansion based on factors beyond screen size. For example, if the browser provides information about the speed of the network connection, the designer or developer should be able to decide on the most appropriate image. We don’t have to define this now, but we shouldn’t box ourselves in to only looking at screens size.</li>
</ul>
<p>That’s my start on criteria. What did I get wrong? What would you add? And of the various IMG tag replacements that have been suggested, which do you think holds the most promise?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudfour.com/responsive-imgs-part-3-future-of-the-img-tag/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.892 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-04 00:49:32 -->

