<?xml version='1.0' encoding='utf-8' ?>
<feed xmlns='http://www.w3.org/2005/Atom'>
  <title type='text'>Jake Rayson</title>
  <generator uri='http://effectif.com/nesta'>Nesta</generator>
  <id>tag:www.jrayson.co.uk,2009:/</id>
  <link href='http://www.jrayson.co.uk/articles.xml' rel='self' />
  <link href='http://www.jrayson.co.uk' rel='alternate' />
  <subtitle type='text'>Freelance Front End Web Developer</subtitle>
  <updated>2013-04-30T00:00:00+00:00</updated>
  <author>
  </author>
  <entry>
    <title>Get Chunky with your Data</title>
    <link href='http://www.jrayson.co.uk/blog/130430-get-chunky-with-your-data' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2013-04-30:/blog/130430-get-chunky-with-your-data</id>
    <content type='html'>
      &lt;p&gt;Occasionally someone asks me my opinion about web design. Woe betide them, as they are inundated with a reading list, people to follow, websites, videos and articles.&lt;/p&gt;
      
      &lt;p&gt;It happened again today, and yet again top of my list is &lt;a href=&quot;http://www.abookapart.com/products/content-strategy-for-mobile&quot;&gt;Content Strategy for Mobile&lt;/a&gt; by &lt;a href=&quot;https://twitter.com/karenmcgrane&quot;&gt;Karen McGrane&lt;/a&gt;.&lt;/p&gt;
      
      &lt;p&gt;It is a brilliant book, as I said to my friend:&lt;/p&gt;
      
      &lt;blockquote&gt;&lt;p&gt;Buy it, read it. Make everyone else read it.&lt;/p&gt;&lt;/blockquote&gt;
      
      &lt;p&gt;To get a flavour of the book, have a look at her &lt;a href=&quot;http://karenmcgrane.com/2012/09/04/adapting-ourselves-to-adaptive-content-video-slides-and-transcript-oh-my/&quot;&gt;Adapting Ourselves to Adaptive Content&lt;/a&gt; video.&lt;/p&gt;
      
      &lt;p&gt;The essence is &lt;strong&gt;chunky data&lt;/strong&gt;. Break your data blob into tasty chunks and structure it to reflect your organisation’s purpose and then &lt;em&gt;you can do so much more&lt;/em&gt;.&lt;/p&gt;
      
      &lt;p&gt;And then it dawned on me: chunky data articulates purpose and functionality, which then informs the accessible approach of &lt;a href=&quot;http://alistapart.com/article/understandingprogressiveenhancement&quot;&gt;progressive enhancement&lt;/a&gt;, the flexiblity and &lt;a href=&quot;http://futurefriend.ly/&quot;&gt;future-friendliness&lt;/a&gt; of &lt;a href=&quot;http://www.implementingresponsivedesign.com/&quot;&gt;Responsive Web Design&lt;/a&gt; and the principle of &lt;a href=&quot;http://smacss.com/&quot;&gt;Modular CSS&lt;/a&gt;.&lt;/p&gt;
      
      &lt;p&gt;Go get your copy now, &lt;strong&gt;&lt;a href=&quot;http://www.abookapart.com/products/content-strategy-for-mobile&quot;&gt;go on&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
      
      &lt;p&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8542/8696955328_6698952900.jpg&quot; width=&quot;286&quot; height=&quot;242&quot; alt=&quot;chunky-bacon-foxes&quot;&gt;&lt;/a&gt;&lt;/p&gt;
      
      &lt;p&gt;&lt;em&gt;Chunky Bacon, which sounds almost the same as Chunky Data, from &lt;a href=&quot;http://mislav.uniqpath.com/poignant-guide/&quot;&gt;why’s (Poignant) Guide to Ruby&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
    </content>
    <published>2013-04-30T00:00:00+00:00</published>
    <updated>2013-04-30T00:00:00+00:00</updated>
    <category term='design'></category>
    <category term='html-css'></category>
  </entry>
  <entry>
    <title>Changes: a new responsive theme</title>
    <link href='http://www.jrayson.co.uk/blog/121015-changes' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-10-15:/blog/121015-changes</id>
    <content type='html'>
      &lt;p&gt;There are some big changes ahead for everything and everyone, this much-neglected blog included.&lt;/p&gt;
      
      &lt;p&gt;First of all, I won’t be &lt;a href=&quot;http://www.zdnet.com/blog/web-design-and-free-software/&quot;&gt;blogging for ZDNet&lt;/a&gt; any more. Theoretically, this means more time for this, my portfolio/rant site. We shall see.&lt;/p&gt;
      
      &lt;p&gt;Secondly, I have started work on a new responsive blogging theme for Nesta called &lt;a href=&quot;https://github.com/growdigital/NestaPress&quot;&gt;NestaPress&lt;/a&gt;. There’s nothing much in the GitHub repo as of yet, but one of the exciting parts is that I’ll be using &lt;a href=&quot;http://inkscape.org&quot;&gt;Inkscape&lt;/a&gt; to create the mockups. I love Inkscape, in all its SVG vector goodness, and the file’s are all plain text too, so the goodness can be spread like a giant lump of &lt;a href=&quot;http://en.wikipedia.org/wiki/Marmite&quot;&gt;marmite&lt;/a&gt;. Let’s hope you like marmite.&lt;/p&gt;
      
      &lt;p&gt;Thirdly, I am branching out into the field of &lt;a href=&quot;http://en.wikipedia.org/wiki/Permaculture&quot;&gt;permaculture&lt;/a&gt; and sustainable living. I think this is because I’m getting older and getting bored of designing and building websites for what are essentially totally useless products (you know who you are).&lt;/p&gt;
      
      &lt;p&gt;This is exciting because I am going to get to make stuff I think is useful and beautiful. I will, of course, keep my avid readers posted.&lt;/p&gt;
    </content>
    <published>2012-10-15T00:00:00+00:00</published>
    <updated>2012-10-15T00:00:00+00:00</updated>
    <category term='design'></category>
    <category term='html-css'></category>
    <category term='misc'></category>
    <category term='news'></category>
  </entry>
  <entry>
    <title>Less broken</title>
    <link href='http://www.jrayson.co.uk/blog/120702-less-broken' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-07-02:/blog/120702-less-broken</id>
    <content type='html'>
      &lt;p&gt;I’ve spent the day rebooting the &lt;a href=&quot;http://www.memset.com/&quot;&gt;Memset&lt;/a&gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Virtual_private_server&quot;&gt;VPS&lt;/a&gt; that I manage. I made the foolish novice mistake of trying to install &lt;a href=&quot;http://rubyonrails.org/&quot;&gt;Ruby on Rails&lt;/a&gt; on the server, rather than using the excellent and mostly-free-until-you-need-lots &lt;a href=&quot;http://www.heroku.com/&quot;&gt;Heroku&lt;/a&gt; hosting.&lt;/p&gt;
      
      &lt;p&gt;Which means this poor portfolio site has been ever more neglected. I’ve fixed the basic layout for the larger desktop view (go on, expand your browser, see the ugliness in full flowing action). But it needs some work.&lt;/p&gt;
      
      &lt;p&gt;And then, finally, mobile layout last (&lt;a href=&quot;http://www.lukew.com/ff/entry.asp?933&quot;&gt;I know, I know&lt;/a&gt;).&lt;/p&gt;
    </content>
    <published>2012-07-02T00:00:00+00:00</published>
    <updated>2012-07-02T00:00:00+00:00</updated>
    <category term='misc'></category>
    <category term='news'></category>
  </entry>
  <entry>
    <title>Trouble with Rem</title>
    <link href='http://www.jrayson.co.uk/blog/120629-trouble-with-rems' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-06-29:/blog/120629-trouble-with-rems</id>
    <content type='html'>
      &lt;p&gt;In the midst of my langorous and leisurely responsive redesign, I noticed that my text sizing is all over the shop.&lt;/p&gt;
      
      &lt;p&gt;Turns out the problem was in my use of &lt;a href=&quot;http://www.w3.org/TR/css3-values/#rem-unit&quot;&gt;rem&lt;/a&gt;, the relative &lt;a href=&quot;http://www.w3.org/TR/css3-values/#em-unit&quot;&gt;em&lt;/a&gt;s in CSS3, the use of which I pinched from &lt;a href=&quot;https://twitter.com/Malarkey/&quot;&gt;@Malarkey&lt;/a&gt;’s blog post on his &lt;a href=&quot;http://www.stuffandnonsense.co.uk/blog/about/this_is_the_new_320_and_up&quot;&gt;responsive web design boilerplate&lt;/a&gt; (in the bit about the mixins). I didn’t pay attention during the appropriation, so I missed one crucial point:&lt;/p&gt;
      
      &lt;p&gt;&lt;strong&gt;The font size is &lt;em&gt;relative&lt;/em&gt; to the base font size. Hence the term &lt;em&gt;relative ems&lt;/em&gt;.&lt;/strong&gt;&lt;/p&gt;
      
      &lt;p&gt;Doh. I’d set the base font size on the body to &lt;code&gt;1.1 rem&lt;/code&gt;. Now I’ve used &lt;a href=&quot;https://twitter.com/snookca&quot;&gt;@snookca&lt;/a&gt;’s &lt;a href=&quot;http://snook.ca/archives/html_and_css/font-size-with-rem&quot;&gt;recommendation&lt;/a&gt; of setting &lt;code&gt;html font-size&lt;/code&gt; to &lt;code&gt;100%&lt;/code&gt;.&lt;/p&gt;
      
      &lt;p&gt;Time to clear up the ensuing font mess…&lt;/p&gt;
    </content>
    <published>2012-06-29T00:00:00+00:00</published>
    <updated>2012-06-29T00:00:00+00:00</updated>
    <category term='html-css'></category>
  </entry>
  <entry>
    <title>Retrospective modularisation</title>
    <link href='http://www.jrayson.co.uk/blog/120430-retrospective-modularisation' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-04-30:/blog/120430-retrospective-modularisation</id>
    <content type='html'>
      &lt;p&gt;This website, by any standards, is pretty darned small. Just a five pages and a blog. So, how complicated could the CSS possibly be? 613 lines, 9 sections and some headaches. &lt;em&gt;That’s&lt;/em&gt; how complicated.&lt;/p&gt;
      
      &lt;p&gt;The worst of it is, I am &lt;strong&gt;retrospectively&lt;/strong&gt; making the site responsive, with just two breakpoints at 520 and 1024 pixels. It is fiddly, to say the least.&lt;/p&gt;
      
      &lt;p&gt;To help clear things up, I’m implementing &lt;a href=&quot;http://twitter.com/snookca&quot;&gt;@snookca&lt;/a&gt;’s &lt;a href=&quot;http://smacss.com&quot;&gt;Scalable and Modular&lt;/a&gt; methodology. At the moment, &lt;a href=&quot;https://github.com/growdigital/jrayson/tree/master/themes/jaketheme/views/jrayson.scss&quot;&gt;my styles&lt;/a&gt; are mish-mashly organised by element, function and page:&lt;/p&gt;
      
      &lt;ol&gt;
      &lt;li&gt;Variables&lt;/li&gt;
      &lt;li&gt;Mixins&lt;/li&gt;
      &lt;li&gt;Typography&lt;/li&gt;
      &lt;li&gt;Links&lt;/li&gt;
      &lt;li&gt;Page elements&lt;/li&gt;
      &lt;li&gt;Navigation&lt;/li&gt;
      &lt;li&gt;Specific pages&lt;/li&gt;
      &lt;li&gt;Breakpoints&lt;/li&gt;
      &lt;li&gt;Hacks&lt;/li&gt;
      &lt;/ol&gt;
      
      
      &lt;p&gt;The trouble with this is that colour and typography are higgeldy-pig with margins and padding. Not good. For example:&lt;/p&gt;
      
      &lt;pre&gt;&lt;code&gt;#primary-nav li a {&amp;#x000A;  background-color: #283135;&amp;#x000A;  letter-spacing: 0.13rem;&amp;#x000A;  line-height: 2.6rem;&amp;#x000A;  padding: 0 1.2rem 0.1rem;&amp;#x000A;  margin-right: 26px;&amp;#x000A;  border-radius: 3px;&amp;#x000A;  text-shadow: 1px 1px 1px #1A2023;&amp;#x000A;}&amp;#x000A;&lt;/code&gt;&lt;/pre&gt;
      
      &lt;p&gt;Jonathan’s approach is to &lt;strong&gt;abstract&lt;/strong&gt; the CSS rules into five categories:&lt;/p&gt;
      
      &lt;ol&gt;
      &lt;li&gt;Base&lt;/li&gt;
      &lt;li&gt;Layout&lt;/li&gt;
      &lt;li&gt;Module&lt;/li&gt;
      &lt;li&gt;State&lt;/li&gt;
      &lt;li&gt;Theme&lt;/li&gt;
      &lt;/ol&gt;
      
      
      &lt;p&gt;This way, it’s easier to refactor a section, for example, when you are creating variations for responsive design.&lt;/p&gt;
      
      &lt;p&gt;That’s all very well for the theory. Now, &lt;strong&gt;let the practice commence!!&lt;/strong&gt;&lt;/p&gt;
    </content>
    <published>2012-04-30T00:00:00+00:00</published>
    <updated>2012-04-30T00:00:00+00:00</updated>
    <category term='html-css'></category>
  </entry>
  <entry>
    <title>It’s not broken, I built it that way</title>
    <link href='http://www.jrayson.co.uk/blog/120427-its-not-broken' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-04-27:/blog/120427-its-not-broken</id>
    <content type='html'>
      &lt;p&gt;In case you were wondering why this website looks broken when viewed in a browser over 1200 pixels wide, &lt;em&gt;it’s because I designed it that way&lt;/em&gt;.&lt;/p&gt;
      
      &lt;p&gt;Here is a picture for those people not lucky enough to have a big screen monitor:&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/42147041@N06/7119059025/&quot; title=&quot;It's not broken by growdigital, on Flickr&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8142/7119059025_e8b23c1cb6.jpg&quot; width=&quot;500&quot; height=&quot;256&quot; alt=&quot;It's not broken&quot;&gt;&lt;/a&gt; &lt;br/&gt;
      &lt;em&gt;This website viewed in a browser over 1200 pixels wide&lt;/em&gt;&lt;/p&gt;
      
      &lt;p&gt;For those that don't like massive single columns and no margins or padding, you are very much in luck, because I am responsibly building this website responsively.&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;https://twitter.com/#!/growdigital&quot;&gt;@growdigital&lt;/a&gt;&lt;/p&gt;
    </content>
    <published>2012-04-27T00:00:00+00:00</published>
    <updated>2012-04-27T00:00:00+00:00</updated>
    <category term='misc'></category>
  </entry>
  <entry>
    <title>Responsively dull AND exciting</title>
    <link href='http://www.jrayson.co.uk/blog/120424-rwd-exciting-dull' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-04-24:/blog/120424-rwd-exciting-dull</id>
    <content type='html'>
      &lt;p&gt;I have neglected my portfolio site of late. Sure, I’ve added some screengrabs to my &lt;a href=&quot;http://www.jrayson.co.uk/portfolio&quot;&gt;portfolio&lt;/a&gt;, showcasing some exciting, cutting-edge HTML emails. But I have failed miserably to convert the site to a fully responsive design.&lt;/p&gt;
      
      &lt;p&gt;In conversation with a colleague over a &lt;a href=&quot;http://www.phocafe.co.uk/&quot;&gt;bowl of hot noodles&lt;/a&gt;, he slurped that &lt;a href=&quot;http://www.alistapart.com/articles/responsive-web-design/&quot;&gt;Responsive Web Design&lt;/a&gt; is a very exciting concept but dull to implement.&lt;/p&gt;
      
      &lt;p&gt;I can see where he’s coming from. There is the initial design, the fun bit, playing with colour combinations and fonts, tweaking layouts and icons. And then you have to do it all again. At least twice.&lt;/p&gt;
      
      &lt;p&gt;And then with the markup, you have to tweak &lt;strong&gt;all&lt;/strong&gt; the margins and paddings, not just the page layout. Only what
      &lt;a href=&quot;http://twitter.com/malarkey&quot;&gt;@malarkey&lt;/a&gt; calls &lt;a href=&quot;http://stuffandnonsense.co.uk/projects/320andup/&quot;&gt;‘design atmosphere’&lt;/a&gt; remains the same.&lt;/p&gt;
      
      &lt;p&gt;What a lot of work. But it’s worth it,for as the fog of tedium lifts you are presented with the clarity of The One True Website for all Platforms.&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;https://twitter.com/#!/growdigital&quot;&gt;@growdigital&lt;/a&gt;&lt;/p&gt;
    </content>
    <published>2012-04-24T00:00:00+00:00</published>
    <updated>2012-04-24T00:00:00+00:00</updated>
    <category term='html-css'></category>
  </entry>
  <entry>
    <title>Margin top on headings</title>
    <link href='http://www.jrayson.co.uk/blog/120313-margin-top-headings' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-03-13:/blog/120313-margin-top-headings</id>
    <content type='html'>
      &lt;p&gt;Many, many years ago, I was a &lt;a href=&quot;http://www.quark.com/&quot;&gt;QuarkXpress&lt;/a&gt; whizz. It’s easy to see how being a jobbing artworker led on to a life of markup: stylesheets were the stuff of good document management, then with Quark as now with CSS. Plus ca change etc.&lt;/p&gt;
      
      &lt;p&gt;I was in the habit of setting only bottom margins for paragraphs, as it’s only the headings that require top margins to separate blocks of content.&lt;/p&gt;
      
      &lt;p&gt;But what I’ve always found a pain is setting a top margin for a heading only for it to bump against it’s containing element. Sure, you could use an &lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/&quot;&gt;&lt;code&gt;nth element&lt;/code&gt;&lt;/a&gt; CSS selector to target the first heading but alas it isn’t cross-browser.&lt;/p&gt;
      
      &lt;p&gt;Now, however, with all-new-improved HTML5, because you are actively encouraged to think in terms of &lt;em&gt;chunky standalone data blocks&lt;/em&gt;, you can have multiple (embedded) &lt;code&gt;h1&lt;/code&gt;s on a page. This makes life far easier, because now there is only one &lt;code&gt;h1&lt;/code&gt; per block, &lt;strong&gt;all&lt;/strong&gt; &lt;code&gt;h1&lt;/code&gt;s have &lt;code&gt;margin-top:0;&lt;/code&gt; as they’re all first in their containers.&lt;/p&gt;
      
      &lt;p&gt;Hooray.&lt;/p&gt;
    </content>
    <published>2012-03-13T00:00:00+00:00</published>
    <updated>2012-03-13T00:00:00+00:00</updated>
    <category term='html-css'></category>
  </entry>
  <entry>
    <title>I like NestaCMS. A lot.</title>
    <link href='http://www.jrayson.co.uk/blog/120306-i-like-nesta' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-03-06:/blog/120306-i-like-nesta</id>
    <content type='html'>
      &lt;p&gt;I’m sat on a train, with a dodgy old laptop, a flaky 3G signal from my manky old mobile, and a battery that’s oozing more juice than a month old banana. I’m pulling in to my stop in 10 minutes, yet &lt;strong&gt;amazingly&lt;/strong&gt; I still have time to type up this blog entry in Markdown, save it, &lt;code&gt;git push&lt;/code&gt; and then &lt;code&gt;git push heroku&lt;/code&gt;.&lt;/p&gt;
      
      &lt;p&gt;And it’s up and it’s live, and I’m &lt;em&gt;not even a programmer&lt;/em&gt;! Amazing.&lt;/p&gt;
      
      &lt;p&gt;This is, of course, down to the magnificent &lt;a href=&quot;http://nestacms.com/&quot;&gt;NestaCMS&lt;/a&gt;, combined with the awesomeness of &lt;a href=&quot;https://github.com/&quot;&gt;GitHub&lt;/a&gt;, built on the glory of &lt;a href=&quot;http://www.ruby-lang.org/en/&quot;&gt;Ruby&lt;/a&gt; and &lt;a href=&quot;http://www.sinatrarb.com/intro&quot;&gt;Sinatra&lt;/a&gt;.&lt;/p&gt;
      
      &lt;p&gt;Really, if you’re a web designer with not much programming nous/experience but you like plain text and simplicity, give Nesta a go.&lt;/p&gt;
    </content>
    <published>2012-03-06T00:00:00+00:00</published>
    <updated>2012-03-06T00:00:00+00:00</updated>
    <category term='cms'></category>
  </entry>
  <entry>
    <title>Get it out!</title>
    <link href='http://www.jrayson.co.uk/blog/120220-get-it-out' rel='alternate' type='text/html' />
    <id>tag:www.jrayson.co.uk,2012-02-20:/blog/120220-get-it-out</id>
    <content type='html'>
      &lt;p&gt;This is my blog! The first draft of my new &lt;a href=&quot;http://www.jrayson.co.uk/portfolio&quot;&gt;portfolio&lt;/a&gt; blog.&lt;/p&gt;
      
      &lt;p&gt;This website is constructed with &lt;a href=&quot;http://nestacms.com/&quot;&gt;Nesta CMS&lt;/a&gt;, a lightweight, text-oriented, &lt;a href=&quot;http://daringfireball.net/projects/markdown/&quot;&gt;Markdown&lt;/a&gt;-centric, &lt;a href=&quot;http://nestacms.com/&quot;&gt;GitHub&lt;/a&gt;-friendly, &lt;a href=&quot;http://www.sinatrarb.com/&quot;&gt;Sinatra&lt;/a&gt;-frameworked, &lt;a href=&quot;http://www.ruby-lang.org/en/&quot;&gt;Ruby&lt;/a&gt;-origined Content Management System.&lt;/p&gt;
      
      &lt;p&gt;You can &lt;a href=&quot;http://www.jrayson.co.uk/articles.xml&quot;&gt;subscribe&lt;/a&gt; to my newsfeed, on topics as diverse as HTML and CSS, Linux, graphics, design, good practise and commonsense.&lt;/p&gt;
      
      &lt;p&gt;I’ll write more later and at greater length about the delights of Nesta, Git, Heroku &amp;amp; Sublime Text. Until then, &lt;strong&gt;Get it out!&lt;/strong&gt;.&lt;/p&gt;
    </content>
    <published>2012-02-20T00:00:00+00:00</published>
    <updated>2012-02-20T00:00:00+00:00</updated>
    <category term='cms'></category>
    <category term='news'></category>
  </entry>
</feed>
