<?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>WolfieZero.com</title> <atom:link href="http://wolfiezero.com/feed/" rel="self" type="application/rss+xml" /><link>http://wolfiezero.com</link> <description>Neil Sweeney; that front-end punk dude</description> <lastBuildDate>Thu, 12 Apr 2012 16:48:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Spotify Play Button for WordPress</title><link>http://wolfiezero.com/1095/spotify-adds-web-button/</link> <comments>http://wolfiezero.com/1095/spotify-adds-web-button/#comments</comments> <pubDate>Wed, 11 Apr 2012 20:32:25 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1095</guid> <description><![CDATA[Spotify have released a their Spotify Play Button, and in a timely manner I've done a WordPress plugin that makes it even easier to add a play button to your WordPress site.]]></description> <content:encoded><![CDATA[<p>Today <a
href="http://www.spotify.com/" rel="external">Spotify</a> added a &#8220;button&#8221; so you can play Spotify tracks directly in the browser, the <a
href="https://developer.spotify.com/technologies/spotify-play-button/" rel="external">Spotify Play Button</a>.</p><p>I&#8217;ve used Spotify for a long time now, been paying them over a year for <a
href="http://www.spotify.com/uk/get-spotify/premium/" rel="external">Spotify Premium</a> as well now and they are continually improving the service, and this extra step this a nice little touch. Pretty easy to use as well; copy the Spotify URI link and then paste it on the form on the site then grab the code and copy it in to your page.</p><p>Even thought that is really easy, I thought I&#8217;d go one step extra for WordPress users and make a plugin with that makes it even easier; make a plugin!</p><p
style="text-align: center;"><iframe
src="https://embed.spotify.com/?uri=spotify:user:wolfiezero:playlist:5v4LEKODutewLOP9zYTGyg" style="width:300px; height:380px;" frameborder="0" allowTransparency="true"></iframe></p><p>That&#8217;s it running through the plugin at the moment, the code is dead simple too.</p><p><code>&#91spotify-play src="spotify:user:wolfiezero:playlist:5v4LEKODutewLOP9zYTGyg"]</code></p><p>The <a
href="https://github.com/WolfieZero/wp-spotify-play-button" rel="external">code</a> is dead simple, and I managed to do it in about 10 minutes in my lunch break at work.</p><p><del
datetime="2012-04-12T16:44:56+00:00">Unfortunately, you&#8217;ll have to <a
href="https://github.com/WolfieZero/wp-spotify-play-button/zipball/master" rel="download">download it through Github</a> as the WordPress admins think I&#8217;m &#8220;name grabbing&#8221; despite the <a
href="https://github.com/WolfieZero/wp-spotify-play-button" rel="external">source code</a> is out there already and <a
href="http://twitter.com/SpotifyPlatform" rel="external">@SpotifyPlatform</a> had already <a
href="https://twitter.com/#!/WolfieZero/status/190058807806803969" rel="external">retweeted me</a>.</del></p><p><del
datetime="2012-04-12T16:44:56+00:00">But I&#8217;ll be keeping an eye on things and will post when it&#8217;s live on the WordPress official plugin site, but till then, download and enjoy.</del></p><p><strong>UPDATE</strong>: The plugin is now live on the <a
href="http://wordpress.org/extend/plugins/spotify-play-button/" rel="external">WordPress Plugin Directory</a>!</p><p>If you got any issues then feel free to <a
href="http://wolfiezero.com/contact/">contact me</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1095/spotify-adds-web-button/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Twitter in the 80s, a la DOS</title><link>http://wolfiezero.com/1090/twitter-in-the-80s-a-la-dos/</link> <comments>http://wolfiezero.com/1090/twitter-in-the-80s-a-la-dos/#comments</comments> <pubDate>Tue, 03 Apr 2012 17:57:22 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Online]]></category> <category><![CDATA[Random]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1090</guid> <description><![CDATA[Ever thought about using Twitter on DOS? If this was the 1980's it might have looked like this...]]></description> <content:encoded><![CDATA[<p>As a good little follow on from the <a
href="http://wolfiezero.com/1085/google-maps-8-bit/">Google Maps 8-bit</a>, I got a little smirk from <a
href="http://www.youtube.com/watch?v=FCvidD5JKBg" rel="external">this video</a> showing what Twitter could have looked like in the 1980s on DOS.</p><p>Scary that despite being born late 1985, I remember using interfaces like this when my dad would bring his desktop computer home&#8230; before laptops where that practical for business use! Got to love the floppy disk drive (<code>A:/) sound as it's loading into memory and the dial up noise.</code></p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1090/twitter-in-the-80s-a-la-dos/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Maps 8-Bit</title><link>http://wolfiezero.com/1085/google-maps-8-bit/</link> <comments>http://wolfiezero.com/1085/google-maps-8-bit/#comments</comments> <pubDate>Sat, 31 Mar 2012 16:16:23 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Random]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1085</guid> <description><![CDATA[Ever wanted to view Google Maps on your NES? Now you can with Google Maps 8-Bit for NES from Google!]]></description> <content:encoded><![CDATA[<p>I&#8217;m a bit of an advocate for <a
href="http://en.wikipedia.org/wiki/OpenStreetMap">OpenStreetMap</a> data these days as opposed to Google Maps (check out my <a
href="http://www.fubra.com/blog/2011/11/24/google-maps-free-alternatives/">Fubra blog post</a>), but it seems I a reason to have a geekish smile on my face using Google Maps; their new <a
href="http://www.youtube.com/watch?v=rznYifPHxDg"><strong>Google Maps 8-bit for NES</strong></a>.</p><p
style="text-align: center;"><a
href="http://wolfiezero.com/wp-content/uploads/2012/03/google-maps-8bit.png"><img
src="http://wolfiezero.com/wp-content/uploads/2012/03/google-maps-8bit-300x229.png" alt="Google Maps in full 8 bits!" title="Google Maps in full 8 bits!" width="300" height="229" class="aligncenter size-medium wp-image-1087" /></a></p><p>Okay, it&#8217;s pretty obvious this is their main April Fools this year, if you where a fan of JRPGs back in the day then this brings a certain nostalgia that reminds me heavily of Dragon Quest and Final Fantasy on the NES. Also, the other cool thing about this is that although the cart may not be real, the mapping is! That means you can actually go to <a
href="http://www.google.com/maps">Google Maps</a> and check out. Funny thing is, when you go into street view, the street comes out in a crappy 8-bit colour pallet; check out the view of my old college in the image above.</p><p>I hope they keep this and give users API access to those tiles; I could think of a few cool ideas!</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1085/google-maps-8-bit/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Windows 8 (Real) Usability Testing</title><link>http://wolfiezero.com/1079/windows-8-real-usability-testing/</link> <comments>http://wolfiezero.com/1079/windows-8-real-usability-testing/#comments</comments> <pubDate>Wed, 14 Mar 2012 18:13:44 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[UX]]></category> <category><![CDATA[metro]]></category> <category><![CDATA[usability]]></category> <category><![CDATA[ux]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[windows 8]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1079</guid> <description><![CDATA[Interesting video that got sent to me that makes me wonder about how Microsoft went from a really nice product that I thought was very to use to something like this.]]></description> <content:encoded><![CDATA[<p>Interesting video that got sent to me that makes me wonder about how Microsoft went from a really nice product that I thought was very to use to something like <a
href="http://www.youtube.com/watchv=v4boTbv9_nU">this</a>.</p><p>It&#8217;s impressive that something basic like getting back to the previous screen is so difficult for a first time user. Now, it could be said that this is an older user and thus may not be so savvy; this is very true but this isn&#8217;t asking the user to perform a system task that would require some manner of technical knowledge but rather do a basic task of getting to the home screen. It&#8217;s not obvious basically and requires some manner of thought process that strays away from the normal flow of user experience.</p><p>Watch the full session <a
href="http://www.youtube.com/watch?feature=player_detailpage&#038;v=XV9YYsE-yEk#t=3261s">here</a>.</p><p>If you want to see the comparison of this experience with Mac then it&#8217;s worth watching <a
href="http://www.youtube.com/watch?v=XeeOkHjV7nM">this follow up video</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1079/windows-8-real-usability-testing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Who Has a Horse Outside?</title><link>http://wolfiezero.com/1069/who-has-a-horse-outside/</link> <comments>http://wolfiezero.com/1069/who-has-a-horse-outside/#comments</comments> <pubDate>Wed, 18 Jan 2012 23:49:53 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[irish]]></category> <category><![CDATA[video]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1069</guid> <description><![CDATA[My bro introduced me to this video and I had to share it with the world. Never heard of The Rubberbandits before, but their video, Horse Outside, is an absolute classic! Want to get a better idea of these guys then you need to see them on The Late Late Show.]]></description> <content:encoded><![CDATA[<p>My bro introduced me to this video and I had to share it with the world.</p><p>Never heard of The Rubberbandits before, but their video, <a
href="http://www.youtube.com/watch?fv=ljPFZrRD3J8">Horse Outside</a>, is an absolute classic! Want to get a better idea of these guys then you need to <a
href="http://www.youtube.com/watch?v=an7YX0NC9JI">see them on The Late Late Show</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1069/who-has-a-horse-outside/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Five Musicians, One Guitar</title><link>http://wolfiezero.com/1054/five-musicians-one-guitar/</link> <comments>http://wolfiezero.com/1054/five-musicians-one-guitar/#comments</comments> <pubDate>Sat, 07 Jan 2012 01:17:20 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[cover]]></category> <category><![CDATA[video]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1054</guid> <description><![CDATA[Walk off the Earth and Sarah Blackwood do a cover of Gotye's "Somebody That I Used to Know" in a pretty unique way.]]></description> <content:encoded><![CDATA[<p>Spotted this video on Youtube today and had to share it. It&#8217;s a cover of &#8220;<a
href="http://www.youtube.com/watch?v=d9NF2edxy-M">Somebody That I Used to Know</a>&#8221; (originally by Gotye) covered by Walk off the Earth with Sarah Blackwood. It&#8217;s not that this song is pretty amazing with an awesome cover to boot, but the way it&#8217;s done is fantastic; five musicians covering all the key instruments (drum, bass and guitar) all on one guitar.</p><p>It&#8217;s a little slow to start with but once it&#8217;s going you&#8217;ll be impressed. BTW, the guy on the far right&#8230; epic!</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1054/five-musicians-one-guitar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Going from 2011 to 2012</title><link>http://wolfiezero.com/1031/going-from-2011-to-2012/</link> <comments>http://wolfiezero.com/1031/going-from-2011-to-2012/#comments</comments> <pubDate>Sun, 01 Jan 2012 22:08:56 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Personal]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1031</guid> <description><![CDATA[Yup, it's a post about what the hell I've been doing for the past year and why next year I'm going to be winning. Not sure why I'm doing it, least people can annoy me in the following year saying "Why you not done this!"]]></description> <content:encoded><![CDATA[<p>So everybody is doing this lame ass blog post summerizing their 2011 and then what they are going to do for 2012&#8230; this is no different. Seriously, I will be summerizing what I did last year and what the plan is this year. If you don&#8217;t want to be apart of it then I suggest you <a
href="http://www.nyan.cat/" rel="external">go here for a while</a>.</p><h2>2011</h2><p>This is was a pretty big year in regards to my life in general in a positive way; the first and formost was <a
href="http://wolfiezero.com/364/swing-life-away-rise/">I got married</a> to The Girlie on the 2<sup>nd</sup> of September, which was nice and pleasant. Thanks to that I spent my first holiday in a different country not leaving the hotel; typically that would que some joke with suggestive innuendo but alas it was more the whole planning of a wedding takes it out of you! If you&#8217;ve not planned a wedding you have no idea what it&#8217;s like, and if you are about to then I suggest you <a
href="http://www.youtube.com/watch?v=rX7wtNOkuHo" rel="external">watch this video</a> to better explain it all.</p><p>The next big thing was <a
href="http://wolfiezero.com/705/i-bid-adieu/">leaving my previous company</a> of 4 years, Infoactive Media, to pursue my carrer further with Fubra. I&#8217;ve mentioned previously that it was sad to leave the old company, but it was a move I needed to take and thus has done me wonders, but I do keep in contact with them, which is pretty awesome.</p><p>I&#8217;ve taken a step back from photography a bit while other parts of the year take president, but that&#8217;s not to say I&#8217;ve given up with it, just on hiatus. I was also planning on getting fitter this year; that didn&#8217;t happen!</p><p>On the gaming front, I&#8217;ve gain more games that I&#8217;ve played but this has causes me to change my look on things that I&#8217;ll explain in a moment.</p><h2>2012</h2><p>So with the massive distraction of a wedding out of the way, The Girlie and I can focus on our next goal; moving to Bennie Hill&#8217;s home town, <a
href="http://en.wikipedia.org/wiki/Eastleigh">Eastleigh</a>. Well, it&#8217;s in fact my hometown, but I moved away to live with The Girlie, but we made the choice that thanks to Eastleigh having something that sucks you in (akin to that feeling those people keep going to Silent Hill or the creepy cabin all those cheerleaders where murdered). I think people don&#8217;t realise what Eastleigh is like until they move away, then they miss it; I say that as some people might read this going &#8220;Why do you want to move back&#8221; but those who have moved away will understand what I mean.</p><p>Work-wise I&#8217;m going to be focusing now on developing my user experience knowledge, understanding the human-psyche when it comes to viewing a web page. It&#8217;s something that has always interest me and now I&#8217;m able to start doing research on it and focus more on it for work. I&#8217;ll also be developing more plugins this year for WordPress and hopefully attending a few more conferences on web development.</p><p>I&#8217;m planning on taking a photography course this year that will hopefully help with learning more on photography and developing skills. I did seriously forgot about my camera last year, but that&#8217;s going to change now!</p><p>Fitness might not be such an issue this year and I do plan on making use of the gym at my work, I normally got some free time once I&#8217;ve finished work so I haven&#8217;t got an excuse not to go other than &#8220;I just need to get this form perfectly lined up to this circular image&#8221;.</p><p>So with games I&#8217;ve decided to take a step back and somewhat ignore the AAA titles and focus more on the lesser ones and also spend less time on multiplayer stuff, which is why I haven&#8217;t got Modern Warfare 3 yet. I&#8217;ve already lined myself some JRPGs to play such as Xenoblade Chronicles, Star Ocean games, Final Fantasy&#8217;s I&#8217;ve not yet completed and also The Last Story when it comes out later this year. I&#8217;m also going to take a lot more notice of the Wii as a console due to the number of pretty cool games that get lost in the hype of the more powerful consoles; I still got No More Heroes 2 to play that I got in 2010.</p><p>I think that pretty much sums it all up!</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1031/going-from-2011-to-2012/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Lizard Plays Games Too</title><link>http://wolfiezero.com/1019/lizard-plays-games-too/</link> <comments>http://wolfiezero.com/1019/lizard-plays-games-too/#comments</comments> <pubDate>Wed, 14 Dec 2011 12:35:58 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Animals]]></category> <category><![CDATA[funny]]></category> <category><![CDATA[video]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1019</guid> <description><![CDATA[Yeah! That&#8217;s it little lizard! Take out those ants!]]></description> <content:encoded><![CDATA[<p>Yeah! That&#8217;s it little lizard! Take out those ants!</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1019/lizard-plays-games-too/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Final Fantasy VII Unreal Remake</title><link>http://wolfiezero.com/1010/final-fantasy-vii-unreal-remake/</link> <comments>http://wolfiezero.com/1010/final-fantasy-vii-unreal-remake/#comments</comments> <pubDate>Mon, 05 Dec 2011 23:34:45 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Gaming]]></category> <category><![CDATA[Final Fantasy VII]]></category> <category><![CDATA[video]]></category><guid
isPermaLink="false">http://wolfiezero.com/?p=1010</guid> <description><![CDATA[Final Fantasy VII remake using the Unreal Engine? Unreal... Ooh, it's a steam engine!]]></description> <content:encoded><![CDATA[<p>It appears that <a
href="http://ff7remake.hostoi.com/index2.html" rel="external">somebody</a> is getting bored of waiting (possibly for never) for a Final Fantasy VII remake, so they have gone and made one instead using the <a
href="http://www.unrealengine.com/" rel="external">Unreal Engine</a>.</p><p><a
href="http://www.youtube.com/watch?v=1QWpiedIX7U" rel="external">This video</a> is really impressive, I must say! These guys have seriously worked hard on making some that could be a viable full blow project. I&#8217;ve not read anything into it, but it looks like it&#8217;s just a mod project rather than something built ground up using the Unreal Engine (say games like Gears of War and the Batman Arkham games), which makes it something even more special that they pulled this one out of the hat.</p><p>Unfortunately, I doubt it could ever be released due to that thing called copyright. But it&#8217;s amazing that a little fan perseverance that they have gone and done this. Would love to see them make it into a working title.</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/1010/final-fantasy-vii-unreal-remake/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Do You Treat HTML Classes and IDs Like &lt;font&gt;?</title><link>http://wolfiezero.com/977/do-you-treat-classes-and-ids-like-font/</link> <comments>http://wolfiezero.com/977/do-you-treat-classes-and-ids-like-font/#comments</comments> <pubDate>Thu, 10 Nov 2011 08:49:24 +0000</pubDate> <dc:creator>Neil Sweeney</dc:creator> <category><![CDATA[Website Production]]></category> <category><![CDATA[css]]></category> <category><![CDATA[front-end]]></category> <category><![CDATA[html]]></category> <category><![CDATA[semantics]]></category><guid
isPermaLink="false">http://www.wolfiezero.com/?p=977</guid> <description><![CDATA[Tell your CSS what something is rather than what you want something todo]]></description> <content:encoded><![CDATA[<p>I was recently concerned how a professional web developer viewed classes in markup when discussing the validaty of using a .clearfix type class.</p><p><a
href="http://wolfiezero.com/wp-content/uploads/2011/11/tweet1.png"><img
src="http://wolfiezero.com/wp-content/uploads/2011/11/tweet1.png" alt="@WolfieZero It&#039;s not semantic but it&#039;s adding a CLASS - i.e. this is how I want this styled. You wouldn&#039;t add an extra element for it." title="" width="570" height="259" class="aligncenter size-full wp-image-984" /></a></p><p>That line &#8220;this is how I want this styled&#8221; alarmed me somewhat, which followed my response of:</p><p><a
href="http://wolfiezero.com/wp-content/uploads/2011/11/tweet2.png"><img
src="http://wolfiezero.com/wp-content/uploads/2011/11/tweet2.png" alt="@RusselBishop Classes should be semantic. More &quot;this element is a&quot; rather than &quot;I want this element to&quot;. That&#039;s a perfect world though." title="" width="570" height="259" class="aligncenter size-full wp-image-985" /></a></p><p>I stand by that but feel it needs to be elaborated a bit more and especially explain the &#8220;in a perfect world&#8221; comment.</p><h2>&#8220;I want this element to&#8221;</h2><p>The way I see things like <code>.clearfix</code> in the same way that people used <code>&lt;font&gt;</code> in the old days. It&#8217;s telling the element what it is and how to act. Granted that with CSS you don&#8217;t have to add such inline-styles to that element, but you are adding something that&#8217;s not semantic to the markup and thus bloating your code but also restricting the markup to a particular style somewhat. It doesn&#8217;t tell a human anything useful nor does it tell a machine reader anything useful, it&#8217;s only good for the specific CSS that uses <code>.clearfix</code>. It&#8217;s the same as <code>&lt;font&gt;</code> in some respect in that you are defining what something is doing without any real context; <code>&lt;font&gt;</code> tells the text to look a particular way and <code>.clearfix</code> tells it to look a particular way. I see very little differences in these two naming conventions except that at least <code>.clearfix</code> doesn&#8217;t force the content to do something unless defined in the CSS where <code>&lt;font&gt;</code> clearly does; but it&#8217;s still treating them the same.</p><p>The way to see CSS and HTML is simple; CSS is your style and design, HTML is your content and document. We want to separate that style as much as possible from our document hence why <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> tags became redundant; as much as they where apart from the documents formatting like <code>&lt;p&gt;</code>, they had very little meaning where <code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code> had that meaning that we could also add a separate style too (though the <a
href="http://www.w3.org/International/questions/qa-b-and-i-tags">HTML5 spec does try to bring a some semantics</a> to them).</p><h3>What About HTML Frameworks?</h3><p>You may ask what I think about frameworks that use less semantic element for more design-based names such as the excellent <a
href="http://960.gs/">960.gs</a>?</p><p>It does in fact break that rule of separating content and style by adding classes such as <code>.grid_4</code> to define the how the document should look. I cannot see any semantic value in giving a <code>&lt;div&gt;</code> such a class so it&#8217;s broken for me.</p><p>Though I should say that it should stray people away from using such frameworks as if you aren&#8217;t worried about semantics then they are perfect and do the job really well; just that I feel they are semantically broken.</p><h2>&#8220;this element is a&#8221;</h2><p>Keeping in with my belief of content and style separation I believe that markup shouldn&#8217;t have <em>unnecessary</em> classes or IDs; they should have purpose and meaning so that a user can understand <em>what it is</em>, and that&#8217;s the key term here. When I write markup I want to say what items are if I need to such as <code>&lt;div id="<em>main</em>"&gt;</code>, straight away somebody can look at that and say &#8220;Ah that&#8217;s the main part of the site&#8221;. There&#8217;s a number of these that often have to be commonly used such as;</p><ul><li>comment(s)</li><li>post(s)</li><li>gallery</li><li>email</li></ul><p>Just a few possible examples but all these are explaining what an element is. I can refer to these easily in the CSS to add a style suited to their needs. It&#8217;s a general name to a specific element; I&#8217;m telling the CSS what an element is and not telling the element what to do. As with any good markup, it should allow the person to write a new CSS file that will work with the markup without any changes to that markup (in a perfect world).</p><h3>It Has a Flow</h3><p>There&#8217;s an idea on a work flow appearing here that I know many front-end developers (who are all about the semantics at least) follow; <em>content first, style later</em>.</p><p>So what we will do here is develop our HTML first and put in all the content we want and then assign that content a value of what it is (if you&#8217;ve ever worked with XML, JSON or arrays and objects then you&#8217;ll understand what we are achieving here). So once you made your HTML doc with all the classes and/or IDs that define what certain tags are containing, you&#8217;ll then freeze that file and start working purely on the CSS; no changes to the HTML should be made once CSS work has started. I believe there are some companies that have people who are only allowed to work on CSS and not the HTML thus making a strong need of semantics in a doc.</p><h2>Is it a Perfect World Though?</h2><p>Unfortunately not; there are times when we need to add those none-semantic classes to make certain markup usable. The most popular culprits are <code>.pad</code> and/or <code>.wrapper</code>.</p><p>These little classes are typically used add a respective padding or a wrapper to get elements to act so. They do have a certain amount of semantics in that there name doesn&#8217;t suggest any strict styling elements, but at the end of the day they are used purely for style reasons (I wouldn&#8217;t have it if I could). It&#8217;s a nessary evil at times that I&#8217;ve not seen any push for a fix within CSS, but would be nice if there was one that didn&#8217;t involve some horrible workarounds; I&#8217;ve tried developing some and I still rather have none-semantic markup as they are messy and aren&#8217;t really bullet-proof.</p><p>Basically, it can all be summed up like so: <strong>tell your CSS what <em>something is</em> and not what you want <em>something todo</em></strong>.</p><p><strong>Update &#8211; 14/11/11 @ 1730</strong><br
/> It appears that shortly after writing this blog post an opinion article was written on Smashing Magazine about the <a
href="http://coding.smashingmagazine.com/2011/11/11/our-pointless-pursuit-of-semantic-value/" rel="external nofollow">pointless pursuit of semantics</a>. Now while I do talk more about the use of classes and IDs in this post rather than the document as a whole, I stand by the point that any semantics isn&#8217;t a pointless pursuit and thus wrote a comment in response to the Smashing Magazine article that can be found <a
href="http://coding.smashingmagazine.com/2011/11/11/our-pointless-pursuit-of-semantic-value/#comment-554238" rel="external nofollow">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wolfiezero.com/977/do-you-treat-classes-and-ids-like-font/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: wolfiezero.com @ 2012-05-19 05:54:25 -->
