<?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/"
	>

<channel>
	<title>Adam.Kahtava.com / AdamDotCom &#187; Web Standards</title>
	<atom:link href="http://adam.kahtava.com/journal/category/web-standards/feed/" rel="self" type="application/rss+xml" />
	<link>http://adam.kahtava.com/journal</link>
	<description>A software development blog</description>
	<pubDate>Thu, 15 Jul 2010 17:00:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Book Reviewed: Designing with Web Standards by Jeffrey Zeldman</title>
		<link>http://adam.kahtava.com/journal/2009/07/20/book-reviewed-designing-with-web-standards/</link>
		<comments>http://adam.kahtava.com/journal/2009/07/20/book-reviewed-designing-with-web-standards/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 16:00:08 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[Book]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[DOM]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Review]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/?p=1750</guid>
		<description><![CDATA[
The title of Jeffrey Zeldman&#8217;s book (Designing with Web Standards) says it all - this book promoted accessible, usable, search engine friendly web design and development through the use of XHTML and CSS while debunking the myths surrounding web standards. Zeldman is a well recognized name among web developers and designers - he&#8217;s the the founder of A List Apart, and co-founder of The [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right;"><a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551/"><img class="alignright" title="Designing with web standards" src="http://ec1.images-amazon.com/images/P/0321385551.01._SCMZZZZZZZ_.jpg" alt="" width="131" height="160" /></a></div>
<p>The title of <a href="http://en.wikipedia.org/wiki/Jeffrey_Zeldman">Jeffrey Zeldman&#8217;s</a> book (<a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551">Designing with Web Standards</a>) says it all - this book promoted accessible, usable, search engine friendly web design and development through the use of XHTML and CSS while debunking the myths surrounding web standards. Zeldman is a well recognized name among web developers and designers - he&#8217;s the the founder of <a href="http://www.alistapart.com/">A List Apart</a>, and co-founder of <a href="http://www.webstandards.org/">The Web Standards Project (WaSP)</a>. His writing is entertaining, witty, easy to read, and insightful - it&#8217;s very much like the content we&#8217;re used to reading at <a href="http://www.alistapart.com/">A List Apart</a>. It&#8217;s also fair to mention that this book has been edited by industy experts and influencial writers like <a href="http://en.wikipedia.org/wiki/Eric_Meyer">Eric Myer</a>. Any developer that works with the web should read this book along with <a href="http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742">JavaScript: The Good Parts</a> by Douglas Crockford.</p>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/07/20/book-reviewed-designing-with-web-standards/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Chronic Divitis And Classitis, What Are They?</title>
		<link>http://adam.kahtava.com/journal/2009/07/15/cronic-divitis-and-classitis-what-is-it/</link>
		<comments>http://adam.kahtava.com/journal/2009/07/15/cronic-divitis-and-classitis-what-is-it/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 16:00:16 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[DOM]]></category>

		<category><![CDATA[Google Exercise]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/?p=1716</guid>
		<description><![CDATA[Jeffery Zeldman offers this entertaining definition for Divitis and Classitis:
Classitis is the measles of markup, obscuring meaning as it adds needless weight to every page. The affliction dates back to the early days of semi-CSS-capable browsers and the many designers&#8217; initially childish comprehension of how CSS works.
Alas, many have not yet outgrown that childish misunderstanding [...]]]></description>
			<content:encoded><![CDATA[<p>Jeffery Zeldman offers this entertaining definition for Divitis and Classitis:</p>
<blockquote><p><strong>Classitis is the measles of markup</strong>, obscuring meaning as it adds needless weight to every page. The affliction dates back to the early days of semi-CSS-capable browsers and the many designers&#8217; initially childish comprehension of how CSS works.<br />
Alas, many have not yet outgrown that childish misunderstanding of CSS &#8230; Classitis is as bad in its own way as the <code>&lt;font&gt;</code> tag ever was; rarely does good markup require it &#8230; At other times classitis is exacerbated by a still more serious condition &#8230; divitis &#8230;<strong> Classitis and divitis are like the needless adjectives with wich bad writing is strewen</strong>. They are the weeds in the garden of meaning. - Jeffrey Zeldman, <a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551/">Designing with Web Standards</a></p></blockquote>
<p><strong>An example of markup wraught with divitis and classitis:</strong><br />
<img class="alignnone size-full wp-image-1720" style="padding-left: 5px;" title="googleexercise-divitis1" src="http://adam.kahtava.com/journal/wp-content/uploads/2009/07/googleexercise-divitis1.png" alt="googleexercise-divitis1" width="470" height="455" /><br />
<em>13 <code>div</code> elements and 11 classes for a single item. What a stench! :)  <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/non-semantic-pure-javascript/">View this markup in action.</a></em></p>
<p><strong>The equivalent markup disease free:</strong><br />
<img class="alignnone size-full wp-image-1721" style="padding-left: 5px;" title="googleexercise-semantic" src="http://adam.kahtava.com/journal/wp-content/uploads/2009/07/googleexercise-semantic.png" alt="googleexercise-semantic" width="519" height="360" /><br />
<em>Cleaner, more meaningful, and with all the functionality of the former code. One <code>div</code> element and 3 classes for a single item.  ShamWow! <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/">View this markup in action.</a></em></p>
<p>Both of these markup snippets are visually and functionally equivalent. In the first example the <code>divs</code>, <code>classes</code>, and cryptic <code>ids</code> weigh down the page and pollute the meaning of the markup. In the later, a more semantic / structural approach is taken  Both these snippets were pulled from my attempts at <a href="http://adam.kahtava.com/journal/2009/07/09/the-google-exercise-revisited-semantic-markup-with-jquery/">the Google Web Developer Exercise.</a></p>
<p>Clean meaningful markup is the API that users and web crawlers consume - it&#8217;s important and easy to keep things clean, it just takes a little experience. Thank goodness for patterns like <a href="http://en.wikipedia.org/wiki/Model–view–controller">MVC</a> that let us control our API (the markup).</p>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/07/15/cronic-divitis-and-classitis-what-is-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What Is Semantic / Structural Markup and Why Does It Matter?</title>
		<link>http://adam.kahtava.com/journal/2009/07/13/what-is-semantic-structural-markup-and-why-does-it-matter/</link>
		<comments>http://adam.kahtava.com/journal/2009/07/13/what-is-semantic-structural-markup-and-why-does-it-matter/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 16:00:02 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[DOM]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/?p=1695</guid>
		<description><![CDATA[I always found the definition of &#8220;Semantic / Structural Markup&#8221; murky on the intertubes. I thought Jeffrey Zeldman described it well in his book Designing with Web Standards.

What Is Semantic / Structural Markup?
Markup is &#8220;semantic&#8221; when tags are chosen according to what they mean. For example, tagging a headline h1 because it is the most [...]]]></description>
			<content:encoded><![CDATA[<p>I always found the definition of &#8220;Semantic / Structural Markup&#8221; murky on the intertubes. I thought Jeffrey Zeldman described it well in his book <a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551/">Designing with Web Standards</a>.<br />
<strong></strong></p>
<p><strong>What Is Semantic / Structural Markup?</strong></p>
<blockquote><p><strong>Markup is &#8220;semantic&#8221; when tags are chosen according to what they mean.</strong> For example, tagging a headline <code>h1</code> because it is the most important headline on the page is a semantic authoring practice. Tagging a headline <code>h1</code> &#8220;to make it look big&#8221; is not. &#8230; I use the phrase &#8220;structural markup&#8221; to mean pretty much the same thing as &#8220;semantic markup.&#8221; (&#8221;Structural markup&#8221; takes its name specifically from the idea that the web document has an outline-like structure.) - Jeffrey Zeldman, <a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551/">Designing with Web Standards</a></p></blockquote>
<p>Zeldman goes on to make many great points on why semantic markup matters, here&#8217;s my paraphrase.</p>
<p><strong>Why Does Semantic / Structural Markup Matter?</strong></p>
<ul>
<li>it helps make web sites more <a href="http://en.wikipedia.org/wiki/Web_accessibility">accessibile</a></li>
<li>it provides a means to meet <a href="http://en.wikipedia.org/wiki/Web_accessibility#Guidelines_on_accessible_web_design">government mandatied web accessibility guidelines</a></li>
<li>it&#8217;s a critical component for <a href="http://en.wikipedia.org/wiki/Search_engine_optimization">Search Engine Optimization (SEO)</a> because <em><strong>the Google search engine is the biggest blind user on the web</strong></em> - Zeldman</li>
<li>doing the right thing is the right way to do things - developers should have a sense of pride in being a craftsman :)</li>
<li>did I mention Search Engine Optimization?</li>
</ul>
<p>If you&#8217;re interested in learning more about semantic markup then view <a href="http://www.alistapart.com/">A List Apart&#8217;s</a> source code, or read their many online resources: <a href="http://www.alistapart.com/topics/topic/htmlxhtml/">Topics: Code: HTML and XHTML</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/07/13/what-is-semantic-structural-markup-and-why-does-it-matter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RailsEnvy: Funny Geeky Videos on MVC and HTML</title>
		<link>http://adam.kahtava.com/journal/2009/07/10/railsenvy-funny-geeky-videos-on-mvc/</link>
		<comments>http://adam.kahtava.com/journal/2009/07/10/railsenvy-funny-geeky-videos-on-mvc/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:00:33 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[Videos]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/?p=1678</guid>
		<description><![CDATA[
MVC Public Service Announcement #6 : Modularity from EnvyAds on Vimeo.
Keep watching these videos here: http://www.railsenvy.com/tags/MVC
]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1790589&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1790589&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/1790589">MVC Public Service Announcement #6 : Modularity</a> from <a href="http://vimeo.com/user496766">EnvyAds</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Keep watching these videos here: <a href="http://www.railsenvy.com/tags/MVC">http://www.railsenvy.com/tags/MVC</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/07/10/railsenvy-funny-geeky-videos-on-mvc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Google Exercise Revisited: Semantic Markup with jQuery</title>
		<link>http://adam.kahtava.com/journal/2009/07/09/the-google-exercise-revisited-semantic-markup-with-jquery/</link>
		<comments>http://adam.kahtava.com/journal/2009/07/09/the-google-exercise-revisited-semantic-markup-with-jquery/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 16:00:23 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Google Exercise]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Programming Languages]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/?p=1641</guid>
		<description><![CDATA[A couple years ago I tried getting a Web Developer position at Google. After a few interviews they had me complete their Web Developer exercise. I did it, and my initial submission would have made any respectable web developer ill - you can read more here: Getting a Job at Google: A Web Developer Fizzbuzz. [...]]]></description>
			<content:encoded><![CDATA[<p>A couple years ago I tried getting a Web Developer position at Google. After a few interviews they had me complete their Web Developer exercise. I did it, and my initial submission would have made any respectable web developer ill - you can read more here: <a href="http://adam.kahtava.com/journal/2008/05/24/getting-a-job-at-google-a-web-developer-fizzbuzz/">Getting a Job at Google: A Web Developer Fizzbuzz</a>. I <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/non-semantic-pure-javascript/">redid the exercise</a> over a year ago, but today even that code stink.</p>
<p><strong>I did the exercise yet again (the third time) because my last attempt needed some improvements:</strong></p>
<ul>
<li>it suffered from <a href="http://adam.kahtava.com/journal/2009/07/15/cronic-divitis-and-classitis-what-is-it/">chronic classitis and divitis</a> (too many classes, ids, and divs were making me itchy)</li>
<li>it wasn&#8217;t really using <a href="http://brainstormsandraves.com/articles/semantics/structure/">semantic / structural</a> markup (all the extra divs etc&#8230; cluttered my markup, and some of my class names like <code>container-borders</code> are non-semantic altogether)</li>
<li>it performed poorly and wasn&#8217;t accessible (everything was being rendered in the DOM, there was no immediate rendered markup which kind of violated the idea of <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript">unobtrusive JavaScript</a>, nor was it screen reader friendly)</li>
<li>it wasn&#8217;t making use of any JavaScript libraries to abstract browser inconsistencies out of the code</li>
<li>it suffered from my <a href="http://adam.kahtava.com/journal/2008/02/17/software-ethnocentrism-staving-off-tunnel-vision/">software ethnocentrism</a> (my variable and object naming like <code>GoogleExercise</code> was mirroring statically typed languages and not the native language they were being written in)
</ul>
<p><strong>Here&#8217;s my latest Google Exercise (addressing all the above concerns):</strong><br />
<iframe src="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/" style="border-width: 0px; width: 320px; height: 300px; margin-left: 15px; float: left;"> </iframe><em>View this post outside your RSS reader to see it in action or view it <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/">here</a>.</em></p>
<p>This attempt makes use of <a href="http://jquery.com/">jQuery</a> and uses 57 lines of JavaScript (almost 200 lines less from my last one). </p>
<p>You can view the code for this attempt here: <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/google.contact.widget.js">google.contact.widget.js</a>, <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/index.html">index.html</a>, <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/semantic-with-jquery/google-contact-widget.css">google-contact-widget.css</a>. </p>
<p>You can view the old code here: <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/non-semantic-pure-javascript/GoogleExercise.js">GoogleExercise.js</a>, <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/non-semantic-pure-javascript/index.html">index.html</a>, <a href="http://adam.kahtava.com/etcetera/google-web-developer-exercises/non-semantic-pure-javascript/GoogleExercise.css">GoogleExercise.css</a>.</p>
<p>If you think I can improve on my code then let me know. Oh yeah, and if you&#8217;re a recruiter from Google then hire me! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/07/09/the-google-exercise-revisited-semantic-markup-with-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web Standards are Important and Here&#8217;s Why</title>
		<link>http://adam.kahtava.com/journal/2009/01/26/web-standards-are-important-and-heres-why/</link>
		<comments>http://adam.kahtava.com/journal/2009/01/26/web-standards-are-important-and-heres-why/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 03:17:46 +0000</pubDate>
		<dc:creator>Adam Kahtava</dc:creator>
		
		<category><![CDATA[Musings]]></category>

		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://adam.kahtava.com/journal/PermaLink,guid,7814bd07-43df-4610-a489-b3911beedb10.aspx</guid>
		<description><![CDATA[
It feels like Web Standards have always just existed, but they&#8217;ve only been around since the 90&#8217;s. Today, they&#8217;re the default for cross-browser compatible web applications. However; some people still like to talk them down - fingers are pointed at ambiguities within the written specifications, imperfections, and various edge cases between browser implementations (most of [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; padding-left: 5px;"><a href="http://www.flickr.com/photos/radiofree/89199021/"><img style="border: 0px none ;" src="http://farm1.static.flickr.com/40/89199021_51ae8ed714_m.jpg" alt="" /></a></div>
<p>It feels like Web Standards have always <em>just </em>existed, but they&#8217;ve only been around since the 90&#8217;s. Today, they&#8217;re the default for cross-browser compatible web applications. However; some people still like to talk them down - fingers are pointed at ambiguities within the written specifications, imperfections, and various edge cases between browser implementations (most of which can thankfully be resolved through test suites and browser vendor collaboration). <strong>Today, if you&#8217;re not embracing Web Standards, then you&#8217;re missing a bigger point.</strong></p>
<p>The importance of Web Standards lies in its unified language. Web Standards offer a common paradigm, a starting point, they&#8217;re intended to be built upon / extended, and (like everything else we&#8217;ve created as a species) they&#8217;re not perfect. Web Standards and the Object Paradigm (Object Oriented Design / Object Oriented Programming) share these similarities. Eric Evans describes the value of the Object Paradigm to be its widespread adoption, not its technical superiority:</p>
<blockquote><p>Today, the object paradigm also has some significant circumstantial advantages deriving from its maturity and widespread adoption &#8230; Objects are already understood by a community of thousands of developers, project managers, and all the other specialists involved in project work. - Eric Evans, <a href="http://www.amazon.com/dp/0321125215/">Domain Driven Design</a></p></blockquote>
<p>On a similar thought Bill Bryson describes the dark ages of chemistry - before standardized conventions and the periodic table was formed:</p>
<blockquote><p>chemists for so long worked in isolation, conventions were slow to emerge. Until well into the second half of the century &#8230; Chemists also used a bewildering variety of symbols and abbreviations, often self invented &#8230; Despite the occasional tidying-up, chemistry by the second half of the century was in something of a mess &#8230; [Mendeleyev] began toying with a way to arrange the elements &#8230; thanks to Mendeleyev&#8217;s invention [the periodic table], chemistry was now on a firm footing. - Bill Bryson, <a href="http://www.amazon.com/dp/076790818X/">A Short History of Nearly Everything</a></p></blockquote>
<p>Today, Web Standards are understood by a community of thousands of developers, designers, project managers, and most of the other specialists involved in web work. Web Standards are our firm footing. Web Standards aren&#8217;t about being perfect, they&#8217;re about a common language, about working collectively towards (or at least embracing) a goal. <strong>Web Standards are here to stay.</strong></p>
<div style="float: right;"><em>* photo courtesy of Andrew Walsh</em></div>
]]></content:encoded>
			<wfw:commentRss>http://adam.kahtava.com/journal/2009/01/26/web-standards-are-important-and-heres-why/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
