<?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>Toby&#039;s Technical Ramblings &#187; HTML5</title> <atom:link href="http://tosbourn.com/tag/html5/feed/" rel="self" type="application/rss+xml" /><link>http://tosbourn.com</link> <description>A web development blog.</description> <lastBuildDate>Mon, 07 May 2012 10:47:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>The EU Cookie Law website</title><link>http://tosbourn.com/2012/05/development/the-eu-cookie-law-website/</link> <comments>http://tosbourn.com/2012/05/development/the-eu-cookie-law-website/#comments</comments> <pubDate>Tue, 01 May 2012 20:05:44 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Google Analytics]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[LESS]]></category> <category><![CDATA[The EU Cookie Law]]></category><guid
isPermaLink="false">http://tosbourn.com/?p=1021</guid> <description><![CDATA[So over the weekend I launched The EU Cookie Law.com, there are several firsts for me and interesting features that I wanted to discuss. So the reason I decided to create this site was because I wanted to learn more about the law and how it applies to the projects I work on. Initially I [...]]]></description> <content:encoded><![CDATA[<p>So over the weekend I launched <a
href="http://www.theeucookielaw.com">The EU Cookie Law</a>.com, there are several firsts for me and interesting features that I wanted to discuss.</p><p>So the reason I decided to create this site was because I wanted to learn more about the law and how it applies to the projects I work on.</p><p>Initially I was going to write an in-depth blog post about it but then decided to use it as an excuse to play with some funky new toys I have been meaning to play with for a while.</p><h2>Learning about the law</h2><p>Even the process of learning about the law was pretty interesting &#8211; on a quick pass you find a handful of websites aimed at the law and a few articles on it, but nothing major &#8211; but if you start to refine your search you find that there are hundreds of people chatting about it and there are a lot of conflicting views &#8211; it really depended on how you worded your search .</p><p>There is a question here around how neutral you can make yourself whenever you search on the web, the tone of question could very well dictate the type of answer, but that is for another blog post.</p><p>This project was the first time in a long time that I set myself a homework &#8211; normally I skim read dozens of articles, follow a handful of tutorials and generally coast through new things (I strongly believe this to be the most efficient way to be an excellent generalist).</p><p>This time I gave myself the task of learning about something in depth, writing notes on it and then summarising those notes in a way I felt would be useful to others.</p><p>I really enjoyed the process and I certainly think I am going to set myself more tasks like this &#8211; instead of maybe just following a tutorial, really getting my teeth into each section and writing about it in a longer form format.</p><p>The final takeaway point for learning about the law was the law itself,<span
style="color: #ff0000;"> <strong>it seriously sucks</strong></span>, if you want to know about the EU Cookie Law, naturally you should visit the site but essentially it is just a bollocks law set by people who clearly have no real grasp of the technical issues involved in policing or enforcing something like this &#8211; it will crush small/medium businesses and put European trade on the back foot. Complete rubbish.</p><h2>Technology</h2><p>So the reason I decided to make a site instead of writing a blog post was I wanted a reason to try out Twitter&#8217;s Bootstrap &#8211; just to see if it was any good. Honestly, I found it confusing as hell &#8211; I can see the use as a bit of a quick template to get you going but the experience wasn&#8217;t anywhere close to what I assumed it would be like. I wouldn&#8217;t recommend it.</p><p>Whilst I was looking through the source of the Bootstrap I was reminded though of LESS, which extends CSS to allow it to do a whole manner of awesome things &#8211; LESS is just the bee&#8217;s knees, you can add variables to your code and apply mathematical and graphic methods to them, for example you can darken a colour by a particular percentage, this is so freakin awesome and time saving you wouldn&#8217;t believe.</p><p>I was worried it would be a bit of an arse to set up because I was developing on a machine that I haven&#8217;t really had the time to set up yet &#8211; to be able to compile the LESS files down to CSS I needed to install a node package, to install a node package I needed to install node, to install node I needed to install homebrew and to install homebrew I needed to install Xcode. None of these steps was particularly hard to do, it was just annoying to have to do them!</p><p>Once all the dependancies were installed I was flying, there was even a build package already built for Sublime Text 2 (my current text editor of choice) So I can just type cmd+b to save my less file as a CSS file.</p><p>If you have been to the site you will see that it is <em>very</em> basic &#8211; it is really just one long article &#8211; I had decided to use HTML5 because frankly only the elderly are still writing in HTML &lt; 5, because there was nothing too fancy going on I didn&#8217;t bother including modernizr.js and my tests showed that IE7 handled everything just fine, which is more proof (if proof be needed) that HTML5  should be the standard doctype for your markup.</p><p>I also used this project as an excuse to dick around with responsive design &#8211; before you get too excited the site doesn&#8217;t do a massive pile, in fact it was designed to be flexible regardless of media queries, but I was able to write enough to get my head more around the concepts better than it had been before.</p><p>If you are looking and can&#8217;t see it, it is because it is <em>that</em> subtle, basically the gutters of the page decrease away to almost nothing when viewing it on a very narrow screen.</p><h2>Analytics</h2><p>One of the contentious issues around the EU Cookie Law is that analytics such as Google Analytics is not seen as core site functionality, and as such people need to be given the option to be able to opt in or out of getting the GA tracking cookie.</p><p>Obviously I didn&#8217;t want to have a site about the EU Cookie Law that breaks the law, so I decided not to install Google Analytics, or any other 3rd party analytics tools.</p><p>I have to say I forgot how much you get can out of the information stored by the likes of Webalizer that comes installed cPanel (which comes with my hosting) &#8211; on a project like this were my only real interest in analytics is to look at some visitor counts every so often Webalizer more than meets my needs. I am sure plenty would disagree with me but I am starting to wonder if I need to stop blindly putting GA code into my sites and instead work with what my server can log and give me.</p><p>Because I don&#8217;t have that tracking code installed, or any social networking plugins it means I could get away without any JavaScript on the site at all.</p><p>It has been years since I have been able to write a project that was 100% HTML/CSS and I have to say it was liberating &#8211; no debugging to do, no overheads to be concerned about, brilliant.</p><h2>The Power of Hacker News / Reddit</h2><p>The only promotion I did upon launching the site was to submit it to both Hacker News and Reddit, I had over 1000 hits on the first day and the traffic is still going strong. I couldn&#8217;t have asked for better!</p><p>Sorry for the long rambly post!</p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2012/05/development/the-eu-cookie-law-website/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HTML5 Rocks Hangout 1</title><link>http://tosbourn.com/2012/04/development/html5-rocks-hangout-1/</link> <comments>http://tosbourn.com/2012/04/development/html5-rocks-hangout-1/#comments</comments> <pubDate>Sat, 28 Apr 2012 18:05:24 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Boris Smus]]></category> <category><![CDATA[Eric Bidelman]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[Paul Irish]]></category><guid
isPermaLink="false">http://tosbourn.com/?p=1016</guid> <description><![CDATA[Yesterday I watched a video taken from a Google+ hangout and really enjoyed it. Essentially it is three Googlers (Boris Smus, Eric Bidelman, Paul Irish) talking about some of the cool stuff they have been working on. It includes some tips on some JavaScript performance debugging you can do with the soon to be new [...]]]></description> <content:encoded><![CDATA[<p>Yesterday I watched a video taken from a Google+ hangout and really enjoyed it.</p><p>Essentially it is three Googlers (Boris Smus, Eric Bidelman, Paul Irish) talking about some of the cool stuff they have been working on. It includes some tips on some JavaScript performance debugging you can do with the soon to be new Chrome dev tools and some other pretty rocking stuff.</p><p><iframe
src="http://www.youtube.com/embed/pmqKnEG-6GA" frameborder="0" width="560" height="315"></iframe></p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2012/04/development/html5-rocks-hangout-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Tech Tweets &#8211; Thursday 15th March 2012</title><link>http://tosbourn.com/2012/03/tech-news/tech-tweets-thursday-15th-march-2012/</link> <comments>http://tosbourn.com/2012/03/tech-news/tech-tweets-thursday-15th-march-2012/#comments</comments> <pubDate>Thu, 15 Mar 2012 22:27:24 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Tech News]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Rory Jeffers]]></category> <category><![CDATA[Sarah Parmenter]]></category> <category><![CDATA[Twitter]]></category><guid
isPermaLink="false">http://tosbourn.com/?p=874</guid> <description><![CDATA[Here is a run-down of the tech tweets I have posted today. It’s time to start using JavaScript strict mode : http://j.mp/AtVbzW &#160; HTML5 is not ready yet – and will never be (and that is a good thing) – http://j.mp/x7AREq &#160; Defensive Programming: Being Just-Enough Paranoid http://j.mp/wI0qOZ &#160; @roryjeffers: @tosbourn I think @barcampbelfast is [...]]]></description> <content:encoded><![CDATA[<p>Here is a run-down of the tech tweets I have posted today.</p><ul><li>It’s time to start using JavaScript strict mode : <a
title="http://j.mp/AtVbzW" href="http://t.co/VyYvrrmd" rel="nofollow" target="_blank" data-expanded-url="http://j.mp/AtVbzW">http://j.mp/AtVbzW</a></li></ul><p>&nbsp;</p><ul><li>HTML5 is not ready yet – and will never be (and that is a good thing) – <a
title="http://j.mp/x7AREq" href="http://t.co/0l7hNGXy" rel="nofollow" target="_blank" data-expanded-url="http://j.mp/x7AREq">http://j.mp/x7AREq</a></li></ul><p>&nbsp;</p><ul><li>Defensive Programming: Being Just-Enough Paranoid <a
title="http://j.mp/wI0qOZ" href="http://t.co/s203qvsH" rel="nofollow" target="_blank" data-expanded-url="http://j.mp/wI0qOZ">http://j.mp/wI0qOZ</a></li></ul><p>&nbsp;</p><ul><li><a
href="https://twitter.com/#%21/roryjeffers" rel="nofollow" data-screen-name="roryjeffers"><s>@</s><strong>roryjeffers</strong></a>: <a
href="https://twitter.com/#%21/tosbourn" rel="nofollow" data-screen-name="tosbourn"><s>@</s><strong>tosbourn</strong></a> I think <a
href="https://twitter.com/#%21/barcampbelfast" rel="nofollow" data-screen-name="barcampbelfast"><s>@</s><strong>barcampbelfast</strong></a> is soon and <a
href="https://twitter.com/#%21/sazzy" rel="nofollow" data-screen-name="sazzy"><s>@</s><strong>sazzy</strong></a> is speaking at the Ulster Festival of Art &amp; Design on 21st of this month.</li></ul><p>&nbsp;</p><ul><li>Nice Mac app that gives nice simple calendar functionality &#8211; <a
title="http://shauninman.com/archive/2011/10/20/day_o_mac_menu_bar_clock" href="http://t.co/q0pJ67QV" rel="nofollow" target="_blank" data-expanded-url="http://shauninman.com/archive/2011/10/20/day_o_mac_menu_bar_clock">http://shauninman.com/archive/2011/10/20/day_o_mac_menu_bar_clock</a></li></ul><p>You can follow me on twitter <a
href="https://twitter.com/#!/tosbourn/" target="_blank">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2012/03/tech-news/tech-tweets-thursday-15th-march-2012/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>My Feelings On Adobe Edge</title><link>http://tosbourn.com/2011/08/design/my-feelings-on-adobe-edge/</link> <comments>http://tosbourn.com/2011/08/design/my-feelings-on-adobe-edge/#comments</comments> <pubDate>Tue, 02 Aug 2011 20:18:53 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Adobe Edge]]></category> <category><![CDATA[HTML5]]></category><guid
isPermaLink="false">http://tosbourn.com/?p=493</guid> <description><![CDATA[Today I was put on record (with my consent!) complaining about Adobe&#8217;s new tool &#8211; Edge. Tonight I figured I would a) give it a go and b) explain why I don&#8217;t think it is a good idea. I will cover b) first then show you a)! So Edge is essentially a tool for writing [...]]]></description> <content:encoded><![CDATA[<p>Today I was <a
title="State Of Search - Edge" href="http://www.stateofsearch.com/adobe-edge-seo-friendly-web-animations/" target="_blank">put on record</a> (with my consent!) complaining about Adobe&#8217;s new tool &#8211; <a
title="Adobe Edge" href="http://labs.adobe.com/technologies/edge/" target="_blank">Edge</a>.</p><p>Tonight I figured I would a) give it a go and b) explain why I don&#8217;t think it is a good idea.</p><p>I will cover b) first then show you a)!</p><p>So Edge is essentially a tool for writing Flash like animations which utilise current web standards to get the job done.  On the face of it this sounds like a pretty cool idea, since we all hate Flash, right?  I mean it can run in most modern browsers (including iDevices) and sure it doesn&#8217;t require you to download a third party plugin to play anything &#8211; what isn&#8217;t to love.</p><p>I will tell you what isn&#8217;t to love &#8211; the fact that animation isn&#8217;t semantic, you can&#8217;t display any markup to convey an animation (save for animation within video).  HTML is a Markup Language that should used for turning data into machine readable code to be parsed at will by whatever program wants to.</p><p>There is no data you can convey with an animation (or at least that couldn&#8217;t be conveyed a more semantic way) so being able to play an animation in HTML is pointless.  It is only good for some visual sprinkles (but then so was Flash!).</p><p>Anyway, rant over &#8211; I don&#8217;t like the idea of squeezing HTML to do something it wasn&#8217;t designed for and shouldn&#8217;t be used for.  You might, in which case you should download the trail whilst you can.</p><p>I did, here are the results.  <a
title="Edge Test" href="http://tosbourn.com/edgetest/" target="_blank">Edge Test</a>.</p><p>Interestingly, the one tag I expected to see was Canvas, I thought this is the ideal HTML5 tag for animation, apart from that I have to say the code it produces is pretty nice, and the learning curve (for someone who last used anything like that over 5 years ago) was pretty shallow.</p><p>By the way, I should give some love to the following YouTube video, helping me to get my animation on!</p><p><iframe
width="560" height="349" src="http://www.youtube.com/embed/neSFy1hs-G4" frameborder="0" allowfullscreen></iframe></p><p>And, you know, if you need any animation work done, well my portfolio speaks for itself!</p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2011/08/design/my-feelings-on-adobe-edge/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>HTML5 Canvas Tutorial</title><link>http://tosbourn.com/2011/04/design/html5-canvas-tutorial/</link> <comments>http://tosbourn.com/2011/04/design/html5-canvas-tutorial/#comments</comments> <pubDate>Wed, 20 Apr 2011 19:17:37 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Canvas]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[Nettuts]]></category><guid
isPermaLink="false">http://tosbourn.com/?p=424</guid> <description><![CDATA[Nettuts provides some excellent tutorials from time to time and I think the latest one which takes the user through the basics of using Canvas. Apart from gaming I have yet to see a really interesting use for the canvas element but hopefully more people getting exposed to the basics of it will help bread [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://net.tutsplus.com/" target="_blank">Nettuts</a> provides some excellent tutorials from time to time and I think the latest one which takes the user <a
href="http://net.tutsplus.com/tutorials/javascript-ajax/canvas-from-scratch-transformations-and-gradients/" target="_blank">through the basics of using Canvas.</a></p><p>Apart from gaming I have yet to see a really interesting use for the canvas element but hopefully more people getting exposed to the basics of it will help bread some creativity and some fun things will follow as a result.</p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2011/04/design/html5-canvas-tutorial/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HTML5 &#8211; Anyone Played With It Yet?</title><link>http://tosbourn.com/2009/07/design/html5-anyone-played-with-it-yet/</link> <comments>http://tosbourn.com/2009/07/design/html5-anyone-played-with-it-yet/#comments</comments> <pubDate>Fri, 10 Jul 2009 21:57:45 +0000</pubDate> <dc:creator>Toby</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[Smashing Magazine]]></category><guid
isPermaLink="false">http://www.tosbourn.com/?p=104</guid> <description><![CDATA[Has anyone played with HTML5 yet? I recently downloaded a cheat sheet for it and have been dying for a small project to use it on.  The problem is most of the commercial projects I work on are such that HTML5 just wouldn&#8217;t be a viable choice, and all of the personal things I take [...]]]></description> <content:encoded><![CDATA[<p>Has anyone played with HTML5 yet?</p><p>I recently downloaded a <a
href="http://www.smashingmagazine.com/2009/07/06/html-5-cheat-sheet-pdf/">cheat sheet</a> for it and have been dying for a small project to use it on.  The problem is most of the commercial projects I work on are such that HTML5 just wouldn&#8217;t be a viable choice, and all of the personal things I take on I know I don&#8217;t have that much time for so usually throw things together using a CMS or whatever.</p><p>I would be really interested to hear peoples feedback on this, so let me know!</p> ]]></content:encoded> <wfw:commentRss>http://tosbourn.com/2009/07/design/html5-anyone-played-with-it-yet/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: tosbourn.com @ 2012-05-22 13:47:17 by W3 Total Cache -->
