<?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>Max Manders &#187; Web Development</title>
	<atom:link href="http://maxmanders.co.uk/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxmanders.co.uk</link>
	<description>thoughts of a web developer</description>
	<lastBuildDate>Mon, 16 Jan 2012 22:29:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Highland Fling 2011 &#8211; Web Standard In Scotland</title>
		<link>http://maxmanders.co.uk/2011/07/13/the-highland-fling-2011-web-standard-in-scotland/</link>
		<comments>http://maxmanders.co.uk/2011/07/13/the-highland-fling-2011-web-standard-in-scotland/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 20:25:59 +0000</pubDate>
		<dc:creator>maxmanders</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://maxmanders.co.uk/?p=385</guid>
		<description><![CDATA[July 8th 2011 saw the welcome and eagerly anticipated return of &#8220;The Highland Fling &#8212; Web Standards in Scotland&#8221;.  Set up and organised by Alan White in 2007 to increase awareness of web standards and best practice, it&#8217;s the only conference of it&#8217;s kind in Scotland.  I&#8217;ve been fortunate enough to have been able to [...]]]></description>
			<content:encoded><![CDATA[<p>July 8th 2011 saw the welcome and eagerly anticipated return of <a href="http://thehighlandfling.com/">&#8220;The Highland Fling &#8212; Web Standards in Scotland&#8221;</a>.  Set up and organised by <a href="http://www.azcazandco.com/">Alan White</a> in 2007 to increase awareness of web standards and best practice, it&#8217;s the only conference of it&#8217;s kind in Scotland.  I&#8217;ve been fortunate enough to have been able to attend each conference, although there was a hiatus in 2009/2010.  The inaugural event really set the bar high for what could be achieved by a dedicated developer passionate about his work.<span id="more-385"></span></p>
<p>I thoroughly enjoyed the day, which got under way with an opening by Alan and the host for the day, <a href="http://www.wait-till-i.com/">Christian Heilmann</a>.  The presentations were all of an extremely high standard, and I took something away from each of them.  Perhaps however because of my preference for getting my hands dirty with PHP and tinkering with Linux gubbins I found some of the talks a little high-level and abstract.  That should nevertheless detract from the outstanding talks and the wonderful day I had.  I do believe though that I may have got more out of the day were I more of a freelance front-end developer.  I&#8217;m impatiently waiting for next year&#8217;s conference, which can&#8217;t come soon enough!</p>
<p>With an overarching theme of back-to-basics, <a href="http://nascentguruism.com/">Steve Marshall</a> kicked things off with a very interesting discussion about keeping things as simple as they need to be.  From getting lead astray by cognitive biases to avoiding over complicating and thinking too far ahead Steve hammered home the point that if we don&#8217;t take that next step, we&#8217;ll get nowhere fast.</p>
<p>Steve was followed by <a href="http://rachelandrew.co.uk/">Rachel Andrew</a> who <a href="http://www.rachelandrew.co.uk/archives/2011/07/08/your-cms-as-curator-of-your-design-and-content/">discussed</a> <a href="http://www.slideshare.net/rachelandrew/choosing-the-right-content-management-system-8542709">choosing</a> the right CMS.  Everyone has their own set of favourite applications, and this applies equally to web applications.  However, when developing a stand-alone CMS, or deploying one as part of a larger system, it pays to choose the right tool for the job.  Sometimes a simple solution is what is required, other times something more &#8216;enterprise&#8217; will be required.  Ultimately though, the choice should enable the user to publish their content without hindering them.  The content should be front-and-centre, with the CMS seamlessly facilitating publication of great content.</p>
<p>The next talk before lunch was given by Glasgow developer <a href="http://jackosborne.co.uk/">Jack Osbourne</a>, one of the contributors to <a href="http://html5doctor.com/">HTML5 Doctor</a>.  Jack offered a whistle-stop tour through the key new elements defined by the HTML5 specification, given as a novel &#8216;live&#8217; presentation where each element was demoed in place as part of the HTML5 rendered slides.</p>
<p>After lunch, the wonderfully entertaining <a href="http://remysharp.com/">Remy Sharp</a> kicked the afternoon off with a presentation that by his own admission, was a little out of his comfort zone.  Rather than what one might expect from Remy; a rather technical discussion about JavaScript and it&#8217;s proper application, he shared his personal workflow for fulfilling specifications.  It wasn&#8217;t what I had expected but I really enjoyed it!  It&#8217;s always interesting to see how other people work, and to learn from those who are clearly successful!</p>
<p>Next up was <a href="http://flyosity.com/">Mike Rundle</a>; clearly a passionate designer/developer particularly with respect to all things Apple!  Mike&#8217;s presentation elaborated on why the Mac design works so well.  He explored Apple&#8217;s use of real world textures and their use application of consistent light sources to create a consistent, polished interface.  Not usually my cup of tea; I&#8217;ve never really been the creative type.  An interested talk nonetheless.</p>
<p>The final presentation of the day came courtesy of <a href="http://www.brothercake.com/">James Edwards</a> who discussed the issue of whether the use of AJAX had become any more &#8216;accessible&#8217; over the last five years. The conclusion was a resounding &#8216;meh&#8217;. However, some problems can be mitigated by employing the WAI-ARIA spec to aid those viewing the web using technologies other than the traditional web browser. What followed was a slightly tangential discussion of using ARIA attributes to customise web forms to make them more useful for those experiencing the web through less traditional methods. Quite a technical discussion on a subject that isn&#8217;t well understood by most.  An excellent talk!</p>
<p>In summary, although not a particular creative type I found this conference enjoyable and informative and commend Alan and his minions who made it all possible.  If there were some slightly more technically oriented topics in future, that would be a big plus for me.  A massive thank you to the speakers who took the time to head north of the border.  I&#8217;m genuinely excited by the future of The Highland Fling and look forward to next year&#8217;s conference.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxmanders.co.uk/2011/07/13/the-highland-fling-2011-web-standard-in-scotland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revert to PHP 5.2 in Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://maxmanders.co.uk/2010/04/30/revert-to-php-5-2-in-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://maxmanders.co.uk/2010/04/30/revert-to-php-5-2-in-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 17:32:08 +0000</pubDate>
		<dc:creator>maxmanders</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://maxmanders.co.uk/?p=174</guid>
		<description><![CDATA[Despite suppressing updates of my LAMP stack, the upgrade to Ubuntu 10.04 ignored that, and as such I now have PHP 5.3.X installed.  Ordinarilly this woud be fine, but one of the open source web applications I work with doesn&#8217;t play well with PHP 5.3.X.  I needed a simple way to revert to a previous [...]]]></description>
			<content:encoded><![CDATA[<p>Despite suppressing updates of my LAMP stack, the upgrade to Ubuntu 10.04 ignored that, and as such I now have PHP 5.3.X installed.  Ordinarilly this woud be fine, but one of the open source web applications I work with doesn&#8217;t play well with PHP 5.3.X.  I needed a simple way to revert to a previous 5.2.X version of PHP.  The version in the Ubuntu 9.10 (Karmic) repositories would do the trick, so it was jsut a case of forcing Ubuntu to honour the 9.10 versions of various PHP packages over the 10.04 versions.</p>
<p>First, we get a list of all the currently installed PHP packages:</p>
<pre class="brush:bash">sudo dpkg -l | grep php &gt; /tmp/php.packages
</pre>
<p>Next we remove the currently installed PHP packages:</p>
<pre class="brush:bash">sudo apt-get remove --purge $(dpkg -l | grep php)
</pre>
<p>Now we need to create an alternative sources list:</p>
<pre class="brush:bash">sed s/lucid/karmic/g /etc/apt/sources.list |\
sudo tee /etc/apt/sources.list.d/karmic.list
</pre>
<p>Having done that, we need to generate an aptitude preferences file for PHP:</p>
<pre class="brush:bash">awk '{print "Package: " $0; print "Pin: release a=karmic\nPin-Priority: 991\n"}' /tmp/php.packages |\
sudo tee /etc/apt/preferences.d/php
</pre>
<p>This preferences file tells aptitude that for each listed package, we want to pin down the installation candidate to that from the Karmic repositories.  We can now install the packages that we previously removed, but this time the versions from the Karmic repositories:</p>
<pre class="brush:bash">sudo apt-get update &#038;&#038; apt-get install $(cat /tmp/php.packages | tr "\n" " ")
</pre>
<p>A quick restart of Apache and everything seems to be working with the older version of PHP!</p>
]]></content:encoded>
			<wfw:commentRss>http://maxmanders.co.uk/2010/04/30/revert-to-php-5-2-in-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>UK Geocoding &#8211; Update</title>
		<link>http://maxmanders.co.uk/2010/04/11/uk-geocoding-update/</link>
		<comments>http://maxmanders.co.uk/2010/04/11/uk-geocoding-update/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 16:22:51 +0000</pubDate>
		<dc:creator>maxmanders</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[YQL]]></category>

		<guid isPermaLink="false">http://maxmanders.co.uk/?p=171</guid>
		<description><![CDATA[I&#8217;ve updated the UK Geocoding site to provide better documentation, and a UI for geocoding, in addition to the XML API.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the <a href="http://ukgeocode.maxmanders.co.uk/">UK Geocoding site</a> to provide better documentation, and a UI for geocoding, in addition to the XML API.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxmanders.co.uk/2010/04/11/uk-geocoding-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK Geocoding</title>
		<link>http://maxmanders.co.uk/2010/04/10/uk-geocoding/</link>
		<comments>http://maxmanders.co.uk/2010/04/10/uk-geocoding/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 12:40:05 +0000</pubDate>
		<dc:creator>maxmanders</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[YQL]]></category>

		<guid isPermaLink="false">http://maxmanders.co.uk/?p=166</guid>
		<description><![CDATA[After a little hard work, I&#8217;m releasing my attempt to address the shortfall in accurate UK geocoding services.  Courtesy of open data provided by Ordnance Survey Open Click-Point, some sed, SQLite, PHP and YQL I&#8217;ve produced a REST API, and a YQL datatable.  I&#8217;ve also written a more thorough account of this by way of [...]]]></description>
			<content:encoded><![CDATA[<p>After a little hard work, I&#8217;m releasing my attempt to address the shortfall in accurate UK geocoding services.  Courtesy of open data provided by Ordnance Survey Open Click-Point, some sed, SQLite, PHP and YQL I&#8217;ve produced a REST API, and a YQL datatable.  I&#8217;ve also written <a title="UK Geocoding" href="http://maxmanders.co.uk/uk-geocode/">a more thorough account</a> of this by way of documenation.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxmanders.co.uk/2010/04/10/uk-geocoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YQL Nutritional Data</title>
		<link>http://maxmanders.co.uk/2010/03/31/yql-nutritional-data/</link>
		<comments>http://maxmanders.co.uk/2010/03/31/yql-nutritional-data/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 19:42:40 +0000</pubDate>
		<dc:creator>maxmanders</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://maxmanders.co.uk/?p=156</guid>
		<description><![CDATA[My todo list has been telling me to play with Yahoo&#8217;s YQL for far too long now, so last night I did something about it.  YQL is a Yahoo SQL-like language that allows developers to easily aggregate data from various disparate data sources without having to go through the rigmarole of writing their own API.  [...]]]></description>
			<content:encoded><![CDATA[<p>My todo list has been telling me to play with Yahoo&#8217;s <a title="YQL on YDN" href="http://developer.yahoo.com/yql/">YQL</a> for far too long now, so last night I did something about it.  YQL is a Yahoo SQL-like language that allows developers to easily aggregate data from various disparate data sources without having to go through the rigmarole of writing their own API.  There is a large selection of base tables that allow the developer to work with e.g. <a href="http://www.flickr.com">Flickr</a> or <a href="http://www.upcoming.org">Upcoming</a>.  There is also a community contributed selection of tables (see <a href="http://datatables.org">datatables.org</a>).  You can contribute to the project by forking the GitHub project and sending a pull request once you&#8217;ve committed changed to your tree.</p>
<p>That&#8217;s exactly what I did last night.  I did some digging and found the UK government&#8217;s data source for nutritional information, the <a title="Composition of Foods" href="http://www.food.gov.uk/science/dietarysurveys/dietsurveys/">&#8220;Composition of Foods&#8221; report</a>.  To use the data, I had to apply for a free <a title="OPSI Click Use Licensing" href="http://www.opsi.gov.uk/click-use/index">Click-Use license</a>.  I didn&#8217;t have to specify what data I was using or how I was going to use it; it seemed more the case that I had to have my name added to a list of people who use government data in some way, shape or form.  Once I&#8217;d munged the data a bit, I created a CSV, and corresponding XML file as described by the DataTables documentation.</p>
<p>You can use my DataTable by querying YQL (or in the YQL-console) like this for example:</p>
<pre class="brush:sql">use "http://maxmanders.co.uk/lab/nutritionals/nutritionals.xml";
select * from nutritionals where name = 'banana';</pre>
]]></content:encoded>
			<wfw:commentRss>http://maxmanders.co.uk/2010/03/31/yql-nutritional-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

