<?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>University Logs of David Turner</title>
	<atom:link href="http://uni.davidturner.name/feed/plog/" rel="self" type="application/rss+xml" />
	<link>http://uni.davidturner.name/</link>    
	<description>Collection of posts from my IMD Learning Logs</description>
	<language>en</language>
	<sy:updatePeriod>daily</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>



<item>
	<title>A Tip of the Hat (to Awesome Resources)</title>
	<link>http://uni.davidturner.name/plog/A-Tip-of-the-Hat-(to-Awesome-Resources)/post/</link>
	<pubDate>Mon, 18 Apr 2011 18:50:00 +0000</pubDate>
	<dc:creator>David Turner</dc:creator>
	
	<content:encoded><![CDATA[<h1><a href="http://uni.davidturner.name/plog/A-Tip-of-the-Hat-(to-Awesome-Resources)/" title="A Tip of the Hat (to Awesome Resources)">A Tip of the Hat (to Awesome Resources)</a></h1>

<p>Well, #IMD is now pretty much over for those of us in final year. It's been a great, if stressful, time for me and it'll be nice to finally unwind over the next few days before getting back to work on <a href="http://referenceit.org/" title="ReferenceIt - Making Referencing Better">ReferenceIt</a> for final submission.</p>

<p>I'd love to say that I'm entirely responsible for the sheer <em>awesome</em> that my site consists of, but it would be a lie. Over the past year I've read an <em>insane</em> amount of material both on and offline. And in this post I'm going to go over some of the <em>best</em> resources I've found and made use of over the past year.</p>

<!--[More]-->

<h2>Straight to the Good Stuff - Print</h2>

<p>Normally I'd provide a bit of a build up to the main point that I'm looking to make, providing some background on what I'm talking about. Today it's <em>all</em> about sharing the resources I've found to be most useful over the past year. This time I'm just going to work through each of the resources, providing a brief overview of each as we go. So let's get to it shall we?</p>

<h3>A Book Apart - All of Them</h3>

<figure>

<img src="img/a-book-apart.jpg" alt="A Book Apart" title="A Book Apart" />

</figure>

<p>The three books (currently) available from <a href="http://www.abookapart.com/" title="A Book Apart">A Book Apart</a> are a pretty awesome series of resources for several topics related to web design. Rather than providing an in-depth, overwhelming, look into the nitty gritty workings of a topic, these books provide a fantastic resource for getting to grips with the things <em>you need to know now</em> whilst providing information on where to look if you want to delve deeper into things.</p>

<p>As both a student and someone who freelances semi-regularly, having a series of books that doesn't get lost in the technical side of things has been fantastic. They're quick and easy to read and to understand, which lets me get back to work with a solid understanding of the topic at hand.</p>

<h4>Available Online</h4>

<ul>
<li><a href="http://www.abookapart.com/" title="A Book Apart">A Book Apart</a></li>
</ul>

<h3>HTML and CSS Web Standards Solutions: A Web Standardistas' Approach</h3>

<figure>

<img src="img/web-standardistas.jpg" alt="HTML and CSS Web Standards Solutions: A Web Standardistas' Approach" title="HTML and CSS Web Standards Solutions: A Web Standardistas' Approach" />

</figure>

<p>This book, by final year lecturers Chris and Nicklas, I purchased during my second year on the #IMD course. At the time I was well aware of how to build a site using HTML and CSS, which is what this book covers. Even with this knowledge I came away with a better understanding of <em>how</em> and <em>why</em> sites should be coded in a semantic, structured fashion.</p>

<p>The <em>only</em> thing I would count against this book is that it deals with XHTML, and this one fault is brought about purely due to how well it has stood the test of time. The approach taken with this book is as applicable to HTML5 sites as it is to XHTML ones, and this is something to bear in mind when reading this book.</p>

<h4>Available Online</h4>

<ul>
<li><a href="http://www.amazon.co.uk/gp/product/1430216069/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=refer05-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=1430216069" title="HTML and CSS Web Standards Solutions: A Web Standardistas' Approach on Amazon.co.uk">Amazon.co.uk</a></li>
<li><a href="http://www.amazon.com/gp/product/1430216069/ref=as_li_ss_tl?ie=UTF8&amp;tag=refer05-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399349&amp;creativeASIN=1430216069" title="HTML and CSS Web Standards Solutions: A Web Standardistas' Approach on Amazon.com">Amazon.com</a></li>
</ul>

<h3>Web Designer's Idea Book (Volumes 1 &amp; 2)</h3>

<figure>

<img src="img/web-designers-idea-book.jpg" alt="Web Designer's Idea Book (Volumes 1 &amp; 2)" title="Web Designer's Idea Book (Volumes 1 &amp; 2)" />

</figure>

<p>I'm of mixed feelings sharing these books as they aren't really a resource I use regularly. These books are, however, a really nice collection of sites that have really nice designs, which can inspire some really beautiful pieces of work. There's no how-to with them, which means you can't just copy/paste the code used, something I view as a plus - it <em>makes</em> you work things out yourself.</p>

<p>The books break the designs down into multiple sections. These are either a colour or a style of design, making it nice and easy to quickly view specific types of site design. This is useful if you're seeking a particular type of inspiration, as you can go straight to examples of similar site design.</p>

<p>My own criticism of these books would be that I can't get them in <em>any</em> digital format. Quite often I find myself not working at home, which means I can't look over these books because I'm not going to carry them everywhere I go... <em>just in case</em>. I would love to see these made available in a PDF or similar digital format.</p>

<h4>Available Online</h4>

<ul>
<li><a href="http://www.amazon.co.uk/gp/product/1440311617/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;tag=refer05-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=1440311617" title="Web Designer's Idea Book (Volume 1 &amp; 2)">Amazon.co.uk (Volume 1 &amp; 2)</a></li>
<li><a href="http://www.amazon.com/gp/product/1440311617/ref=as_li_ss_tl?ie=UTF8&amp;tag=refer05-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399349&amp;creativeASIN=1440311617" title="Web Designer's Idea Book (Volume 1 &amp; 2)">Amazon.com (Volume 1 &amp; 2)</a></li>
</ul>

<h3>8 Faces</h3>

<figure>

<img src="img/8-faces.jpg" alt="8 Faces" title="8 Faces" />

</figure>

<p>8 Faces is a magazine produced for people who love typography. Each issue it covers 8 people's views on the world of typography. In addition to these articles, each person who makes an appearance in the magazine provides a list of their favourite fonts. Magazines are printed in a <em>very</em> limited run, remaining available as PDF downloads after the printed versions are sold out.</p>

<p>As someone who works on the web I have found the topics brought up in the issues to be very insightful, as there is a brilliant blend of print and web typography talk. With the increasing requirement for perfection in every aspect of web design, I think this is a valuable resource for people looking to produce brilliant design the entire way throughout a project.</p>

<p>If you can get a printed copy, do so. If you can't get that, get yourself a copy of a PDF. If this isn't an option then beg, borrow, or steal <sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> a copy from someone who does.</p>

<h4>Available Online:</h4>

<ul>
<li><a href="http://8faces.com" title="8 Faces">8 Faces</a></li>
</ul>

<h2>The Good Stuff - The Internets</h2>

<figure>

<img src="img/the-internets.jpg" alt="The Internets - A Series of Tubes" title="The Internets - A Series of Tubes" />

<figcaption>The Internets - A Series of Tubes</figcaption>

</figure>

<p>All of the above are printed media. And they really are all kinds of <em>awesome</em>. They're also very much static, you can't exactly update a book after it's gone to print. This is something only afforded to content on a magical place... called <em>The Internets</em>. Here you can find all sorts of new, experimental, awesome and horrifying stuff. With great power comes great responsibility - unfortunately people on the internet don't seem to follow things called "rules".</p>

<p>Over the past couple of years I have found and used a series of really <em>awesome</em> sites to <em>get stuff done</em>. This is something I have done previously <sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> and I thought I would finish off this year by doing the same again, sharing some of the awesome sites that I've found to make my life easier, or just showcased some awesome stuff.</p>

<h3>CSS-Tricks</h3>

<figure>

<img src="img/css-tricks.jpg" alt="CSS-Tricks" title="CSS-Tricks" />

</figure>

<p>CSS-Tricks is a site by Chris Coyier, who is some kind of god when it comes to making awesome stuff online. When he <em>isn't</em> tinkering with something, you'll probably find him posting up a fantastic article on some kind of HTML, CSS or jQuery <em>thing</em> he's cooked up.</p>

<p>Honestly, any time I've had an issue with some kind of client-side technology, this man has had <em>something</em> up on this site that has helped me out. <a href="http://perishablepress.com/" title="Perishable Press">Visit CSS-Tricks</a>, you won't regret it.</p>

<h3>Perishable Press</h3>

<figure>

<img src="img/perishable-press.jpg" alt="Perishable Press" title="Perishable Press" />

</figure>

<p>Perishable Press is a site maintained by Jeff Starr. He's a guy that does a <em>lot</em> of WordPress related work. Much of this is covered on his site and most of it can be applied in some form or another to pretty much any web site, as he covers a lot of best practices that happen to deal with WordPress, but that aren't <em>specific to</em> WordPress. This results in a vast amount of really useful information for people reading his site.</p>

<p>This is, I feel, my #1 online resource for weird server-side stuff when I have issues. If I can't get help from people I actually <em>know</em> I go here, then hit up the Google. As most people on the #IMD course are aimed more at design than development, this might not help you <em>too</em> much, but if you're at all interested in that kind of thing, or work with WordPress, you should really <a href="http://digwp.com" title="Digging Into WordPress">hit up Perishable Press</a> right... now.</p>

<h3>Digging Into WordPress</h3>

<figure>

<img src="img/digging-into-wordpress.jpg" alt="Digging Into WordPress" title="Digging Into WordPress" />

</figure>

<p>Digging Into WordPress is a joint venture by Chris Coyier and Jeff Starr, dedicated to sharing information on how to use, improve and expand upon WordPress. They use two ways to share this information. There is their book, which contains information about working with WordPress and there is their site which provides information about doing much more.</p>

<p>The <em>really</em> nice thing about their book is that purchasing either the print or digital copies of their book provides you with free copies of each digital version when they update the book - something that they do shortly after each WordPress update is released, ensuring that their customers <em>always</em> have access to the latest information regarding WordPress.</p>

<p>People finishing second year could probably have used this resource several weeks ago, and students entering the second year of #IMD might want to <a href="http://digwp.com" title="Digging Into WordPress">check out Digging Into WordPress</a> now so that they have a better understanding of how it works. Of course, the same is true for anyone who is interested in using WordPress and wants to tinker with it.</p>

<h3>Forrst</h3>

<figure>

<img src="img/forrst.jpg" alt="Forrst" title="Forrst" />

</figure>

<p>Forrst is a community for Designers and Developers to show off work, share code, and get feedback on things. There has been a lot of comparisons between it and dribbble but I really see them as two entirely different types of community. I've not really used it a great deal of late, which is a real shame. The community spirit of Forrst is really great, and you'll find both inspiration and fantastic information at every turn.</p>

<p>Unfortunately Forrst is an invite-only community but you can apply on the <a href="http://forrst.com" title="Forrst">Forrst Homepage</a> or, if you happen to know members of the site that regularly get invites that they can use to add new members to the community. I <em>currently</em> have 3 available. If you'd like one and follow me on twitter, drop me a message and if I like your work (and have any invites left) I'll send an invite your way.</p>

<h3>24 Ways</h3>

<figure>

<img src="img/24-ways.jpg" alt="24 Ways" title="24 Ways" />

</figure>

<p>24 Ways is a designer's advent calendar. Every December, 24 designers each produce an article for this site, sharing their knowledge so that <em>everyone</em> can benefit from what they have learned. The last series of articles marked the sixth year that this has occurred as well as their first foray into the world of print. This first step consisted of a <em>lovely</em> printed version of this year's articles, with all proceeds from the purchases going to charity.</p>

<p>Fortunately, for people who <em>didn't</em> get a chance to purchase a copy of the annual, this year's posts, along with posts from the previous 5 years, are freely available to anyone who wants to visit the <a href="http://24ways.org/" title="24 Ways">24 Ways site</a>. When content this good is available, there's really no reason at all why you <em>shouldn't</em> be reading it.</p>

<h2>That's a Wrap</h2>

<p>So with my #IMD career coming to a close (May 12th will be my final submission of work as an #IMD student), I wanted to share some of the resources that I've used to get me through the past couple of years (and have me dubbed the <a href="https://twitter.com/oldknickers/status/59576363320999936" title="God of #IMD">"God of #IMD"</a>), in the hopes that they might be of some use for students getting ready to start the course, or to progress onto another year.</p>

<p>I'm not quite done with University just yet though. I've already been accepted on The Masters course and I'm hoping to land a position helping one of the years of #IMD in the labs. Hopefully you'll find some of these resources to be as useful as I have, and you'll enjoy your remaining time as #IMD students as much as I did.</p>

<p>Oh, and enjoy your summer breaks, it won't be long before you're back for another year.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p>If this is the route you decide to go, I don't own either the printed or PDF versions of this magazine... honest.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p><a href="http://uni.davidturner.name/previously-on-IMD/y2sem1/uni/des311/research.html#week11">Semester 1</a> &amp; <a href="http://uni.davidturner.name/previously-on-IMD/y2sem2/des310-research.html#week12">Semester 2</a>. You should check them out too.&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
]]></content:encoded>
</item><item>
	<title>Securing User Data</title>
	<link>http://uni.davidturner.name/plog/04.1.-Securing-User-Data/post/</link>
	<pubDate>Sat, 19 Feb 2011 15:42:00 +0000</pubDate>
	<dc:creator>David Turner</dc:creator>
	
	<content:encoded><![CDATA[<h1><a href="http://uni.davidturner.name/plog/04.1.-Securing-User-Data/" title="Securing User Data">Securing User Data</a></h1>

<p>When it comes to creating a web application it's <em>vital</em> that user information is <em>secure</em>. If it isn't then people's faith in both you and your work will plummet. As I'm developing my own application from scratch, this is a very important aspect of my code to get right, and a very difficult thing to do correctly.</p>

<p>I'm going to be taking a look at some of the research I've done with regards to securing user information, covering things like how best to hold data like user passwords, as well as some of the techniques you can use to do so effectively and securely.</p>

<!--[More]-->

<h2>Security is Key</h2>

<p>It goes without saying that keeping user data secure is important. A user entrusts you to some of their data, and it is up to <em>you</em> to keep it secure, even from yourself. As much as people <em>shouldn't</em> use the same password everywhere it is a lamentable fact that they do. This brings me to the first point of securing user details:</p>

<ul>
<li><strong>Never</strong> store passwords in plain text.</li>
</ul>

<p>Users don't want you knowing their passwords, and they <em>definitely</em> don't want anyone else knowing their passwords if the worst should happen... your database gets accessed by people it shouldn't be. So how do we go about this? The first stage is encrypting the passwords people use. There are two common ways to go about doing this:</p>

<ol>
<li>MD5 Encryption</li>
<li>SHA1 Encryption</li>
</ol>

<p>Whilst either of these is a viable option, it is a commonly held belief that SHA1 encryption is <em>better</em> for security than MD5. So we now know that encrypting user information is important, and we have some methods for doing so... but <em>how</em> do we use them? In PHP, my server-side language of choice, this is quite simple:</p>

<pre class="code">
  <code class="php">
$md5 = md5('wordpass'); // Generates e80eded141e1295d694cd35cf2b8f675
$sha1 = sha1('wordpass'); // Generates 2939094f35a3badf2a890768ba034fa5eb16e95e
  </code>
</pre>

<p>As you can see, either of these functions converts a password into what appears to be a random set of characters. Each is, however, unique to the word that generated it. To then check that the user is entering the correct information we simply run the same encryption on the password the user enters, and compare it to the stored password we have.</p>

<h3>It's not <em>THAT</em> Simple</h3>

<p>Unfortunately security isn't quite that simple. It isn't possible to reverse engineer passwords encrypted using MD5 or SHA1 (currently anyway) but, if all you do is use a single encryption on passwords then user details are <em>still at risk</em>. How? Not everyone to ever use the internet has done so with innocent intentions and there are resources available, to people who look for them, to get lists of randomly generated passwords in both plain text and their encrypted counterparts.</p>

<p>These resources, called Rainbow Tables, allow for a basic form of reverse engineering. Rather than decrypting information, they look up an encrypted password and, from that, get user passwords. So it's necessary to take things a bit further.</p>

<h2>Added Security</h2>

<p>To take encryption to the next level there are a few things you need to do. The first is ensure that the encrypted password relies on some other form of input, so that even if the password <em>is</em> pulled from a Rainbow Table it's not actually the password the user generated, it is the password <em>plus</em> additional characters, rendering the password useless. This is called a <code>key</code> and helps add an additional layer of protection to the user's information. Because this information is readily available (you store it for this specific use) it can be easily applied to <em>all</em> passwords when they are generated, as well as when a user wants to log in at a future date.</p>

<h4>Example of using a key</h4>

<pre class="code">
  <code class="php">
$key = 'vnfuwy8t92bjkvfs';
$md5pass = md5($key.'wordpass'); // Generates 2f5177c377a9d073d82c5685c8eaacc1
$sha1pass = sha1($key.'wordpass'); // Generates 64cfaf4fd8ab086fc4620964dacc67d2707dc587
  </code>
</pre>

<p>Because of the additional characters being added to the password, even if it <em>is</em> decrypted the end result still isn't a valid password.</p>

<h2>Is This Enough?</h2>

<p>Possibly, but if your site is hacked, there is a chance this information could be discovered, rendering this security useless. Besides, when it comes to <em>other</em> people's information, is there such a thing as <em>too</em> secure?</p>

<p>An additional form of security that can be used to help ensure that each password has another, <em>unique</em> string attached to it. This is referred to as <code>salting</code>. As each password is assigned a unique string of text this <em>greatly</em> improves individual account security, as there is no readily available method for working out <em>what</em> that string is, without looking through the source of the application in question.</p>

<p>In my own encryptions I am basing this off of elements of the email address that the user registers with, as this will <em>always</em> be a unique identifier for the account, as each email address can only be registered on the site once. In my own example I add an encrypted version of the email address to the password, something like the following:</p>

<pre class="code">
  <code class="php">
$key = 'vnfuwy8t92bjkvfs';
$md5pass = md5($key.'wordpass'.md5('email@example.com')); // Generates 2f720caab50709a9228e0d985e1f47bf
$sha1pass = sha1($key.'wordpass'.sha1('email@example.com')); // Generates e08dcf66052f9f42802b572680e5f8be5f5a2862
  </code>
</pre>

<p>This adds an additional layer of security which isn't defined/stored anywhere in the site, being used on registration and when the user logs in. Even with that I'm not 100% certain that this is the <em>best</em> approach to salting the login information, but I am hopeful that it should be strong enough, when combined with everything else, that it will provide a secure environment for user details.</p>

<h2>Wrapping Up</h2>

<p>Above I have covered some of the most common ways to secure user data, along with basic examples of how they can be used. My own implementations differ slightly from these, but the general structure is similar. Hopefully this information will provide useful to some of the people who read this and, if you can think of ways to improve upon it, I'd <em>love</em> to hear your thoughts on this topic.</p>
]]></content:encoded>
</item><item>
	<title>Making Decisions &amp; Adapting Plans</title>
	<link>http://uni.davidturner.name/plog/03.1.-Making-Decisions-Adapting-Plans/post/</link>
	<pubDate>Thu, 17 Feb 2011 22:00:00 +0000</pubDate>
	<dc:creator>David Turner</dc:creator>
	
	<content:encoded><![CDATA[<h1><a href="http://uni.davidturner.name/plog/03.1.-Making-Decisions-Adapting-Plans/" title="Making Decisions &amp; Adapting Plans">Making Decisions &amp; Adapting Plans</a></h1>

<p>Last Semester I spoke about my plans for my Major Project. One of the things I wanted to do was make use of a PHP Framework. <a href="http://uni.davidturner.name/511/05.1.-Picking-a-Framework/" title="Picking a Framework">I talked</a> about the different options that were available to me, before settling upon Yii.</p>

<p>Over the past few weeks it has become <em>blatantly</em> obvious that trying to pick up the ropes of a PHP Framework isn't something that I should be doing over the course of a single semester, as evidenced by the lack of development being posted on this site of over on <a href="http://referenceit.org/" title="ReferenceIt"><em>ReferenceIt</em></a> itself. Don't worry though folks, I have a plan.</p>

<!--[More]-->

<h2>Two Steps Forward, One Step Back</h2>

<p>Sometimes, in order to make progress, a change in direction is needed. I've found this to be the case with the <em>ReferenceIt</em> project this week. As a result I haven't actually made much by the way of <em>progress</em> but I have put myself into a much better position to push forward with my Project.</p>

<p>Those who <a href="http://tweet.davidturner.name/">follow me on twitter</a> may have seen that I have been developing my own flat-file CMS with my spare time. It's what powers this site too and, in a way, has contributed to the mini-framework which will be powering <em>ReferenceIt</em> as I develop it. Both use a very similar structure to their code to determine what needs to be done, and how it should go about doing it.</p>

<p>Naturally a flat-file system won't work particularly well for a dynamic WebApp and, even if it could, I wouldn't dare to try it. The first major difference between this site and the <em>ReferenceIt</em> site is the addition of MySQL, to house content, data and user information. This also helps to ensure that data is as secure as possible, hidden away from the public eye.</p>

<h2>URL Logic</h2>

<p>Obviously creating a methodology to handle a whole site can be quite problematic but, with a bit of thought, it can be made to be simplistic as well. In Linux based web-servers there is, typically, the ability to rewrite URLs so that what you see in the address bar is human readable, whilst the web server sees something that makes sense to it. Windows based servers use a file called web.config which works differently, but provides the same functionality. In this post I'll be dealing with the platform I use, Linux.</p>

<p>The .htaccess file gives a developer a great deal of flexibility when it comes to web development. I use the functionality it provides in a very basic manner, to redirect everything that <em>isn't</em> a file to my index.php. This is done using the following lines in the .htaccess file:</p>

<pre class="code">
  <code class="text">
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
  </code>
</pre>

<p>This bit of code redirects <em>everything</em> that isn't an actual file, to the index.php file. This allows files which exist to load, whilst redirecting everything to a single file which handles the logic for the site. This allows for easy generation of error pages, as the logic is entirely handled in one place.</p>

<p>Using this I am then able to identify what actions need to be taken based on the URL being used. For example, a URL ending with /references/web/add/ would suggest that I am dealing with references, in particular <em>web</em> references, and that we are wanting to <em>add</em> a reference. Similar structures can be used for print and other forms of references.</p>

<h2>Moving Forward</h2>

<p>Making the decision to step away from developing using Yii is a risky one. It means that I have wasted some of my time this semester on something which will now be useless in the grand scheme of things. It hasn't been a total waste though, as it has helped me focus on what I need to do, especially with the clock against me.</p>

<p>I'll be looking a bit more in depth at some of the aspects of my progress over the next couple of blog posts on here, as I progress through the aspects of the <em>ReferenceIt</em> site development.</p>
]]></content:encoded>
</item><item>
	<title>Breaking Down a Reference</title>
	<link>http://uni.davidturner.name/plog/02.1.-Breaking-Down-a-Reference/post/</link>
	<pubDate>Tue, 08 Feb 2011 22:09:00 +0000</pubDate>
	<dc:creator>David Turner</dc:creator>
	
	<content:encoded><![CDATA[<h1><a href="http://uni.davidturner.name/plog/02.1.-Breaking-Down-a-Reference/" title="Breaking Down a Reference">Breaking Down a Reference</a></h1>

<p>Referencing... Have you ever sat down and taken a look at just <em>how</em> much actually goes into creating one? Over the past week I have been looking into what exactly makes up a Harvard Reference. Turns out that there's a <em>lot</em> to creating a reference.</p>

<p>Referencing different types of media requires a pretty wide selection of elements. These are needed to cover all of the possibilities that exist for the different types of references both commonly, and uncommonly, made use of in research and documentation.</p>

<!--[More]-->

<h2>Anatomy of Harvard Referencing.</h2>

<p>As mentioned above, I've been looking into what is actually needed to generate various references using the Harvard Referencing Style. Below is a table listing the types of references that I have found syntaxes for with the Harvard Referencing Style. It includes a breakdown the syntax that is to be used to generate the relevant reference.</p>

<table>
  <thead>
    <tr>
      <th>Reference Type</th>
      <th>Reference Syntax</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Book</td>
      <!-- Place of Publication became Place -->
      <td>%%Authors%%, %%Year%%. *%%Title%%*. %%Edition%% %%Place%%: %%Publisher%%.</td>
    </tr>
    <tr>
      <td>Book Chapter</td>
      <td>%%Contributing Author%%, %%Year%%. %%Chapter%%. *In*: %%Authors%%, %%Edition%% *%%Title%%*. %%Place%%: %%Publisher%%. %%Pages%%.</td>
    </tr>
    <tr>
      <td>Journal Article</td>
      <!-- Volume became Edition -->
      <td>%%Authors%%, %%Year%%. %%Article Title%%. *%%Title%%*, __%%Edition%%__(%%Issue%%), %%Pages%%.</td>
    </tr>
    <tr>
      <td>Newspaper Article</td>
      <!-- Newspaper Title became Publisher -->
      <td>%%Authors%%, %%Year%%. %%Title%%. *%%Publisher%%*, %%Date%%, %%Pages%%.</td>
    </tr>
    <tr>
      <td>Conference Paper</td>
      <td>%%Contributing Author%%, %%Year%%. %%Title%% *In*: %%Editor%% %%Edition%%. *%%Title%%*. %%Place%%, %%Pages%%.</td>
    </tr>
    <tr>
      <td>Corporate Publication</td>
      <td>%%Authors%%, %%Year%%. *%%Title%%*. %%Place%%: %%Publisher%%.</td>
    </tr>
    <tr>
      <td>Thesis</td>
      <td>%%Authors%%, %%Year%%. *%%Title%%*, %%Designation%%, %%Type%%. %%Institution%%.</td>
    </tr>
    <tr>
      <td>Video</td>
      <td>*%%Title%%*, %%Year%%. %%Designation%%, %%Author%%. %%Place%%: %%Organisation%%. %%Pubdate%%.</td>
    </tr>
    <tr>
      <td>Web/eBook</td>
      <td>%%Authors%%, %%Pubdate%%, %%Title%% [%%Homepage%%], [online]. Available: %%URL%% [%%Viewed%%].</td>
    </tr>
    <tr>
      <td>eJournal</td>
      <td>%%Authors%%, %%Year%%. *%%Title%%*, [online]. %%Volume%%(%%Issue%%), Available from: %%URL%% [%%Viewed%%].</td>
    </tr>
    <tr>
      <td>Email</td>
      <td>%%Authors%% (%%Author Email%%), %%Pubdate%%. *%%Title%%*. e-Mail to %%Recipient%% (%%Recipient Email%%).</td>
    </tr>
    <tr>
      <td>CD/DVD</td>
      <td>%%Authors%%, %%Year%%. *%%Title%%*. [%%Media%%]. %%Place%%. Available from: %%Supplier%%.</td>
    </tr>
    <tr>
      <td>Act of Parliament</td>
      <!-- Location became Place, Chapter Number became Chapter -->
      <td>%%Authors%%, %%Year%%. (%%Chapter%%), %%Place%%: %%Publisher%%.</td>
    </tr>
  </tbody>
</table>

<p>That's a whole lot of %%s, right? When piecing these syntaxes together I was thinking of what I would be doing with them. I want to have an easy to use syntax for creating references, which requires an easy way to separate the <em>actual</em> content with the elements that need to be replaced. Using %% seems like an ideal way to separate these elements, and defining common terms for referencing elements that appear regularly. This helps with data organisation and helped to give me an idea of the <em>sheer scale</em> of a referencing style.</p>

<p>I've also applied styling to the referencing syntax. It's not visible above due to the manner in which the styling is applied. I'm using <a href="http://daringfireball.net/projects/markdown/" title="Markdown">Markdown</a>, a way of coding that I was introduced to at the beginning of the year, to style the syntax of the references. I have done this for a couple of reasons:</p>

<ol>
<li>Flexibility - Markdown allows references to be styled up in multiple formats, such as plain Markdown, HTML code and Rich Text.</li>
<li>User Friendliness - I <em>know</em> that I won't be able to research every referencing style out there. Using Markdown makes it simple for users of the site to suggest referencing style syntaxes that I can add to the site, as well as allowing users to create their own syntaxes for personal use.</li>
</ol>

<p>Both points are of equal importance to my project. I <em>want</em> the site to provide users with the options to create references that can be used regardless of <em>where</em> they are going to be used. Ultimately, however, the second point is the most important one. The user base of my Major Project is the most <em>vital</em> aspect of things, and giving users the ability to create their own structure for their references is important. This will give users the ability to create referencing styles for personal use as well as providing a potential for expanding the capabilities of the site.</p>

<p>Now that I have a basic control over how references can be dynamically laid out I will be able to turn my focus to looking at how to create and display references. Expect more on this over the next week.</p>
]]></content:encoded>
</item><item>
	<title>Signing On &amp; Signing Up</title>
	<link>http://uni.davidturner.name/plog/01.1.-Signing-On-and-Signing-Up/post/</link>
	<pubDate>Thu, 03 Feb 2011 20:39:00 +0000</pubDate>
	<dc:creator>David Turner</dc:creator>
	
	<content:encoded><![CDATA[<h1><a href="http://uni.davidturner.name/plog/01.1.-Signing-On-and-Signing-Up/" title="Signing On &amp; Signing Up">Signing On &amp; Signing Up</a></h1>

<p>After a restful break between Semesters 1 and 2 it looks like I'm back, and straight back into the thick of things. Whilst I've been taking time out I've not been neglecting my project, taking time to organise things and unwind after a stressful first semester. I have a feeling that <em>this</em> semester is going to be piling on the stress from the get go.</p>

<p>So now that I'm back I <em>need</em> to get things going with my Major Project, <em>ReferenceIt</em>. The first step of this is going to be providing a way for people to keep abreast of what is happening with the project, closer to the launch of the site. An ideal solution to this is creating a mailing list. As an added bonus this gives me a way to measure interest in my work, and gives me a way to reward early adopters by giving them early access to the site.</p>

<!--[More]-->

<h2>Getting The Ball Rolling</h2>

<p>The first thing I <em>knew</em> I needed to do was find a good tool to help me handle my mailing list. I'm a <strong>big</strong> fan of building things myself, but with everything else I need to work on I realise that sometimes it's better to use a pre-made solution. In this case there were two obvious solutions available to me. These were <a href="http://mailchimp.com/" title="MailChimp">MailChimp</a> and <a href="http://www.campaignmonitor.com/" title="Campaign Monitor">Campaign Monitor</a>.</p>

<p>Inspired by the stress levels I'm <em>already</em> feeling I decided to take the safer option of the two - working with the one I've previously used. In this case, MailChimp. I've had <em>some</em> experience with it, which put it a step ahead of Campaign Monitor.</p>

<p>With the decision made it became a simple thing to set up a mailing list. This left me to handling something I'm good with, creating the HTML to let people register themselves with the mailing list.</p>

<h3>Sticking with a Theme</h3>

<p>The entire way through my <a href="http://uni.davidturner.name/511/" title="DES511 - Innovation &amp; Concept">last semester</a> I covered how I want the design of <em>ReferenceIt</em> to be a style that relates to the images my mind conjures up when I think of referencing, the comforting colours of sitting down and reading through an old, yellow paged, book. The mailing list form is the first opportunity for me to convert this image from imagination into code and images, and I wanted to make sure that I did it properly.</p>

<p>Of late I've been having awesome ideas for layouts and designs, which is equal parts awesome and scary as I've always thought of myself as a developer, not a designer. Once again this was the case with the design of the mailing list registration form. I visualised the idea of a post card which people could add basic information to that I would need for contacting them. For this form that consisted of their email address and their names. The final result can be viewed on <a href="http://referenceit.org/" title="ReferenceIt - Referencing Made Easy">the site</a> and I'd love it if you'd register to find out more about the project.</p>
]]></content:encoded>
</item></channel>
</rss>