<?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>isRob.com</title>
	<atom:link href="http://isrob.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://isrob.com/blog</link>
	<description>The little bit of the web brought to you by Rob Wright</description>
	<lastBuildDate>Thu, 11 Aug 2011 08:27:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Much will be written&#8230;</title>
		<link>http://isrob.com/blog/2011/08/much-will-be-written/</link>
		<comments>http://isrob.com/blog/2011/08/much-will-be-written/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 08:27:53 +0000</pubDate>
		<dc:creator>isrob</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[riots]]></category>

		<guid isPermaLink="false">http://isrob.com/blog/?p=26</guid>
		<description><![CDATA[Much will be written about these riots long after the event. By the politicians, using the loss of livelihood as a trump card against their opponents. By the social media &#8216;gurus&#8217;, seeking to extol the tools of their trade while promoting their latest seminar. And by the press, repeatedly and salaciously describing the violence in... <a href="http://isrob.com/blog/2011/08/much-will-be-written/" class="readmore text small black"><span>Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<p>Much will be written about these riots long after the event. By the politicians, using the loss of livelihood as a trump card against their opponents. By the social media &#8216;gurus&#8217;, seeking to extol the tools of their trade while promoting their latest seminar. And by the press, repeatedly and salaciously describing the violence in the pursuit of readership gains.</p>
<p>The sight of local businesses boarding up their properties at 3pm in anticipation of looting sickens me. That I must walk through a roughly-cut opening in this armour plating to buy a pint of milk is hugely saddening. </p>
]]></content:encoded>
			<wfw:commentRss>http://isrob.com/blog/2011/08/much-will-be-written/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Augmented (hyper)Reality</title>
		<link>http://isrob.com/blog/2011/06/augmented-hyperreality/</link>
		<comments>http://isrob.com/blog/2011/06/augmented-hyperreality/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 19:30:53 +0000</pubDate>
		<dc:creator>isrob</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[augmented]]></category>
		<category><![CDATA[consumerism]]></category>
		<category><![CDATA[reality]]></category>

		<guid isPermaLink="false">http://isrob.com/blog/?p=22</guid>
		<description><![CDATA[The latter half of the 20th century saw the built environment merged with media space, and architecture taking on new roles related to branding, image and consumerism. Augmented reality may recontextualise the functions of consumerism and architecture, and change in the way in which we operate within it. This is brilliant – Keiichi Matsuda manages... <a href="http://isrob.com/blog/2011/06/augmented-hyperreality/" class="readmore text small black"><span>Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/8569187?portrait=0&amp;color=ff0179" width="520" height="293" frameborder="0"></iframe></p>
<p><em>The latter half of the 20th century saw the built environment merged with media space, and architecture taking on new roles related to branding, image and consumerism. Augmented reality may recontextualise the functions of consumerism and architecture, and change in the way in which we operate within it.</em></p>
<p>This is brilliant – Keiichi Matsuda manages to entertain, amuse and challenge <a href="http://vimeo.com/8569187">in this short video</a>. A disturbing look into our future?</p>
]]></content:encoded>
			<wfw:commentRss>http://isrob.com/blog/2011/06/augmented-hyperreality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My scratch site. What&#8217;s yours?</title>
		<link>http://isrob.com/blog/2011/06/hello-world/</link>
		<comments>http://isrob.com/blog/2011/06/hello-world/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 13:11:32 +0000</pubDate>
		<dc:creator>isrob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[scratch]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://isrob.com/blog/?p=1</guid>
		<description><![CDATA[Every website has a similar structure upon which everything else grows. HTML for content markup, CSS for styling, JavaScript for interaction. My ‘scratch site’ is a set of files that forms the basis of every new website I create. It’s evolved organically over the years, updated for HTML5, and I thought I’d share it with... <a href="http://isrob.com/blog/2011/06/hello-world/" class="readmore text small black"><span>Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<p>Every website has a similar structure upon which everything else grows. HTML for content markup, CSS for styling, JavaScript for interaction. My ‘scratch site’ is a set of files that forms the basis of every new website I create. It’s evolved organically over the years, updated for HTML5, and I thought I’d share it with you in the hope that I can improve it with the insights of other developers. Plus, it might be useful to you, too.</p>
<h3>HTML</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
   &lt;head&gt;
      &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
      &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;chrome=1; IE=edge&quot; /&gt;
      &lt;link href=&quot;favicon.ico&quot; rel=&quot;shortcut icon&quot; type=&quot;shortcut/ico&quot; /&gt;
      &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/reset.css&quot; media=&quot;screen&quot; /&gt;
      &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/stylesheet.css&quot; media=&quot;screen&quot; /&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.6.1.min.js&quot;&gt;&lt;/script&gt;
      &lt;!--[if lt IE 9]&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;js/html5shiv.js&quot;&gt;&lt;/script&gt;&lt;![endif]--&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;js/scripts.js&quot;&gt;&lt;/script&gt;
      &lt;title&gt;&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
   &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Points of note:</p>
<ul>
<li>Line 1: HTML5 doctype declaration. Pushes browsers into standards compliant mode.</li>
<li>Line 2: Language attribute in the HTML tag. Think global.</li>
<li>Line 4: Setting your documents character set is important regardless of whether you think you’ll be using ‘special characters’ or not. Don’t make the browser guess.</li>
<li>Line 5: chrome=1 enables Google Chrome Frame for IE users if they have it installed. WebKit rendering is simply superior to that of IE, so I see this as a quick win. Additionally, IE=edge tells IE versions 8 upwards to render your page to its best capabilities, regardless of compatibility options or intranet settings etc.</li>
<li>Line 6: I haven’t actually included a favicon.ico in the downloadable ZIP, but I keep it in the HTML to remind me that it’s a good thing to do. If only to help users out when they’re trawling for your site in their bookmarks.</li>
<li>Line 9: Could very easily be replaced with a version of jQuery from a CDN – I deal a lot with intranets at work where locally-served copies are preferable, so modify this to suit your own needs.</li>
<li>Line 10: The very-excellent <a href="http://remysharp.com/2009/01/07/html5-enabling-script/">HTML5 Shiv</a> allows the use of HTML5′s new semantic elements on lowly versions of IE that typically would refuse to style them otherwise. Referenced here in a conditional comment to stop it loading unnecessarily.</li>
</ul>
<h3>CSS</h3>
<p>You’ll see I have an empty stylesheet.css file in the download. This is deliberate, as I start with a blank slate here thanks to <a href="http://meyerweb.com/eric/tools/css/reset/">Eric A. Meyer’s Reset CSS</a>. Browsers have wildly different interpretations of how to render unstyled HTML markup, with varying defaults that can cause a headache down the line if you don’t reset them first. It’s small but targeted, zeroing out margins and padding where required, as well as setting sensible defaults for sizing from which you can modify to suit your needs.</p>
<h3>JavaScript</h3>
<p>I’m a big fan of jQuery so include it in most projects where I have more than a trivial amount of interaction to code in JavaScript. It takes the hassle out of browser compatibility for AJAX functionality and tasteful visual effects, as well as enabling many of the CSS3 selectors for browsers that lack native support.</p>
<p>Namespacing your JavaScript, through any one of the various methods available, is a good thing. Polluting the global namespace with your code is a bad thing. I structure basic JavaScript applications this way:</p>
<pre class="brush: jscript; title: ; notranslate">
// Register global objects
var isRob = {};

// Page has loaded, initialise
$(function() {
   isRob.appName.init();
});

isRob.appName = function() {
   return {
      init: function() {
      },
   };
}();
</pre>
<p>You can see I dump all of my code under the isRob namespace, with functions declared within. Typically I’d also include a isRob.utilities object for functions that aren’t application specific and may be used by multiple modules. While I’m quite proficient at JavaScript, this is probably my weakest area of front end development – I can get the job done just fine, but I have a lot to learn when it comes to simulating inheritance and doing things in the best object-oriented way in which you can coax JavaScript to operate.</p>
<h3>Get the code</h3>
<p>So, to the download.  <a href="http://isrob.com/blog/wp-content/uploads/2011/06/scratch100.zip">Get it here, as a ZIP.</a>  Thoughts welcome.</p>
<p><i>Photo credit:</i> <a href="http://www.flickr.com/photos/aditza121/216249138/">aditza121</a> (Flickr)</p>
]]></content:encoded>
			<wfw:commentRss>http://isrob.com/blog/2011/06/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

