<?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>Graeme Pirie &#187; Learning</title>
	<atom:link href="http://graemepirie.com/category/learning/feed/" rel="self" type="application/rss+xml" />
	<link>http://graemepirie.com</link>
	<description>Web Designer</description>
	<lastBuildDate>Fri, 23 Jul 2010 11:00:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Summercamp: One year on</title>
		<link>http://graemepirie.com/summercamp-one-year-on/</link>
		<comments>http://graemepirie.com/summercamp-one-year-on/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 11:00:55 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=561</guid>
		<description><![CDATA[This time last year, I was lucky enough to be at Summercamp down at the Carsonified offices in Bath and...]]></description>
			<content:encoded><![CDATA[<p><a href="http://graemepirie.com/wp-content/uploads/2010/07/summercamp.jpg"><img class="post-image" title="Carsonified Summercamp" src="http://graemepirie.com/wp-content/uploads/2010/07/summercamp.jpg" alt="Carsonified Summercamp" width="503" height="148" /></a></p>
<p>This time last year, I was lucky enough to be at Summercamp down at the Carsonified offices in Bath and thought I&#8217;d write an update of the things that have happened in the last year and how the event has helped me in the last 12 months. Summercamp was billed as an event aimed at full-time students and founders of startup web apps who were just starting out. Places were limited to 8 only and as there was only three weeks between the <a href="http://twitter.com/ryancarson/status/2419031486">event being announced</a> and the event itself, I applied immediately and to be honest, kind of forgot about it as I didn&#8217;t really believe that I would be accepted. I was delighted however when <a href="http://twitter.com/tristamyers">Trista</a> got in touch to say that I had been awarded a place.</p>
<p>As well as myself, the other attendees were:</p>
<ul>
<li><a href="http://twitter.com/jamesproud">James Proud</a> (founder of <a href="http://www.giglocator.com/">Gig Locator</a>)</li>
<li><a href="http://twitter.com/veritech">Jonathan Dalrymple</a></li>
<li><a href="http://robday.net/">Rob Day</a></li>
<li><a href="http://www.mattdempsey.com/">Matt Dempsey</a></li>
<li><a href="http://felixrenicks.com/">Felix Rennicks</a></li>
<li><a href="http://twitter.com/erakor">Amaury Moulron</a></li>
<li><a href="http://twitter.com/rossbearman">Ross Bearman</a></li>
</ul>
<p>Across the 8 of us were a wide range of skills and talents, with Gig Locator being in beta at the time and has since launched and doing well, and Rob was organising a one-day conference called Tomorrow&#8217;s Web which took place just a few weeks after Summercamp. There was a mix of designers and developers across the attendees and the sessions were also evenly spread between design, development and business/career issues, all of which were interesting in their own. Full write ups on the event are available her with <a href="http://graemepirie.com/carsonified-summer-camp-1/">part 1</a> and <a href="http://graemepirie.com/carsonified-summer-camp-2/">part 2</a>.</p>
<p>In the 12 months since, things have changed a lot for me as I am no longer at university and am now in full-time employment and have also improved both my design and development skills over the last year. My own website has been re-designed several times since and have also learned more coding skills, focussing on HTML5 and CSS 3 and even dabbling in php!</p>
<p>As more of a designer than developer I was more interested with the design focussed talks and I thoroughly enjoyed <a href="http://www.thethingswemake.co.uk/">Mike</a>&#8216;s talk through on what was then the recent Carsonified re-design and how he approached it. I also enjoyed the talks on development techniques and how to approach the task of building and testing sites, with <a href="http://carsonified.com/team/ryan/">Ryan</a>&#8216;s introduction to A/B testing being an interesting session.</p>
<p>The whole experience was brilliant and if Carsonified were to ever run it again, I would recommend to anyone to apply for a place. I&#8217;ve benefitted greatly from the experience (even playing Wiffle Ball!) and I&#8217;m sure all the other guys have gained a lot from it also.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/summercamp-one-year-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Re-Design</title>
		<link>http://graemepirie.com/site-re-design-2/</link>
		<comments>http://graemepirie.com/site-re-design-2/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 11:00:09 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=542</guid>
		<description><![CDATA[Not even a year since the last re-design, it&#8217;s that time again. Whilst I liked the previous design at the...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="Site Re-Design" src="http://graemepirie.com/wp-content/uploads/2010/07/re-design-large.jpg" alt="Site Re-Design" /></p>
<p><a href="http://graemepirie.com/a-fresh-new-look/">Not even a year since the last re-design</a>, it&#8217;s that time again. Whilst I liked the previous design at the time, it wasn&#8217;t too long before I started getting the itch to re-do it again. I wasn&#8217;t entirely satisfied with the design after a while and recently found the time to re-do it again, keeping the same loose structure and style but updated slightly and less cluttered I think.</p>
<p>For a good while I wanted to include as much information as possible and the site didn&#8217;t always have room to breathe and there was limited amounts of whitespace, but this time I&#8217;ve tried to space things out better and provide more whitespace to display the most important elements of the site clearly. The same structure is kept as before but just slightly altered to show off the content a bit more.</p>
<p>The site is built using HTML5 and CSS 3 wherever possible  and as such looks better in the good browsers and should gracefully degrade in the not so good ones (hello Microsoft!). IE6 I didn&#8217;t bother wasting my time with this time, very few people visit this site using that browser and it wasn&#8217;t worth my time. Instead, I served it the excellent <a href="http://forabeautifulweb.com/blog/about/universal_internet_explorer_6_css">Universal stylesheet</a> from <a href="http://twitter.com/malarkey">Andy Clarke</a>. The site works fine in IE7 and IE8 although it doesn&#8217;t have all the bells and whistles that it should have. I also upgraded to WordPress 3 and have been playing about with the new custom post types, I&#8217;m not quite there with it yet but should have them fully set up and working soon.</p>
<p>I also created a custom iPhone stylesheet which displays the site in a basic manner at the moment, which will improve over the next few weeks as I learn more about creating a specific iPhone stylesheet and improve on the usability and experience of viewing the site on an iPhone. At the moment, content is displayed but it needs more work to improve on the basic layout it currently has.</p>
<p>There&#8217;ll still be more improvements and tweaks to the site over the next few weeks as I don&#8217;t think it&#8217;s perfect and there are areas I need to work on, but I felt it was ok to release and work on the relatively small tweaks over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/site-re-design-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The time element and WordPress</title>
		<link>http://graemepirie.com/the-time-element-and-wordpress/</link>
		<comments>http://graemepirie.com/the-time-element-and-wordpress/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 12:00:37 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=445</guid>
		<description><![CDATA[I&#8217;m currently in the process of re-designing this site and part of this process means updating it to utilise the...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="wordpress-time" src="http://graemepirie.com/wp-content/uploads/2010/07/wordpress-time.png" alt="WordPress and the Time Element" width="500" height="100" /></p>
<p>I&#8217;m currently in the process of re-designing this site and part of this process means updating it to utilise the latest HTML5 and CSS 3 elements where possible, and as a result of this I&#8217;ve used the time element in all dates such as post date and also other dates.</p>
<p>The format of the time element for dates is as follows:</p>
<p><code>&lt;time datetime="2009-11-13"&gt;13 November 2009&lt;/time&gt;</code></p>
<p>The datetime attribute has to contain an ISO 8601 date although the value can contain any date format you wish. When using this with the dynamic nature of wordpress, the following format produces a valid output for post dates:</p>
<p><code>&lt;time datetime="&lt;?php the_time('c'); ?&gt;"&gt;&lt;?php the_time('F jS, Y'); ?&gt;&lt;/time&gt;</code></p>
<p>This will currently produce valid HTML5 and can be used in addition to &#8220;pubdate&#8221; to indicate that this was the date the article was published.</p>
<p><code>&lt;time datetime="&lt;?php the_time('c'); ?&gt;" pubdate&gt;&lt;?php the_time('F jS, Y'); ?&gt;&lt;/time&gt;</code></p>
<p>Of course, time can be used elsewhere on the site where suitable, and in any string format you wish.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/the-time-element-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A good aspect of uni projects</title>
		<link>http://graemepirie.com/a-good-aspect-of-uni-projects/</link>
		<comments>http://graemepirie.com/a-good-aspect-of-uni-projects/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 12:00:10 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Project 52]]></category>
		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=401</guid>
		<description><![CDATA[After my rant from the other week, where I questioned the benefits of continuing with my university career, I thought...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="experiment" src="http://graemepirie.com/wp-content/uploads/2010/03/experiment.jpg" alt="Experimentation" width="500" height="100" /></p>
<p>After <a href="http://graemepirie.com/university-is-it-worth-it/">my rant</a> from the other week, where I questioned the benefits of continuing with my university career, I thought I would highlight one of the benefits of university and the projects that are required to be undertaken. Experimenting with new techniques and technologies can be beneficial whilst trying to get your head around things such as HTML5, CSS3 and jQuery for example. By having a clearly defined project on a university project that is not subjected to the same audience and restrictions as a &#8220;real-world&#8221; project.</p>
<p>Recently I&#8217;ve been working on a project which has allowed me to make use of a variety of HTML5 elements and also to use far more of the CSS3 techniques than I could get away with in a client project. Transitions and other experimental things such as background gradients can be used on more critical elements due to the nature of the project, whereas in a client site they should only be used on &#8220;extras&#8221; which were not design critical until the browsers have caught up with the specification.</p>
<p>Having these experimentation opportunities is critical for students as the techniques which are taught to us can often leave a lot to be desired (one lecturer still uses table based layouts!) and by carrying out some independent learning and having somewhere to experiment can be vital for any future employment opportunities. If a student is interested in gaining a career in web design, I also feel it&#8217;s important to have their own website which they can show off their skills and show any future employers that they are keen and have a genuine interest in the subject.</p>
<p>Students often suffer from a lack of experience and a limited portfolio when it comes to gaining employment but university projects can be beneficial as they provide projects with clearly defined goals and parameters. Whilst it&#8217;s good to create designs for fictional reasons and it can be extremely beneficial to practice design skills and play around out with the curriculum, it&#8217;s also good to work within the (sometimes painful) constraints of university projects.</p>
<p>Like anything, the more you practice then the better you will become at something and the same applies to web design, and students shouldn&#8217;t just wait for lecturers to hand out the work &#8211; they should create it themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/a-good-aspect-of-uni-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Exploit Scanner</title>
		<link>http://graemepirie.com/wordpress-exploit-scanner/</link>
		<comments>http://graemepirie.com/wordpress-exploit-scanner/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 12:00:33 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Project 52]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=398</guid>
		<description><![CDATA[Recently I&#8217;ve been working on restoring a WordPress blog back to health after it was compromised, and after performing an...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="exploit-scanner" src="http://graemepirie.com/wp-content/uploads/2010/03/exploit-scanner.jpg" alt="WordPress Exploit Scanner" width="500" height="100" /></p>
<p>Recently I&#8217;ve been working on restoring a WordPress blog back to health after it was compromised, and after performing an upgrade to both WordPress itself and all contributed modules, I used the excellent WordPress Exploit Scanner to identify errors and inserted code within files, and it was able to identify that a malicious php script was inserted into the first line of almost every plugin file.</p>
<p><span id="more-398"></span><br />
<code><br />
&lt; php<br />
eval(base64_decode("dfslgdgdfgdg...................")<br />
?&gt;<br />
</code><br />
In order to restore the blog back to full working order it was necessary to remove this line from each file, and with there being over 20 plugins this was going to be a lengthy process. Fortunately by deleting the plugin and uploading a newly downloaded version this saved trawling through each file to remove the malicious code.</p>
<p>This was the first time that I&#8217;d used the WordPress Exploit Scanner but I will definitely keep it in mind for the future, both when there is a specific problem and also to check the health on any WordPress site.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/wordpress-exploit-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Drupal Theme</title>
		<link>http://graemepirie.com/my-first-drupal-theme/</link>
		<comments>http://graemepirie.com/my-first-drupal-theme/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 21:24:01 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Project 52]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Drupal 7]]></category>
		<category><![CDATA[Drupal themes]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=387</guid>
		<description><![CDATA[After just completing my first Drupal theme created from scratch, it was a big learning curve trying to style certain...]]></description>
			<content:encoded><![CDATA[<p><a href="http://graemepirie.com/wp-content/uploads/2010/02/drupaltheme.png"><img class="size-full wp-image-390  aligncenter" title="My First Drupal Theme" src="http://graemepirie.com/wp-content/uploads/2010/02/drupaltheme.png" alt="My First Drupal Theme" width="500" height="100" /></a></p>
<p>After just completing my first <a href="http://drupal.org/">Drupal</a> theme created from scratch, it was a big learning curve trying to style certain aspects of the content, especially some of the <a href="http://drupal.org/project/views">Views</a> generated content but that&#8217;s a discussion for another day. Wrestling with the different settings and style sheets included with modules took a bit of time and although it&#8217;s only a basic theme, I  was quite pleased with it. After completing this and fighting with the code to a certain extent, I was curious what changes would be made to theming in Drupal 7 after the involvement of Mark Boulton and the whole <a href="http://www.d7ux.org/">D7UX</a> project.<span id="more-387"></span></p>
<p>I only downloaded the Drupal 7 Alpha at the weekend so not had much of a chance to have a really good look around but first impressions indicate that the code has been cleaned up a lot since Drupal 6 which should certainly make it easier for designers/themers to create beautiful and custom designs. I think one of the major things which has held Drupal back in comparison to other systems like WordPress and Expression Engine is the lack of high quality themes for Drupal, and there seems to be a barrier for non-developers within the Drupal community and a lot of designer v developer debates going on, but that&#8217;s for another time.</p>
<p>One of the best additions was the stark theme which is almost totally devoid of CSS which helps when installing modules to determine their included CSS and see the CSS easier. Having this is a great help as one of the things I found difficult at times was altering the module&#8217;s CSS and by removing this it will certainly make this process easier in development.</p>
<p>As a result of this, I&#8217;ve decided to alter it slightly and remove even the basic styling that it has and also conver this theme to HTML 5 in order to have as clean an install as possible for creating themes in the future. I&#8217;m hoping that once I&#8217;ve completed it I&#8217;ll be able to release it for others in the near future, which should give me incentive to make it as good as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/my-first-drupal-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>University Update</title>
		<link>http://graemepirie.com/university-update/</link>
		<comments>http://graemepirie.com/university-update/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 19:20:03 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Project 52]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[information design]]></category>
		<category><![CDATA[interface design]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=337</guid>
		<description><![CDATA[There&#8217;s always been a debate within the web industry about whether it&#8217;s better to gain a university education or to...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="Abertay University" src="http://graemepirie.com/wp-content/uploads/2010/01/abertay2.jpg" alt="Abertay University" width="500" height="100" /></p>
<p>There&#8217;s always been a debate within the web industry about whether it&#8217;s better to gain a university education or to gain a job within the industry in order to build up a portfolio of work and experience. Having been at university for just over a year and gaining work experience at the same time, I can see both sides of the argument. Whilst I&#8217;m enjoying my time here, there are areas where the course could be significantly improved, with the latest set of modules described below:</p>
<p><strong>Web Standards:</strong></p>
<p>This module was essentially all about valid code and practices for accessibility and usability, all basic and essential things to know for any web designer/developer. I had a slight advantage for this module having known a lot of the areas discussed previously and knew all about the table layouts v CSS layouts and validators etc. However, it baffles me why this module wasn&#8217;t delivered in first year instead of the HTML module we had to endure with the tutor telling us that inline styles and table layouts were still ok to be used if we wanted.</p>
<p><strong>MultMedia:</strong></p>
<p>This module was all about Flash and ActionScript 2.0, which although useful and good to know it is not something that interests me at all and do not enjoy Flash work at all. The module is called Web MultiMedia but rarely ventures out of Flash and there is a lot more to multimedia on the web than that.</p>
<p>With the emergence of HTML 5 and the video and audio tags coming into effect within browsers, this could be a new era of multimedia embedded into sites but this has not been mentioned at all. The emergence of web apps such as Spotify etc have changed the way music is consumed on the web, and the Kindle has changed the book industry and popularised e-books.</p>
<p><strong>Designing Interfaces:</strong></p>
<p>This module was interesting and probably the highlight of the semester, with a lecturer who knew his subject and was passionate about it certainly helped. A lot of theory was introduced to the way that interfaces are designed and considerations were analysed in order to produce the most effective and attractive interface.</p>
<p>The highlight of the semester for me.</p>
<p><strong>Law:</strong></p>
<p>We had to endure a law module which was interesting, but too generic to really get me interested. The area of contract law is obviously essential to the industry as a key area is the relationship between client and designer and a good solid contract is key to this relationship. However, there was no mention of intellectual property or other law specific to computing and the internet which was a disappointment as this would have been more relevant and interesting.</p>
<p>The current semester has just started this week and new modules include Web Scripting, Marketing and Information Design which has the potential to be an improvement on the previous one. This post has turned into a bit of a rant about the failings of the course, and although it&#8217;s not all bad, I can see why people skip the university route and head straight for industry.</p>
<p>Photo Credit: <a href="http://www.flickr.com/photos/yellowarrow/">Yellow Arrow</a></p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/university-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 and CSS 3</title>
		<link>http://graemepirie.com/html-5-and-css-3/</link>
		<comments>http://graemepirie.com/html-5-and-css-3/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 12:00:19 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=313</guid>
		<description><![CDATA[Over the past few weeks I&#8217;ve been reading more about HTML 5 and CSS 3 and how the respective specifications...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="HTML 5 and CSS 3" src="http://graemepirie.com/wp-content/uploads/2009/12/html5-css3.png" alt="HTML 5 and CSS 3" width="500" height="100" /></p>
<p>Over the past few weeks I&#8217;ve been reading more about HTML 5 and CSS 3 and how the respective specifications are progressing, and beginning to experiment with a lot of the new elements and selectors available. Although a lot of the new elements and ways to markup a site are not production ready, I&#8217;ve been working on a university project which allows a lot more freedom to experiment and as such I decided to mark up the entire site with HTML 5 and to also use a number of CSS 3 selectors where appropriate. Having read a lot about these new technologies, this represented the ideal opportunity to begin using the things which I had read about.</p>
<p><span id="more-313"></span></p>
<h3>HTML 5:</h3>
<p>Much has been written about HTML 5 and is now at a point where it is being used more and more in production sites, with browser support improving all the time (except IE of course!). I first heard of the new HTML 5 spec about a year ago when the first &#8220;2022 rumours&#8221; came out and I was a bit confused about the timeline and the development progress. However, over the past year it has come a lot more popular and the record was straight on the 2022 date. At <a title="FOWD Glasgow" href="http://graemepirie.com/future-of-web-design-glasgow-a-review-part-deux/">FOWD Glasgow</a> I was lucky enough to hear Bruce Lawson speak about HTML 5 and how it was being developed to be used now, and taking the things that we all do on a regular basis and streamlining these tasks. HTML 5 is designed to be used now, and as browser support increases it is becoming more widespread.</p>
<p>One of the first noticeable things about HTML5 is the Doctype, and <a title="HTML 5 doctype" href="http://bigkidsdidit.co.uk/html5-doctype-and-character-encoding">how simple it is in comparison</a> to the HTML 4.01 and XHTML 1 doctypes, which simplifies things a lot and this sets the tone for the rest of the page as I feel in general that markup is a lot cleaner by making use of the new elements such as section, article, aside etc reducing the number of divs used within a page.  Although the <a title="Canvas Element" href="http://html5doctor.com/glossary/#c">canvas</a> element has got a lot of attention for some of the exciting things now native to the browser, but I found the video element a real treat to use and certainly cuts down on the amount of markup needed to embed a video into the page, which is not as big a problem as it once was. The only code required with the new video tag is:</p>
<p>&lt;video width=&#8221;280&#8243; height=&#8221;160&#8243; poster=&#8221;img/roll.jpg&#8221; controls autoplay&gt;<br />
&lt;source src=&#8221;video/roll.mp4&#8243; type=&#8221;video/mp4&#8243; /&gt; &lt;!&#8211; MPEG4 for Safari &#8211;&gt;<br />
&lt;source src=&#8221;video/roll.ogg&#8221; type=&#8221;video/ogg&#8221; /&gt; &lt;!&#8211; Ogg Theora for Firefox &#8211;&gt;<br />
&lt;img src=&#8221;img/roll.jpg&#8221; alt=&#8221;Our Famous Ham &amp;amp; Cheese&#8221; title=&#8221;Our Famous Ham &amp;amp; Cheese&#8221; /&gt;<br />
&lt;/video&gt;</p>
<p>The reason there&#8217;s two sources is that Safari and the Webkit browsers support the mp4 codec whereas Firefox and the Gecko based browsers only support the ogg codec. There is a debate ongoing at the moment at getting an industry wide codec supported to make life easier but I think there&#8217;s a way to go yet on that issue. After declaring the sources, it&#8217;s important to add an image or other fallback content for browsers which currently don&#8217;t recognise the &lt;video&gt; tag &#8211; I&#8217;m looking at you again IE!</p>
<p>That&#8217;s just one of the new tags available and there are a wide range of HTML 5 resources available to keep up to date with the development specification and techniques including:</p>
<ul>
<li><a title="HTML 5 Doctor" href="http://html5doctor.com/">HTML 5 Doctor</a></li>
<li><a title="Bruce Lawson" href="http://www.brucelawson.co.uk/category/accessibility-web-standards/html5/">Bruce Lawson</a></li>
<li><a title="HTML 5 Gallery" href="http://html5gallery.com/">HTML 5 Gallery</a></li>
<li><a title="W3C" href="http://dev.w3.org/html5/html4-differences/">W3C Differences document</a></li>
<li><a title="WHATWG" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">WHATWG Current Working Draft</a></li>
<li><a title="A List Apart" href="http://www.alistapart.com/articles/previewofhtml5">A List Apart Article</a></li>
</ul>
<p>I&#8217;ll post up the results of my HTML 5 experiement once it&#8217;s completed, which is a university project based around a sandwich shop and Coldfusion.</p>
<h3>CSS 3:</h3>
<p>As well as using HTML 5 for the firs time in earnest, I also used the opportunity to make use of some CSS 3 techniques for the first time and there is some exciting developments in this area which cut down the amount of CSS and styling needed. With the new specification techniques such as rounded corners, gradients, drop shadows and font embedding become much easier. The @font-face attribute has been around for a while but has become a lot more popular recently, as has the issue of fonts on the web with the emergence of services like <a title="Typekit" href="http://typekit.com">Typekit</a> and <a title="Fontdeck" href="http://fontdeck.com/">Fontdeck</a>.</p>
<p>Rounded corners, drop shadows and gradients have been a popular &#8220;Web 2.0&#8243; look for a while now but with CSS 3 these techniques are made much easier. In order to achieve fully rounded corners, it hasbeen known for up to 9 different images being used to achieve, however with the border-radius attribute it&#8217;s possible to achieve this with pure css. Although not an official attribute at the moment, it almost certainly will be and can be achieved at the moment with browser specific attributes such as -moz-border-radius and -webkit-border-radius. As ever, IE lags behind with no support for the border-radius element at all.</p>
<p>CSS backgrounds are set to change dramtically with support for multiple backgrounds and the use of rgba values offering new ways to set backgrounds via CSS. Currently, only Safari supports multiple backgrounds and if applied, all other browsers won&#8217;t see any background image so it&#8217;s not production ready at the moment but I don&#8217;t think it will be long before it becomes adopted in other browsers. The other change to the background element is the ability to set colours using rgba values to define the colour and opacity of a background. <a title="Drew McLellan" href="http://allinthehead.com/">Drew McLellan</a> kicked off this year&#8217;s 24Ways with <a title="24 Ways" href="http://24ways.org/2009/working-with-rgba-colour">an excellent article on the use of rgba values</a>, and I&#8217;ve used rgba to create some semi transparent background in my university project, which negated the need to use transparent pngs andreduced page load for the user.</p>
<p>LIke HTML 5, we&#8217;re just at the beginning of  being able to use CSS 3 and whilst there&#8217;s not a huge amount of support available it won&#8217;t be too long before there is and will make coding beautiful sites that bit easier.</p>
<p>Once my university project is finished, I&#8217;ll post up a link and a description of the techniques used.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/html-5-and-css-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Steps after installing Drupal</title>
		<link>http://graemepirie.com/first-steps-after-installing-drupal/</link>
		<comments>http://graemepirie.com/first-steps-after-installing-drupal/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 10:00:00 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[drupal first steps]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=278</guid>
		<description><![CDATA[Having installed Drupal a fair number of times now, I&#8217;ve got into a routine of essential things that I run...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="drupalfirststeps" src="http://graemepirie.com/wp-content/uploads/2009/09/drupalfirststeps.png" alt="drupalfirststeps" width="500" height="100" /></p>
<p>Having installed <a title="Drupal.org" href="http://drupal.org">Drupal</a> a fair number of times now, I&#8217;ve got into a routine of essential things that I run through for each and every project regardless of the details of that topics, things that are generic to any <a title="Drupal.org" href="http://drupal.org">Drupal</a> installation and thought I would share them here. These are the same steps that I go through each and every time, before adding the project specific modules and functionality etc.</p>
<p><span id="more-278"></span></p>
<p><strong>1. Enable Clean URLs</strong><br />
<img class="alignleft size-full wp-image-280" title="cleanurls" src="http://graemepirie.com/wp-content/uploads/2009/09/cleanurls.png" alt="cleanurls" width="500" height="133" /><br />
Clean URLs removes the horrible &#8220;?q=&#8221; from the urls generated by Drupal when creating nodes, and makes the nodes easier to remember and more SEO friendly. When used with the path auto module it enables very clear and SEO friendly page paths.</p>
<p><strong>2. Create an Admin Role</strong><br />
<img class="alignleft size-full wp-image-288" title="drupalroles" src="http://graemepirie.com/wp-content/uploads/2009/09/drupalroles.png" alt="drupalroles" width="501" height="101" /></p>
<p>By default, Drupal is installed with two user roles, anonymous and authenticated users. This allows permissions to be set for visitors to your site and people who have registered to be a member. When the installation process is complete, you&#8217;re logged in as user 1 which is the only user with permissions to perform certain tasks such as running update.php and other admin tasks. It&#8217;s much more secure to create an a new role called adminstrator or something similar and grant it permission to do all the tasks that user 1 can do, and only log in as user 1 when running update.php etc. This also gives the opportunity to grant other users access to the administration pages whilst still maintaining control over the site.</p>
<p><strong>3. Essential Modules</strong><br />
<img class="alignleft size-full wp-image-291" title="modules" src="http://graemepirie.com/wp-content/uploads/2009/09/modules.png" alt="modules" width="501" height="101" /></p>
<p>Like other CMS&#8217;, there are essential modules which are used on 99% of sites, regardless of the type of site. There are certain bits of functionality which are almost like an extension of core as they are used that often. The modules I find myself installing time after time include:</p>
<ul>
<li><a title="Content Construction Kit" href="http://drupal.org/project/cck">CCK</a></li>
<li><a title="Views" href="http://drupal.org/project/views">Views</a></li>
<li><a title="Admin Menu" href="http://drupal.org/project/admin_menu">Admin Menu</a></li>
<li><a title="Page Title" href="http://drupal.org/project/page_title">Page Title</a></li>
<li><a title="Path Auto" href="http://drupal.org/project/pathauto">Path Auto</a></li>
<li><a title="Devel" href="http://drupal.org/project/devel">Devel</a></li>
<li><a title="Advanced Help" href="http://drupal.org/project/advanced_help">Advanced Help</a></li>
<li><a title="Date" href="http://drupal.org/project/date">Date</a></li>
<li><a title="WYSIWYG" href="http://drupal.org/project/wysiwyg">WYSIWYG</a> &amp; Editor</li>
</ul>
<p><strong>4. Install Themes</strong><br />
<img class="alignleft size-full wp-image-293" title="themes" src="http://graemepirie.com/wp-content/uploads/2009/09/themes.png" alt="themes" width="501" height="102" /></p>
<p>Like the Modules, there are themes which I install in every fresh Drupal project which are the <a title="RootCandy Theme" href="http://drupal.org/project/rootcandy">RootCandy</a> theme and <a title="Framework" href="http://drupal.org/project/framework">Framework</a>. RootCandy I use as my adminstration theme and for entering content on sites as it provides an excellent UI for this task and much better than the default Garland theme. As a designer, I like the Framework theme as a starting point for my custom themes as it strips out a lot of the styles and leaves me with a blank canvas so to speak from which to create themes.</p>
<p><strong>5.Configuration</strong><br />
<img class="alignleft size-full wp-image-303" title="configure" src="http://graemepirie.com/wp-content/uploads/2009/09/configure.png" alt="configure" width="501" height="101" /></p>
<p>Once all these modules and themes are installed and enables, I always take the time to configure them all correctly as well as adding any other user roles required such as Editors, Forum admins etc. It&#8217;s much easier to set all these up right at the beginning before any content is added especially when configuring modules such as the page title and path auto modules.</p>
<p>With CCK and Views, I always have a plan written down of what content I require and the fields that will be needed as well as all the views which will need to be created before I begin implementing them within Drupal.</p>
<p>Does some of this look familiar? Do you have any other essential steps that you run through before creating a new Drupal project? Let us know in the comments below and we can all learn from each other.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/first-steps-after-installing-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typekit &#8211; Real fonts on the web</title>
		<link>http://graemepirie.com/typekit-real-fonts-on-the-web/</link>
		<comments>http://graemepirie.com/typekit-real-fonts-on-the-web/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:00:23 +0000</pubDate>
		<dc:creator>Graeme</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[FOWD]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Typekit]]></category>

		<guid isPermaLink="false">http://graemepirie.com/?p=266</guid>
		<description><![CDATA[You may have noticed a small grey box saying &#8220;Fonts from&#8221; in the bottom right of your browser window, which...]]></description>
			<content:encoded><![CDATA[<p><img class="post-image" title="typekit" src="http://graemepirie.com/wp-content/uploads/2009/09/typekit.png" alt="typekit" width="500" height="100" /></p>
<p>You may have noticed a small grey box saying &#8220;Fonts from&#8221; in the bottom right of your browser window, which links to a page describing the fonts which are used on this site. This is part of the new <a title="Typekit" href="http://typekit.com">Typekit </a>service, which is able to implement a wide range of fonts into a website, giving designers more varied options when picking an appropriate font. <span id="more-266"></span></p>
<p>Traditionally, the &#8220;safe&#8221; fonts to use have been limited to a small number of common fonts which are installed on the popular operating systems, namely Mac OS and the Windows systems. Websites use the font files on the user&#8217;s machine, which lead to designers using the &#8220;font-family&#8221; attribute to display the fonts that they wish to use on the page, and due to this restriction the number of fonts were limited to these few common fonts. Recently, a technique referred to as @font-face enabled designers to upload fonts to their servers and link to them, which enabled a wider range of fonts to be used on websites. But the main problem with this solution was that not all fonts were legally allowed to be used by this technique, and also it was very easy for people to look at the source code and then download the font for themselves. This meant that even if it was legal for a paid font to be used with @font-face, it could be illegally downloaded very easily.</p>
<p>Typekit however is a new approach entirely which has the backing of the major font foundries and uses some JavaScript to display the fonts onto the site, meaning that fonts are not stored on the site server and can&#8217;t be illegally downloaded. This approach is more appealing to the foundries as they are able to have more control over their fonts, and the subscription plans mean that they will get a financial reward for their efforts.</p>
<p>Typekit is still in an invite-only beta phase and after attending FOWD Glasgow, I received an invite last week and subsequently signed up for the free subscription and so far I&#8217;m impressed. It&#8217;s so easy to use, there are a wide range of few fonts even on the free package, although this number will increase in the paid packages. In order to use the service, a user just has to login and create a &#8220;kit&#8221; before browsing the available fonts to add to that kit.</p>
<p>Once the desired fonts have been added, and it&#8217;s possible to add several fonts to each kit, the user is given or can select CSS classes which the fonts will be applied to before inserting these into the site code. After adding the 2 lines of javascript to the page header which applies the fonts then that&#8217;s it complete and the new fonts are added to the page. As these are alternate fonts, by still using the font-family and @font-face attribute then non-JavaScript users will still see an appropriate font and their experience will still be attractive.</p>
<p>The only slight notice is that on the free account it&#8217;s not possible to remove the badge that can be seen, and there can be a slight &#8220;flicker&#8221; as the original fonts are loaded and then the Typekit fonts are added in later, although it&#8217;s only a split second and certainly worth it for the benefit that it brings.</p>
<p>Overall my first impressions are very good and will consider upgrading to one of the paid accounts in time and once it is worthwhile for me to do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://graemepirie.com/typekit-real-fonts-on-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
