<?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>Transition Timing</title>
	<atom:link href="http://www.transition-timing.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.transition-timing.net</link>
	<description>CSS, HTML and Webdesign Resource</description>
	<lastBuildDate>Fri, 18 May 2012 02:44:29 +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>Minutes and Resolutions Hamburg F2F 2012-05-10 Part I: Flexbox</title>
		<link>http://www.transition-timing.net/news/minutes-and-resolutions-hamburg-f2f-2012-05-10-part-i-flexbox/</link>
		<comments>http://www.transition-timing.net/news/minutes-and-resolutions-hamburg-f2f-2012-05-10-part-i-flexbox/#comments</comments>
		<pubDate>Fri, 18 May 2012 02:44:29 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=388</guid>
		<description><![CDATA[Flexbox: Box Construction Resolved: Don&#8217;t create anonymous flexbox items that are only whitespace. Resolved: A flex item with visibility: collapse stays in box tree, but has special layout: Do layout once normally, then collapse it to a strut of its &#8230; <a href="http://www.transition-timing.net/news/minutes-and-resolutions-hamburg-f2f-2012-05-10-part-i-flexbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><h3>Flexbox: Box Construction</h3>
<ul>
<li><strong>Resolved:</strong> Don&#8217;t create anonymous flexbox items that are only whitespace.
<li><strong>Resolved:</strong> A flex item with <code>visibility: collapse</code> stays in box tree, but has special layout: Do layout once normally, then collapse it to a strut of its line&#8217;s cross size and lay out again. (This keeps the cross-size stable if the flexbox has only one line.) </ul>
<h3>Flexbox: Flex Property</h3>
<ul>
<li><strong>Resolved:</strong> Give <code>flex</code> the longhands <code>flex-grow</code>, <code>flex-shrink</code>, and <code>flex-grow</code>.
<li><strong>Resolved:</strong> <code>box-sizing</code> affects <code>flex-basis</code>
<li><strong>Resolved:</strong> Use <code>flex-basis</code> for sizing flex items, even inflexible ones.
<li><strong>Resolved:</strong> Flex items are flexible by default.
<li><strong>Resolved:</strong> On flex items, a <code>flex-basis</code> of <code>auto</code> computes to the computed <code>width</code> or <code>height</code> (as appropriate); on elements that are not flex items, it always computes to <code>auto</code>. </ul>
<h3>Flexbox: Flex/Cross Sizing</h3>
<ul>
<li><strong>Resolved:</strong> Accept Alex&#8217;s <a href="http://www.w3.org/mid/2C86A15F63CD734EB1D846A0BA4E0FC81A3EDD72@CH1PRD0310MB381.namprd03.prod.outlook.com">new formulation</a> for negative flexibility.
<li><strong>Resolved:</strong> Negative flexibility is 1 by default.
<li><strong>Resolved:</strong> Add new <code>auto</code> keyword as the initial value of <code>min-width</code> and <code>min-height</code>. On CSS2.1 display types it computes to zero; on flex items it is treated as <code>min-content</code>.
<li><strong>Resolved:</strong> For cross-sizing of a flex line, adopt <a href="http://lists.w3.org/Archives/Public/www-style/2012May/0299.html">proposal C</a>. </ul>
<h3>Flexbox: Pagination</h3>
<ul>
<li><strong>Resolved:</strong> <code>break-before/after: always</code> triggers a flex-line break, and all values that trigger fragmentation on an item in a row flexbox get propagated to the flex line.
<li><strong>Resolved:</strong> Make page-breaking algorithms for flexbox informative, as an example; UAs can do better. </ul>
<h3>Flexbox: Terminology</h3>
<ul>
<li><strong>Resolved:</strong> Rename <code>display:flexbox</code> to <code>display:flex</code>.
<li><strong>Resolved:</strong> Change spec terminology from &#8220;flexbox&#8221; to &#8220;flex container&#8221;, and &#8220;flexbox item&#8221; to &#8220;flex item&#8221; to be more consistent with other specs. </ul>
<p><a href="http://lists.w3.org/Archives/Public/www-style/2012May/0520.html">Full minutes</a></p>
<p>Source: <a href="http://www.w3.org/blog/CSS/2012/05/18/resolutions-33/">CSS WG Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/minutes-and-resolutions-hamburg-f2f-2012-05-10-part-i-flexbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The top 10 apps being blacklisted in the enterprise</title>
		<link>http://www.transition-timing.net/news/the-top-10-apps-being-blacklisted-in-the-enterprise/</link>
		<comments>http://www.transition-timing.net/news/the-top-10-apps-being-blacklisted-in-the-enterprise/#comments</comments>
		<pubDate>Thu, 17 May 2012 23:44:11 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=386</guid>
		<description><![CDATA[Whether they&#8217;re regarded as productivity killers or security risks, many apps have made it onto company blacklists. Source: 10 Things Blog &#124; TechRepublic]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>Whether they&#8217;re regarded as productivity killers or security risks, many apps have made it onto company blacklists.
<p>Source: <a href="http://www.techrepublic.com/blog/10things/the-top-10-apps-being-blacklisted-in-the-enterprise/3228">10 Things Blog | TechRepublic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/the-top-10-apps-being-blacklisted-in-the-enterprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASS vs. LESS</title>
		<link>http://www.transition-timing.net/news/sass-vs-less/</link>
		<comments>http://www.transition-timing.net/news/sass-vs-less/#comments</comments>
		<pubDate>Thu, 17 May 2012 05:39:09 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=384</guid>
		<description><![CDATA[&#8220;Which CSS preprocessor language should I choose?&#8221; is a hot topic lately. I&#8217;ve been asked in person several times and an online debate has been popping up every few days it seems. It&#8217;s nice that the conversation has largely turned &#8230; <a href="http://www.transition-timing.net/news/sass-vs-less/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p><em>&#8220;Which CSS preprocessor language should I choose?&#8221;</em> is a hot topic lately. I&#8217;ve been asked in person several times and an online debate has been popping up every few days it seems. It&#8217;s nice that the conversation has largely turned from whether or not preprocessing is a good idea to which one language is best. Let&#8217;s do this thing.</p>
<p>Really short answer: SASS</p>
<p>Slightly longer answer: SASS is better on a whole bunch of different fronts, but if you are already happy in LESS, that&#8217;s cool, at least you are doing yourself a favor by preprocessing.</p>
<p>Much longer answer: Read on.</p>
<p><span></span></p>
<h3>The Much Longer Answer</h3>
<h4>The Learning Curve with Ruby and Command Line and Whatever</h4>
<p>The only learning curve is the syntax. You should use an app like <a href="http://incident57.com/codekit/">CodeKit</a> to watch and compile your authored files. You need to know jack squat about Ruby or the Command Line or whatever else. Maybe you should, but you don&#8217;t have to, so it&#8217;s not a factor here. </p>
<p>Winner: Nobody</p>
<h4>Helping with CSS3</h4>
<p>With either language, you can write your own mixins to help with vendor prefixes. No winner there. But you know how you don&#8217;t go back and update the prefixes you use on all your projects? (You don&#8217;t.) You also won&#8217;t update your handcrafted mixins file. (Probably.) In SASS you can use <a href="http://compass-style.org/">Compass</a>, and Compass <strong>will</strong> keep itself updated, and thus the prefix situation is handled for you. Yes you&#8217;ll have to keep your local preprocessor software updated and compile/push once in a while, but that&#8217;s trivial and thinking-free.</p>
<p>So what this comes down to is: <strong>SASS has Compass and LESS does not.</strong> But it goes deeper than that. The attempts at creating a real robust project like Compass for LESS haven&#8217;t succeeded because the LESS language isn&#8217;t robust enough to do it properly. More on that next.</p>
<p>Winner: SASS</p>
<h4>Language Ability: Logic / Loops</h4>
<p>LESS has an ability to do &#8220;guarded mixins.&#8221; These are mixins that only take affect <code>when</code> a certain condition is true. Perhaps you want to set a background color based on the current text color in a module. If the text color is &#8220;pretty light&#8221; you&#8217;ll probably want a dark background. If it&#8217;s &#8220;pretty dark&#8221; you&#8217;ll want a light background. So you have a single mixin broke into two parts with these guards that ensure that only one of them takes effect.</p>
<pre><code>.set-bg-color (@text-color) when (lightness(@text-color) &gt;= 50%) { background: black; } .set-bg-color (@text-color) when (lightness(@text-color) &lt; 50%) { background: #ccc; }</code></pre>
<p>So then when you use it, you&#8217;ll get the correct background:</p>
<pre><code>.box-1 { color: #BADA55; .set-bg-color(#BADA55); }</code></pre>
<p>That is overly simplified, but you likely get the idea. You can do some fancy stuff with it. LESS can also do self-referencing recursion where a mixin can call itself with an updated value creating a loop. </p>
<pre><code>.loop (@index) when (@index &gt; 0) { .myclass { z-index: @index; } // Call itself .loopingClass(@index - 1); } // Stop loop .loopingClass (0) {} // Outputs stuff .loopingClass (10);</code></pre>
<p>But thats where the logic/looping abilities of LESS end. SASS has actual logical and looping operators in the language. if/then/else statements, for loops, while loops, and each loops. No tricks, just proper programming. While guarded mixins are a pretty cool, natural concept, language robustness goes to SASS. This language robustness is what makes Compass possible. </p>
<p>For example, Compass has a mixin called <code>background</code>. It&#8217;s so robust, that you can pass just about whatever you want to that thing that it will output what you need. Images, gradients, and any combination of them comma-separated, and you&#8217;ll get what you need (vendor prefixes and all). </p>
<p>This succinct and intelligible code:</p>
<pre><code>.bam { @include background( image-url("foo.png"), linear-gradient(top left, #333, #0c0), radial-gradient(#c00, #fff 100px) ); }</code></pre>
<p>Turns into this monster (which is unfortunately what we need for it to work with as good of browser support as we can get):</p>
<pre><code>.bam { background: url('/foo.png'), -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #333333), color-stop(100%, #00cc00)), -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 100, color-stop(0%, #cc0000), color-stop(100%, #ffffff)); background: url('/foo.png'), -webkit-linear-gradient(top left, #333333, #00cc00), -webkit-radial-gradient(#cc0000, #ffffff 100px); background: url('/foo.png'), -moz-linear-gradient(top left, #333333, #00cc00), -moz-radial-gradient(#cc0000, #ffffff 100px); background: url('/foo.png'), -o-linear-gradient(top left, #333333, #00cc00), -o-radial-gradient(#cc0000, #ffffff 100px); background: url('/foo.png'), -ms-linear-gradient(top left, #333333, #00cc00), -ms-radial-gradient(#cc0000, #ffffff 100px); background: url('/foo.png'), linear-gradient(top left, #333333, #00cc00), radial-gradient(#cc0000, #ffffff 100px); }</code></pre>
<p>Winner: SASS</p>
<h4>Website Niceitude</h4>
<p>LESS has a nicer, <a href="http://lesscss.org/">more usable website</a>. The <a href="http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html">SASS documentation</a> isn&#8217;t awful. It&#8217;s complete and you can find what you need. But when competing for attention from front end people, LESS has the edge. I don&#8217;t doubt this plays a large role in LESS currently winning the popularity race. <a href="http://twitter.com/TeamSassDesign">Things may be changing though.</a></p>
<p>Winner: LESS</p>
<h4>The @extend Concept</h4>
<p>Say you declare a class which has a bit of styling. Then you want another class which you want to do just about the same thing, only a few additional things. In LESS you&#8217;d likely:</p>
<pre><code>.module-b { .module-a(); /* Copies everything from .module-a down here */ border: 1px solid red; }</code></pre>
<p>That&#8217;s an &#8220;include&#8221; essentially. A mixin, in both languages. You could use an include to do that SASS as well, but you&#8217;re better off using <code>@extend</code>. With <code>@extend</code>, the styles from <code>.module-a</code> aren&#8217;t just duplicated down in .mobule-b (what could be considered bloat), the selector for .module-a is altered to <code>.module-a, .module-b</code> in the compiled CSS (which is more efficient).</p>
<pre><code>.module-a { /* A bunch of stuff */ } .module-b { /* Some unique styling */ @extend .module-a; }</code></pre>
<p>Compiles into</p>
<pre><code>.module-a, .module-b { /* A bunch of stuff */ } .module-b { /* Some unique styling */ }</code></pre>
<p>See that? It rewrites selectors, which is way more efficient.</p>
<p>Winner: SASS</p>
<h4>Variable Handling</h4>
<p>LESS uses @, SASS uses $. The dollar sign has no inherit meaning in CSS, while the @ sign does. It&#8217;s for things like declaring @keyframes or blocks of @media queries. You could chalk this one up to personal preference and not a big deal, but I think the edge here is for SASS which doesn&#8217;t confuse standing concepts.</p>
<p>SASS has some weirdness with scope in variables though. If you overwrite a &#8220;global&#8221; variable &#8220;locally&#8221;, the global variable takes on the local value. This just feels kind of weird.</p>
<pre><code>$color: black; .scoped { $color: white; color: $color; } .unscoped { // LESS = black (global) // SASS = white (overwritten by local) color: $color; }</code></pre>
<p>I&#8217;ve heard it can be useful but it&#8217;s not intuitive, especially if you write JavaScript.</p>
<p>Winner: Tossup</p>
<h4>Working with Media Queries</h4>
<p>The way most of us started working with <code>@media</code> queries was adding blocks of them at the bottom of your main stylesheet. That works, but it leads to mental disconnect between the original styling and the responsive styles. Like:</p>
<pre><code>.some-class { /* Default styling */ } /* Hundreds of lines of CSS */ @media (max-width: 800px) { .some-class { /* Responsive styles */ } }</code></pre>
<p>With SASS or LESS, we can bring those styles together through nesting.</p>
<pre><code>.some-class { /* Default styling */ @media (max-width: 800px) { /* Responsive styles */ } }</code></pre>
<p>You can get even sexier with SASS. There is a really cool &#8220;respond-to&#8221; technique (see code by <a href="https://gist.github.com/1215856">Chris Eppstein</a>, <a href="http://theint.ro/blogs/outro/4686992-responsive-design-with-sass">Ben Schwarz</a>, and <a href="http://jeffcroft.com/blog/2012/mar/02/implementing-responsive-design/">Jeff Croft</a>) for naming/using breakpoints.</p>
<pre><code>=respond-to($name) @if $name == small-screen @media only screen and (min-width: 320px) @content @if $name == large-screen @media only screen and (min-width: 800px) @content</code></pre>
<p>The you can use them succinctly and semantically:</p>
<pre><code>.column width: 25% +respond-to(small-screen) width: 100%</code></pre>
<p>Note: requires SASS 3.2, which is in alpha, which you can install with <code>gem install sass --pre</code>. I don&#8217;t think there is any doubt this is a very nice way to work.</p>
<p>Winner: SASS</p>
<h4>Math</h4>
<p>For the most part, the math is similar, but there are some weirdnesses with how units are handled. For instance, LESS will assume the first unit you use is what you want out, ignoring further units.</p>
<pre><code>div { width: 100px + 2em; // == 102px (weird) }</code></pre>
<p>In SASS, you get a clear error: Incompatible units: &#8216;em&#8217; and &#8216;px&#8217;. I guess it&#8217;s debatable if it&#8217;s better to error or be wrong, but I&#8217;d personally rather have the error. Especially if you&#8217;re dealing with variables rather than straight units and it&#8217;s harder to track down.</p>
<p>SASS will also let you perform math on &#8220;unknown&#8221; units, making it a bit more futureproof should some new unit come along before they are able to update. LESS does not. There is some more weird differences like how SASS handles multiplying values that both have units, but it&#8217;s esoteric enough to not be worth mentioning.</p>
<p>Winner: Narrowly SASS</p>
<h4>Active Development</h4>
<p>At the time of this writing&#8230;</p>
<p><a href="https://github.com/cloudhead/less.js/issues">Number of open issues</a> on LESS: 392<br /> <a href="https://github.com/nex3/sass/issues">Number of open issues</a> on SASS: 84</p>
<p><a href="https://github.com/cloudhead/less.js/pulls">Pending pull requests</a> on LESS: 86<br /> <a href="https://github.com/nex3/sass/pulls">Pending pull requests</a> on SASS: 3</p>
<p><a href="https://github.com/cloudhead/less.js/commits/master/">Number of commits</a> in the last month in LESS: 11<br /> <a href="https://github.com/nex3/sass/commits/stable/">Number of commits</a> in the last month in SASS: 35</p>
<p>None of that stuff is any definitive proof that one project is more active than the other, but the numbers do seem to always leans toward SASS. As I understand it, both of the leads work on the languages in whatever little free time they have, as they both have other major new projects they are working on. </p>
<p>Winner: Probably SASS</p>
<h3>More Reading</h3>
<ul>
<li>Chris Eppstein: <a href="https://gist.github.com/674726">SASS/LESS Comparison</a></li>
<li>Jeremy Hixon: <a href="http://coding.smashingmagazine.com/2011/09/09/an-introduction-to-less-and-comparison-to-sass/">An Introduction To LESS, And Comparison To Sass</a></li>
<li>Ken Collins: <a href="http://metaskills.net/2012/02/27/too-less-should-you-be-using-sass/">Too LESS? Should You Be Using Sass?</a></li>
<li>Johnathan Croom: <a href="http://net.tutsplus.com/tutorials/html-css-techniques/sass-vs-less-vs-stylus-a-preprocessor-shootout/">Sass vs. LESS vs. Stylus: Preprocessor Shootout</a></li>
</ul>
<p><a href="http://css-tricks.com/sass-vs-less/">SASS vs. LESS</a> is a post from <a href="http://css-tricks.com">CSS-Tricks</a></p>
<p>Source: <a href="http://css-tricks.com/sass-vs-less/">CSS-Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/sass-vs-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 things you should have in your presentation kit</title>
		<link>http://www.transition-timing.net/news/10-things-you-should-have-in-your-presentation-kit/</link>
		<comments>http://www.transition-timing.net/news/10-things-you-should-have-in-your-presentation-kit/#comments</comments>
		<pubDate>Wed, 16 May 2012 20:44:32 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=382</guid>
		<description><![CDATA[Preparing for a presentation means rehearsing your material &#8212; but it also means making sure you have all the items you need for a glitch-free delivery. Source: 10 Things Blog &#124; TechRepublic]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>Preparing for a presentation means rehearsing your material &#8212; but it also means making sure you have all the items you need for a glitch-free delivery.
<p>Source: <a href="http://www.techrepublic.com/blog/10things/10-things-you-should-have-in-your-presentation-kit/3223">10 Things Blog | TechRepublic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/10-things-you-should-have-in-your-presentation-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive Images and Web Standards at the Turning Point</title>
		<link>http://www.transition-timing.net/news/responsive-images-and-web-standards-at-the-turning-point/</link>
		<comments>http://www.transition-timing.net/news/responsive-images-and-web-standards-at-the-turning-point/#comments</comments>
		<pubDate>Wed, 16 May 2012 05:39:06 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=380</guid>
		<description><![CDATA[Mat Marquis keeping us up to date on the responsive images hot drama. Good reminder at the end about not picking sides. Responsive Images and Web Standards at the Turning Point is a post from CSS-Tricks Source: CSS-Tricks]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>Mat Marquis keeping us up to date on the responsive images hot drama. Good reminder at the end about not picking sides. </p>
<p><a href="http://css-tricks.com/responsive-images-and-web-standards-at-the-turning-point/">Responsive Images and Web Standards at the Turning Point</a> is a post from <a href="http://css-tricks.com">CSS-Tricks</a></p>
<p>Source: <a href="http://css-tricks.com/responsive-images-and-web-standards-at-the-turning-point/">CSS-Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/responsive-images-and-web-standards-at-the-turning-point/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShopTalk Episode 18</title>
		<link>http://www.transition-timing.net/news/shoptalk-episode-18/</link>
		<comments>http://www.transition-timing.net/news/shoptalk-episode-18/#comments</comments>
		<pubDate>Wed, 16 May 2012 02:39:18 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=378</guid>
		<description><![CDATA[With ol&#8217; Mean Gene Crawford! We talk about crazy clients, responsive images, health, and all kinds of other shoptalk. Thanks to Mijingo for sponsoring this episode. Direct Link to Article &#8212; Permalink ShopTalk Episode 18 is a post from CSS-Tricks &#8230; <a href="http://www.transition-timing.net/news/shoptalk-episode-18/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>With ol&#8217; Mean Gene Crawford! We talk about crazy clients, responsive images, health, and all kinds of other shoptalk. Thanks to <a href="http://mijingo.com/">Mijingo</a> for sponsoring this episode.</p>
<p><a href="http://shoptalkshow.com/episodes/018-with-gene-crawford/" title="Direct link to featured article">Direct Link to Article</a> &#8212; <a href="http://css-tricks.com/shoptalk-episode-18/">Permalink</a></p>
<p><a href="http://css-tricks.com/shoptalk-episode-18/">ShopTalk Episode 18</a> is a post from <a href="http://css-tricks.com">CSS-Tricks</a></p>
<p>Source: <a href="http://shoptalkshow.com/episodes/018-with-gene-crawford/">CSS-Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/shoptalk-episode-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 new HTML5 tags you need to know about</title>
		<link>http://www.transition-timing.net/news/10-new-html5-tags-you-need-to-know-about/</link>
		<comments>http://www.transition-timing.net/news/10-new-html5-tags-you-need-to-know-about/#comments</comments>
		<pubDate>Sun, 13 May 2012 17:44:20 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=376</guid>
		<description><![CDATA[HTML5 offers new tags and attributes that provide more power, efficiency, and flexibility for your Web development. Here are 10 tags you&#8217;ll want to check out. Source: 10 Things Blog &#124; TechRepublic]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>HTML5 offers new tags and attributes that provide more power, efficiency, and flexibility for your Web development. Here are 10 tags you&#8217;ll want to check out.
<p>Source: <a href="http://www.techrepublic.com/blog/10things/10-new-html5-tags-you-need-to-know-about/3219">10 Things Blog | TechRepublic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/10-new-html5-tags-you-need-to-know-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which responsive images solution should you use?</title>
		<link>http://www.transition-timing.net/news/which-responsive-images-solution-should-you-use/</link>
		<comments>http://www.transition-timing.net/news/which-responsive-images-solution-should-you-use/#comments</comments>
		<pubDate>Fri, 11 May 2012 17:40:15 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=374</guid>
		<description><![CDATA[There are a bunch of techniques going around for dealing with responsive images lately. That is, solutions to help us serve the right image for the occasion (e.g. size of screen and bandwidth available). They all do things a bit &#8230; <a href="http://www.transition-timing.net/news/which-responsive-images-solution-should-you-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>There are a bunch of techniques going around for dealing with <strong>responsive images</strong> lately. That is, solutions to help us serve the right image for the occasion (e.g. size of screen and bandwidth available). They all do things a bit differently. To keep track, Christopher Schmitt and I have created <a href="https://docs.google.com/spreadsheet/ccc?key=0Al0lI17fOl9DdDgxTFVoRzFpV3VCdHk2NTBmdVI2OXc">this spreadsheet of techniques</a>.</p>
<p>The spreadsheet has the data, but let&#8217;s digest it through thinking about it through the lens of practical questions.</p>
<p><span></span></p>
<p>To choose which technique is right for you and your project these questions may help as a guide. Many of the questions may apply to your project, so you&#8217;ll have to sort out which techniques fit what scenarios and find the overlap.</p>
<h3>Do I have legacy content?</h3>
<p>Which really means&#8230; <strong>do I have legacy content that is impractical to update?</strong> For instance, I have thousands of pages of content on CSS-Tricks and a writing staff of one. </p>
<figure><img src="http://cdn.css-tricks.com/wp-content/uploads/2012/05/legacycontent.png" alt="" width="148" height="147" class="alignnone size-full wp-image-16972" /></p>
<figcaption>Yeahhhh&#8230; I&#8217;m not going to go back and update every <img> on the site, so I need a technique that will allow me to leave those alone.</figcaption>
</figure>
<p>The only technique I know of that works with absolutely no markup changes is <a href="http://adaptive-images.com/">Adaptive Images</a>. It works by routing requests for images through a PHP file which intelligently serves (and creates if need be) images of the appropriate size for the screen width.</p>
<p>Another question to ask yourself is if you care about legacy content. Perhaps the vast majority of traffic to your site is for newer content in which you <strong>can</strong> make markup changes and thus take advantage of other techniques. If that&#8217;s the case, read on to discover those other techniques.</p>
<p>If you have a small project, a brand new project, or a project with legacy content that you are able go back and update, you are also able to choose a technique which does require special markup, so also read on.</p>
<h4>Do I care about special markup?</h4>
<p>This is really a sub-question of the above. Many of the techniques require you to use special HTML. For example, <a href="https://github.com/teleject/hisrc">HiSRC</a> has you put higher resolution images as data-attributes:</p>
<pre><code><img src="200x100.png"></code></pre>
<p>I&#8217;d say this is a clean, valid, semantic technique, but it also means that you need these attributes on every <code><img></code> on your site, which may not be possible on sites with loads of legacy content.</p>
<p>If you know that special markup (or specialized CSS) is not an option for you, really the only option is <a href="http://adaptive-images.com/">Adaptive Images</a>. Even <a href="http://www.sencha.com/products/io/">Sencha.IO</a> requires prefixing the src attribute which may not be possible with legacy content.</p>
<h3>Do I care about semantics?</h3>
<p>Some responsive images techniques involve markup which isn&#8217;t strictly semantic. Ultimately, there is only one way an image can be semantic. That is if the <code>src</code> of it points to a real image and it has <code>alt</code> text describing that image. Brad Frost sums it up nicely:</p>
<blockquote><p>@<a href="https://twitter.com/stowball">stowball</a> Unfortunately its not that simple. A picture of a horse needs to be a picture of a horse or else its not a picture of a horse. <img src='http://www.transition-timing.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&mdash; Brad Frost (@brad_frost) <a href="https://twitter.com/brad_frost/status/188024708866912257">April 5, 2012</a></p>
</blockquote>
<p>In other words, if the technique requires at any point the <code>src</code> of the image to be missing or link to a transparent GIF (or the like), that&#8217;s not semantic. </p>
<p>So why do some responsive images techniques do this? Because having an image with a <code>src</code> that points to that image of a horse means that that image will start downloading as soon as that image gets parsed by the browser. There is no practical way to prevent this. Even if you <em>super quickly</em> swap out that <code>src</code> with a more appropriate version, now you&#8217;re downloading two images instead of one which is a performance hit instead of a performance gain. You may decide that&#8217;s acceptable (e.g. &#8220;desktop&#8221; environments typically have more bandwidth). Usually if this technique is employed, the image in the <code>src</code> is the smallest possible image.</p>
<p>If semantics is important to you, you should look at <a href="http://adaptive-images.com/">Adaptive Images</a> (covered above) or <a href="https://github.com/teleject/hisrc">HiSRC</a>, a plugin by Christopher Schmitt which you can use with a semantic <code>src</code> attribute. </p>
<p>A few of the techniques use <code></code> tags in which to place a fallback <code><img></code> in the case of no JavaScript being available. I&#8217;ll let you decide if that&#8217;s semantic or not.</p>
<h3>Do I care about validity?</h3>
<p>Validity as in &#8220;Does it validate?&#8221; according to the <a href="http://validator.w3.org/">W3C Markup Validation Service</a>. Validation is a tool to help you find problems and write better markup. But just because something doesn&#8217;t validate doesn&#8217;t make it bad or wrong. If invalid code works wonderfully in all browsers, you nor anyone else should care.</p>
<p>If you do care about validity (perhaps a client irrationally requires it from you and is holding your paycheck randsom) then there are a few techniques that you can&#8217;t use. The <a href="https://github.com/scottjehl/picturefill">picturefill</a> technique, for instance, uses the <code></code> element to work its magic. This may ultimately be standarized, but it isn&#8217;t yet, so it&#8217;s technically invalid syntax. It&#8217;s also required that <code><img></code> elements have a <code>src</code> attribute, so techniques that remove that to get around the double-image-request problem are invalid.</p>
<p>I&#8217;d recommend these techniques if validity is a requirement for you: <a href="http://adaptive-images.com/">Adaptive Images</a>, <a href="https://github.com/teleject/hisrc">HiSRC</a>, or <a href="https://github.com/joshje/Responsive-Enhance">Responsive Enhance</a>. All of which use simple, valid <code><img></code> syntax that include a <code>src</code>.</p>
<h3>Do I care about art direction?</h3>
<p>Some responsive images techniques serve different resolution versions of the exact same image. While that makes things easier (i.e. less work) it may not acceptable. Here&#8217;s a visual example:</p>
<figure><img src="http://cdn.css-tricks.com/wp-content/uploads/2012/05/difimages.jpg" alt="" width="922" height="360" class="alignnone size-full wp-image-16963" /></p>
<figcaption>On the left, the &#8220;mobile&#8221; and default <code>src</code>. In the middle, a slightly larger image that could be used on (ahem) &#8220;tablets&#8221;. On the right, the largest of the images.<a href="http://www.flickr.com/photos/whitehouse/7136874959/sizes/l/in/photostream/">(credit)</a></figcaption>
</figure>
<p>These images are hand-crafted by a designer, cropped to retain meaning and impact. If you took the image on the right and just scaled it down, the people in the image would be very small and the feel of the image my be lost. </p>
<p>If this idea of art direction is important to your project, you&#8217;ll need a technique that will allow you to specify exactly which src to serve under which circumstances. This is picture perfect (GET IT?) for <a href="https://github.com/scottjehl/picturefill">picturefill</a> which allows you to be very specific about sources and what circumstances get what.</p>
<pre><code>    </code></pre>
<p>JavaScript takes it from there. </p>
<h3>Do I care about JavaScript?</h3>
<p>Most of these responsive image techniques utilize JavaScript to work their magic. <a href="http://adaptive-images.com/">Some</a> only a tiny bit to set a cookie, but JavaScript none the less. Some of them have you put an <code><img></code> in a <code></code> tag so that there is a fallback image in the case that the user has JavaScript turned off. If you don&#8217;t like that, and you need to make absolutely sure that your images work without JavaScript, <a href="http://www.sencha.com/products/io">Sencha.IO</a> is your best bet. This service works by identifying your device through it&#8217;s <a href="http://en.wikipedia.org/wiki/User_agent">User Agent</a> string and serving an appropriately sized image. So you link to the largest (reasonable) version you have of it and Sencha will squeeze it down and server smaller versions if need be (it doesn&#8217;t scale up, for obvious reasons). </p>
<h4>What about JavaScript *library* dependency?</h4>
<p><a href="https://github.com/teleject/hisrc">HiSRC</a> and <a href="https://github.com/stowball/jQuery-rwdImages">rwdImages</a> are both jQuery dependent. If your project is using a different library, these probably aren&#8217;t for you. But hey, you could port it and open source that! If you aren&#8217;t using a library, well, you probably should be but let&#8217;s not get into that.</p>
<h3>Do I care about Server Side Components?</h3>
<p>Some of these techniques aren&#8217;t solely JavaScript dependent. <a href="http://adaptive-images.com/">Adaptive Images</a> works it&#8217;s magic primarily through .htaccess and PHP. Well, .htaccess presupposes an Apache server. And, while of course we all know and love PHP (ahem), many websites run on technologies like Ruby or Python. </p>
<p><a href="https://github.com/filamentgroup/Responsive-Images">Responsive Images</a> (the original Filament Group technique) also uses .htaccess. So if you&#8217;re using something like <a href="http://wiki.nginx.org/Main">Nginx</a> as web server, this is either out or you&#8217;ll have to port over the .htaccess component to Nginx&#8217;s similar-but-different syntax. </p>
<h3>Do I care about bandwidth testing?</h3>
<p>Testing the browser window width and making decisions on what image to serve based on that is pretty cool and fundamental to the concept of responsive images. But it&#8217;s really only half of what the decision of what image should be served should be based on. The other half is available bandwidth. If the user has a very fast internet connection speed, serving large images is OK. If the user has a very slow internet connection speed, they should get smaller images (regardless of screens size). Unfortunately native <a href="http://css-tricks.com/bandwidth-media-queries/">bandwidth media queries</a> don&#8217;t exist. </p>
<p>Two of the current techniques do bandwidth testing as part of their decision making: <a href="https://github.com/adamdbradley/foresight.js">Foresight.js</a> and <a href="https://github.com/teleject/hisrc">HiSRC</a> (both are based on the technique in Foresight.js). It works by downloading a test file and measuring how long it took (configurable). The test itself is a slight performance hit, but theoretically the savings gained by serving images based on knowing the current bandwidth is a net (GET IT?) gain. </p>
<h3>Do I care about relying on third parties?</h3>
<p><a href="http://www.sencha.com/products/io/">Sencha.IO</a> is a completely third-party way of handling responsive images. As far as I know, it works great and hasn&#8217;t been inflicted with any major downtime, but of course you always run that risk.</p>
<p>You might be thinking: <em>Wow, the Sencha.IO technique is really cool but I worry about the third-party dependency. I wish I could run that on my own server.</em> If you want to go down that road, there is the public <a href="http://wurfl.sourceforge.net/">WURFL database</a> and this <a href="https://github.com/carsonmcdonald/ServerSideResponsiveImageExample">Server Side Responsive Images technique</a> which puts that to work locally.</p>
<p>There are also third-party services like <a href="http://deviceatlas.com/products/cloud">Device Atlas Cloud</a> which does device detection for you. It&#8217;s also a third-party dependency for your app. No doubt their goal and focus is staying up and fast at all times, but you have to be very careful about who and what you rely on for your business.</p>
<h3>Is there a specific CMS with specific CMS powers involved?</h3>
<p>Say your project is in WordPress. WordPress has a media uploader built in. When you upload an image with it, it can create multiple versions (scaling down) of that image for you. That&#8217;s pretty cool and powerful and you could/should take advantage of that. Keir Whitaker talks about using that ability in his article <a href="http://viewportindustries.com/blog/automatic-responsive-images-in-wordpress/">Automatic Responsive Images in WordPress</a>.</p>
<p>This isn&#8217;t just a WordPress thing though. I&#8217;m sure the concepts at work here could be done (or made to be done) in any Content Management System.</p>
<h3>Can I wait for the future?</h3>
<p>The release of the &#8220;new iPad&#8221; (the third one, for longevity) is what sparked a lot of these techniques and conversations. Its high pixel density is great for vectors and big photos, but actually not great for things like small icons that need to be scaled up to be the correct size and can be blurry. But serving higher resolution icons means larger file sizes and slower websites. Hence, the need to only serve them in situations/environments that need them. </p>
<p>The world of web standards is aware of this problem. There is a <a href="http://www.w3.org/community/respimg/">whole group</a> dedicated to talking about it. In time, they may solve it and then we can start using whatever way they come up with (assuming its awesome and better than what we have now).</p>
<p>It may be flipping out the src of images <a href="http://nicolasgallagher.com/responsive-images-using-css3/">through CSS content</a> like Nicolas Gallagher suggested. It might be the <code></code> element. It might be a <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/">srclist attribute in HTML or src property in CSS</a>. It might be a <a href="http://blog.yoav.ws/2011/05/My-take-on-adaptive-images">prefix</a>.</p>
<p> </p>
<h3>More resources</h3>
<ul>
<li>Jason Grigsby has an epic three-part series on responsive images <a href="http://blog.cloudfour.com/responsive-imgs/">starting here</a>.</li>
<li>Christopher Schmitt&#8217;s <a href="http://www.slideshare.net/teleject/convergese-adaptiveimagesconverge-se">slides on a whole talk</a> about responsive images.</li>
<li>Mat Marquis on <a href="http://www.alistapart.com/articles/responsive-images-how-they-almost-worked-and-what-we-need/">Responsive Images: How they Almost Worked and What We Need</a></li>
</ul>
<p><a href="http://css-tricks.com/which-responsive-images-solution-should-you-use/">Which responsive images solution should you use?</a> is a post from <a href="http://css-tricks.com">CSS-Tricks</a></p>
<p>Source: <a href="http://css-tricks.com/which-responsive-images-solution-should-you-use/">CSS-Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/which-responsive-images-solution-should-you-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 things you can do to make your next IT audit more productive (and less painful)</title>
		<link>http://www.transition-timing.net/news/10-things-you-can-do-to-make-your-next-it-audit-more-productive-and-less-painful/</link>
		<comments>http://www.transition-timing.net/news/10-things-you-can-do-to-make-your-next-it-audit-more-productive-and-less-painful/#comments</comments>
		<pubDate>Wed, 09 May 2012 17:42:12 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=372</guid>
		<description><![CDATA[No one enjoys IT audits. But there are several ways you can optimize their benefits and make them less threatening for your staff. Source: 10 Things Blog &#124; TechRepublic]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>No one enjoys IT audits. But there are several ways you can optimize their benefits and make them less threatening for your staff.
<p>Source: <a href="http://www.techrepublic.com/blog/10things/10-things-you-can-do-to-make-your-next-it-audit-more-productive-and-less-painful/3217">10 Things Blog | TechRepublic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/10-things-you-can-do-to-make-your-next-it-audit-more-productive-and-less-painful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Ruby technologies you should know</title>
		<link>http://www.transition-timing.net/news/10-ruby-technologies-you-should-know/</link>
		<comments>http://www.transition-timing.net/news/10-ruby-technologies-you-should-know/#comments</comments>
		<pubDate>Tue, 08 May 2012 20:42:12 +0000</pubDate>
		<dc:creator>bkanduth</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.transition-timing.net/?p=370</guid>
		<description><![CDATA[Sharpen your Ruby development skills by taking advantage of these technologies. Source: 10 Things Blog &#124; TechRepublic]]></description>
			<content:encoded><![CDATA[<!-- @@3.4.3751 --><p>Sharpen your Ruby development skills by taking advantage of these technologies.
<p>Source: <a href="http://www.techrepublic.com/blog/10things/10-ruby-technologies-you-should-know/3214">10 Things Blog | TechRepublic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transition-timing.net/news/10-ruby-technologies-you-should-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

