<?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>Myrtle Says</title>
	<atom:link href="http://shaunhare.co.uk/myrtle/says/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaunhare.co.uk/myrtle/says</link>
	<description>the techno babble of Shaun Hare</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:58:55 +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>Don&#8217;t upgrade PHPUnit if on Zend 1.11</title>
		<link>http://shaunhare.co.uk/myrtle/says/2012/02/09/dont-upgrade-phpunit-if-on-zend-1-11/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2012/02/09/dont-upgrade-phpunit-if-on-zend-1-11/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 19:23:42 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=96</guid>
		<description><![CDATA[OK I learnt the hard way &#8211; after upgrading my phpunit to 3.6 so I could give a talk at ILinkoln I soon discovered that this made my Zend tests hang &#8211; particularly controller tests. Didumms I hear you say &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2012/02/09/dont-upgrade-phpunit-if-on-zend-1-11/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OK I learnt the hard way &#8211; after upgrading my phpunit to 3.6 so I could give a talk at ILinkoln I soon discovered that this made my Zend tests hang &#8211; particularly controller tests. Didumms I hear you say just downgrade. But it is not just downgrade so I thought I would write it up here for anyone else needing to downgrade from PHPunit 3.6 </p>
<p>You need to determine which aspects you have installed &#8211; then Unistall them<br />
<code><br />
sudo pear uninstall phpunit/PHPUnit<br />
sudo pear uninstall phpunit/DbUnit<br />
sudo pear uninstall phpunit/PHP_CodeCoverage<br />
sudo pear uninstall phpunit/File_Iterator<br />
sudo pear uninstall phpunit/Text_Template<br />
sudo pear uninstall phpunit/PHP_Timer<br />
sudo pear uninstall phpunit/PHPUnit_MockObject<br />
sudo pear uninstall phpunit/PHPUnit_Selenium<br />
sudo pear uninstall pear.symfony-project.com/YAML<br />
</code></p>
<p>Then you need to specifically install the versions you require for the phpunti version you are reverting to<br />
I chose 3.5.15 &#8211; even through Zend on officailly support 3.4.x I have been happily running with this.</p>
<p>You need to install the specific versions of each dependency, in an exact order depending on what you, then install PHPUnit-3.5.15 last.<br />
But how do you install a previous persion of a dependency and phpunit easy<br />
<code><br />
Next install these specific versions of each dependency, in this order, installing PHPUnit-3.5.15 last.</p>
<p>sudo pear install <name of dependency>-<version><br />
e.g<br />
sudo pear install phpunit/PHPUnit-3.5.15<br />
</code></p>
<p>Hope that helps someone else not waste a hour. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2012/02/09/dont-upgrade-phpunit-if-on-zend-1-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPNW11 &#8211; a review &#8211; Day 1</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/10/11/phpnw11-a-review-day-1/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/10/11/phpnw11-a-review-day-1/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 13:02:13 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=70</guid>
		<description><![CDATA[I recently attended PHPNW conference again (I have been to all but one since it started), this has become another one of my annual geek pilgramages and thought I would drop a few notes down, *Disclaimer: I was a volunteer &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/10/11/phpnw11-a-review-day-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently attended PHPNW conference again (I have been to all but one since it started), this has become another one of my annual geek pilgramages and thought I would drop a few notes down, *Disclaimer: I was a volunteer helper, which means I don&#8217;t have anything to do with the organisation, but sometimes the session I am in is not one I would have immediately chosen. Also I did not get chance to go to the un-conferance part, shame that. Please note these individual reviews are marked up with <a title="hReview" href="http://microformats.org/wiki/hreview">hReview</a> and are therefore freely and easily available for you to share if you so wish.</p>
<div class="hreview"><span><span class="rating">5</span> out of 5 stars</span></p>
<h4 class="summary"><strong>The awesome conference that is PHPNW.</strong></h4>
<p><span class="reviewer vcard">Reviewer: <span class="fn">Shaun Hare</span> <abbr class="dtreviewed" title="20111009T2300-0700">Oct 9th 2011</abbr></span></span></p>
<div class="description">
<p>OK, the title/summary probably says enough, I thoroughly enjoyed the conference,as I have on previous years.</p>
<p>The change in venue this year to the former Ramada Manchester, was actually beneficial I think, as I managed to secure a room there<br />
having the conference 4 floors down from your own room was extremely useful, I never had to queue for the gents, a big conference problem<br />
as these things are largely full of geeky men. That puts me on a tangent &#8211; more women needed, if you are a woman reading this please attend these type of conferences if you can. They are great and you will come away with a great deal of info and I know there are some awesome women developers in our industry. I go to conferences to learn from awesome developers I don&#8217;t care what sex you are. There were a few there but really they are underrepresented at every conference I go to. As far as I am aware there was only one woman speaker, see review later. Anyway it&#8217;s up to you guys(ladies etc) but all I can say is I would welcome more women over to the geeky white side.</p>
<p>There were a range of exhibitors, and I was impressed by the content, even though a lot of them were recruiting and I wasn&#8217;t looking for a job they were still happy to chat. If you were looking for a job in PHP and weren&#8217;t there then sorry you missed out, it was definitely the place to get a good PHP job. One thing I like about this a other geek conferences there was a good selection of books for sale, in this case thanks to O&#8217;Reilly, at reduced prices. So that was good too.</p>
<p>I came away with a interesting coffeescript book &#8211; as that is something I am playing with at the moment. <a href="http://pragprog.com/book/tbcoffee/coffeescript"><img src="http://shaunhare.co.uk/myrtle/says/files/2011/10/tbcoffee_xlargecover.jpg" alt="CoffeeScript" title="tbcoffee_xlargecover" width="190" height="228" class="alignright size-full wp-image-75" /></a>
</p>
<p>
Registration is often challenging at conferences and as I was helping out I am going to have to say it was good, but I do feel we got a lot of people through with minimal confusion.<br />
</span><br />
So what for next year would I suggest if anything. Maybe the conference organisers Emma ,Ian , <a href="http://twitter.com/phpcodemonkey">Jeremy</a> and his team if they remain at the venue could try and swing some exclusive room rates. And maybe relocate the tea/coffee stations or have more smaller ones, during the breaks as this area often got crowded.</p>
<p>All in all as before I continue to urge people to attend it is well worth it.
</p>
</div>
</div>
<div class="hreview">
<h4 class="summary"><strong>Ian Barber&#8217;s Keynote speech How to Stand on the shoulders of giants</strong></h4>
<p><a href="http://www.slideshare.net/IanBarber/how-to-stand-on-the-shoulders-of-giants"> Ian&#8217;s keynote slides </a><br />
<span> <span><span class="rating">5</span> out of 5 stars</span></span></p>
<div class="description">
<p>Ian surely know&#8217;s his stuff, I have seen him speak before and thought that too. He used skate video production to demonstrate how the particular talents involved there improved by inspiring skaters to &#8220;land that trick&#8221; because others before them had and push things just that one bit further.  He inspired with a mix of historical computing references, and obvious knowledge to encouraged people to work with and build on what has gone before. Definitely inspiring stuff and I certainly came away from it eager to do just that.
</p></div>
</div>
<div class="hreview">
<h4 class="summary"><strong>Rest and HATEOS by Ben Longden</strong></h4>
<p><span> <span><span class="rating">4</span> out of 5 stars</span></span></p>
<div class="description">
<a href="http://www.slideshare.net/blongden/rest-andthehypermediaconstraint/"> Ben Longden&#8217;s slides are here</a></p>
<p>Ben gave us a run down on the HTTP protocol and the role that plays in REST, and an example of creating a REST service, using his site (<a href="http://fdrop.it" title="@fdrop">fdrop.it</a>)  as a example. It was good, there were a few takeaway messages, I learnt a bit about using media types and the role of hypermedia in a restful service and picked up the use of RestConsole a chrome add-on as a tool. I feel actually it could have been a bit more in depth about differing output formats and problems associated with, the examples of it on his site were good but that appeared to be only outputting one format type (application xml/xhtml), when we are building these services we tended to use multiple formats.<br />
But the concepts were definitely there and presented well.  Personally I did not need the lesson on HTTP protocol and hopefully others didn&#8217;t too. If people are not aware of the basics then they should be, if they call themselves web developers&lt;rant&gt;.
</div>
</div>
<div class="hreview">
<h4 class="summary"><strong>PHP Testers Toolbox Sebastian Bergman</strong></h4>
<p><span> <span><span class="rating">4</span> out of 5 stars</span></span></p>
<div class="description">
<p>I have used PHPUnit for quite a while and advocate unit testing to anyone so this talk was a must see for me. </p>
<p>Sebastian kicked off by saying he may be bias so set the tone. But overall gave a good roundup of the tools out there. I was introduced to a couple which until that time I had not heard of Atoum and Behat. I am starting to look into Behat as I feel I could use it, as I would like to do some BDD (Behaviour driven development). But ultimately this does not replace just enhances test driven development in my mind.</p>
<p>PHPUnit came out on top, in my opinion, of the others, and that was not because of speaker bias. Whilst the talk gave comprehensive coverage of the tools, I felt the example used to demo some was a bit weak and for others there was no example.</p>
<p>But ultimately introduced me to more things beyond phpunit , job done.</p>
<p> Note see my review on the Behat talk for more info into one of the tools.
</p></div>
</div>
<div class="hreview">
<h4 class="summary"><strong>Varnish your application Make it Fly by Alistair Stead</strong></h4>
<p><a href="http://speakerdeck.com/u/alistairstead/p/varnish-your-application-make-it-fly"> Alistair&#8217;s slides on Varnish here </a><br />
<span> <span><span class="rating">4</span> out of 5 stars</span></span></p>
<div class="description">
<p>As I was room manager for this talk I may have not got as much out of it as if I had paid full attention.</p>
<p> A good round up. It included code samples and good solid explanation of when to use varnish, and the types of configuration. I felt we could have had a little more on basic installation and configuration and as I am not familiar with Magento the code samples whilst good I did not quite understand where to implement them or even if they were needed at all. </p>
<p>All round a very good presentation and the slide takeaway is very useful (and hosted on speakerdeck a much nicer service than slideshare IMHO), I will be looking into this further.</p>
</div>
</div>
<div class="hreview">
<h4 class="summary"><strong>Acceptance and Integration testing using Behat -ben Waine</strong></h4>
<p> <a href="http://www.slideshare.net/benwaine/acceptance-integration-testing-with-behat-phpnw2011"> Ben&#8217;s slides on Behat </a> and as a bonus<a href="https://github.com/benwaine/BehatPresentationCode">&nbsp;Sample code here</a><br />
<span> <span><span class="rating">6</span> out of 5 stars</span></span></p>
<div class="description">
<p>I thought this talk was very good, Ben presented well and gave a simple thorough understanding of a topic that to me at least is relatively new, and I think in PHP circles I am not alone. His enthusiasm was apparent through the delivery of the topic and the examples were very good and readily understandable.</p>
<p>A few people noted a couple of typo&#8217;s in his slides, but the fact they could spot these I think shows how well the speaker explained the facts. The slides were obviously specifically prepared for the conference and<br />
time and effort had gone in to them. </p>
<p>The use of Behat was clearly show and the examples increased with complexity as the talk progressed. </p>
<p> Ben was obviously very knowledgeable on the topic and was also ably assisted by a colleague in the audience on a couple of questions (thankfully not too much as I feel that would have been a distraction). For me the best session of the day. </p>
</div>
</div>
<div class="hreview">
<h4 class="summary"><strong>Are your tests really helping? Laura Beth Denker Etsy</strong></h4>
<p><span> <span><span class="rating">3</span> out of 5 stars</span></span></p>
<div class="description">
<p>I thought this talk was interesting, I have kind of admired what Etsy have done with the whole continuous deployment process. Pushing code every 20mins is certainly admirable. </p>
<p>Laura&#8217;s experience showed that she knows her stuff. I am not sure I was a fan of her presentation style though (personal opinion), it was a bit shouty/relaxed and sometimes confrontational. Sadly it appears <a href="http://joind.in/talk/view/3583">others agreed with me</a>  </p>
<p>It was billed as &#8220;we will look at coding and testing patterns inspired by a real PHP project. We will also discuss how to identify patterns and make small adjustments where testing is and is not helping.&#8221; I did not find that. She explained she had created a code standard for monitoring testing and had a view of what should be tested which I found refreshing, I imagine seeing more of that would have helped. I was certainly interested in that part. Overall not the best of the talks on testing on the day, and it seems I attended quite a few.</p>
</div>
</div>
<p>In summary day 1 was excellent and after the free food and beer that followed the talks, spurned many interesting conversations with some talented phpists. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/10/11/phpnw11-a-review-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Behat BDD in php</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/10/09/behat-bdd-in-php/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/10/09/behat-bdd-in-php/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 08:28:43 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=63</guid>
		<description><![CDATA[I flit around languages, PHP, Ruby, Java so I often miss a few things as they come onto the radar, at PHPNW11 I learnt about a new technology to try as part of my testing (thanks to Ben Waine) So &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/10/09/behat-bdd-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I flit around languages, PHP, Ruby, Java so I often miss a few things as they come onto the radar, at <a href="http://conference.phpnw.org.uk/phpnw11/">PHPNW11</a> I learnt about a new technology to try as part of my testing (thanks to <a href="http://github.com/benwaine">Ben Waine</a>) So I am going to run a few posts documenting this while I try it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/10/09/behat-bdd-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP NW conference tickets on sale</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/05/18/php-nw-conference-tickets-on-sale/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/05/18/php-nw-conference-tickets-on-sale/#comments</comments>
		<pubDate>Wed, 18 May 2011 21:35:02 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=56</guid>
		<description><![CDATA[This PHP North West Conference is happening again this year on October 7th through 9th in Manchester, UK. I have attended 3 PHPNW conferences and they have all been brilliant in every way. Jeremy Coates ( @phpcodemonkey) certainly has and &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/05/18/php-nw-conference-tickets-on-sale/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This  <a href="http://conference.phpnw.org.uk/">PHP North West Conference</a> is happening again this year  on October 7th through 9th in Manchester, UK. I have attended 3 PHPNW conferences and they have all been brilliant in every way. Jeremy Coates (  @phpcodemonkey) certainly has and continues to produce a great event. The conference this year will be split over two days on the 8th and 9th of October with 3 full tracks on the Saturday and 2 tracks on the Sunday. There will also be tutorials this year.<br />
If you are into PHP I urge you to go to this event. So yet again I have purchased the blind bird ticket which went  on sale yesterday.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/05/18/php-nw-conference-tickets-on-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSP Views not rendering objects &#8211; Portlet MVC</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/04/12/jsp-views-not-rendering-objects-portlet-mvc/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/04/12/jsp-views-not-rendering-objects-portlet-mvc/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 08:01:49 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[spring portlet mvc]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=51</guid>
		<description><![CDATA[It appears there is an extra requirement with Liferay portal at least (probably others) but this has caught me out a couple of times so I thought it was worth jotting down to prompt my greymatter when this happens again. &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/04/12/jsp-views-not-rendering-objects-portlet-mvc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It appears there is an extra requirement with Liferay portal at least (probably others) but this has caught me out a couple of times so I thought it was worth jotting down to prompt my greymatter when this happens again. </p>
<p>turns out if you want jsp&#8217;s to process expression langauge you need to tell them not to ignore it. </p>
<p><code><%@ page isELIgnored ="false" %></code></p>
<p>Who would have thought it. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/04/12/jsp-views-not-rendering-objects-portlet-mvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Unit tests &#8211; Maven &#8211; Application Context not loading</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/03/14/spring-unit-tests-maven-application-context-not-loading/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/03/14/spring-unit-tests-maven-application-context-not-loading/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 10:17:02 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=44</guid>
		<description><![CDATA[I more than often nowadays split my time between Java and PHP and try to adopt the best practices I know, in both areas. This typically starts with ensuring I can carry out Test Driven Development Continuous Integration I have &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/03/14/spring-unit-tests-maven-application-context-not-loading/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I more than often nowadays split my time between Java and PHP and try to adopt the best practices I know, in both areas.<br />
This typically starts with ensuring I can carry out </p>
<ul>
<li>Test Driven Development </li>
<li> Continuous Integration </li>
</ul>
<p>I have just started to use a framework in Java and have opted for the Spring Framework.<br />
Recently whilst working on a Spring Framework project &#8211; I was happily writing Integration tests and testing within the IDE and being new to the framework feeling very happy with my progress. However when I came to committing the code and running it through our Bamboo CI engine I was getting tests failing. (That didn&#8217;t fail in the IDE?)<br />
The report showed </p>
<p><strong> java.lang.IllegalStateException: Failed to load ApplicationContext</strong></p>
<p>Turns out the clean I was performing (as you would ) before tests in Maven was causing an issue. So I did a bit of digging and trying to resolve. </p>
<p>So this is here as a reminder and help for other people with the same issue. </p>
<p>You need to ensure you load your files from the classpath. </p>
<p>My code : </p>
<pre name="code" class="java">

@ContextConfiguration  (locations = "classpath:/FormControllerTestCase-context.xml")
/* Note that if no file is specified to @ContextConfiguration, it is derived as <classname>-context.xml, */

@RunWith(SpringJUnit4ClassRunner.class)
public class FormControllerTestCase  {

    private FormController controller;

    @Before
    public void setup()
    {

         controller = new FormController();

    }

    @Test
    public void testIndexViewShownOnConstruction()
    {
</pre>
<p>And the key to it all was ensuring the context files and any associated property files were stored in /src/test/resources/</p>
<p>This is the default location Maven pulls from apparently. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/03/14/spring-unit-tests-maven-application-context-not-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web losses</title>
		<link>http://shaunhare.co.uk/myrtle/says/2011/02/09/web-losses/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2011/02/09/web-losses/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 08:29:16 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=65</guid>
		<description><![CDATA[I was saddened when geocities closed and yet again I am saddened by the news of the latest BBC cuts which will remove lots of web real estate. About half of the 400 stand-alone websites and webpages will close. Among &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2011/02/09/web-losses/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was saddened when geocities closed and yet again I am saddened by the news of the latest BBC cuts which will remove lots of web real estate.<br />
About half of the 400 stand-alone websites and webpages will close. Among the sites facing the axe are the youth-orientated BBC Switch, Video Nation and a number of forums, blogs and message boards, including the 606 community football site.</p>
<p>And these are digital resources containing our memories , for example literally the BBC asked the public to contribute their memories of World War Two to a website between June 2003 and January 2006…” and five years later someone has decided to bin them. The BBC’s decision to actively delete old content (rather than simply allowing it to take up some space on a server) I think is the wrong decision and it made me think what we should do with web content past it expiration date (if there is such a thing) or more likely no longer commercially / economically viable?</p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2011/02/09/web-losses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convention vs Configuration in PHP?</title>
		<link>http://shaunhare.co.uk/myrtle/says/2010/09/02/convention-vs-configuration-in-php/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2010/09/02/convention-vs-configuration-in-php/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 12:07:07 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=41</guid>
		<description><![CDATA[As a programmer I often question the design paradigm &#8220;Convention over configuration&#8221; many developers I am sure do the same thing. I really like writing code and the interesting part is solving the problems and acknowledge some of it is &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2010/09/02/convention-vs-configuration-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As a programmer I often question the design paradigm &#8220;Convention over configuration&#8221; many developers I am sure do the same thing.<br />
I really like writing code and the interesting part is solving the problems and acknowledge some of it is not interesting. </p>
<p>More and more  I find myself coding by convention as I rely on framework code. </p>
<p>I do this a lot in Java, largely because of the lack of underlying knowledge, I still have to think quite a lot about the basics, but with PHP this is different, so I thought I would write down my thoughts on the whole thing, so next time I question should I do this I might look back and take my own advice. </p>
<p>I have created a lot of stuff and  earned my badges creating a lot of the standard design patterns from scratch.<br />
So once you have solved the basic problem should I revert to some ready made solution, that is likely to have done it better than I had anyway.</p>
<p>If I need to build a quite large complex system or even one that I know is going to grow quite significantly. There are a number of advantages to using a framework,  for the reason I can use other well tested code to achieve large proportions of the functionality,but largely to me code organisation and separation of concerns are the big pluses.</p>
<p>As I write a lot of stuff for internal use and most of the stuff is going to integrate with other systems I seem to have a knack of finding the quirks that make that hard work using the framework code, on both sides, there is a enough to do anyway.</p>
<p>So if I am writing a system should I use a framework &#8212; <strong>YES</strong></p>
<p>If I am writing a small script forget it &#8211; even though I am tempted. </p>
<p>As to which, well that depends on the current trends and functionality you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2010/09/02/convention-vs-configuration-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I was not wrong &#8211; WordCamp a round up</title>
		<link>http://shaunhare.co.uk/myrtle/says/2010/07/25/i-was-not-wrong-wordcamp-a-round-up/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2010/07/25/i-was-not-wrong-wordcamp-a-round-up/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 23:04:17 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[wordcampuk]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=31</guid>
		<description><![CDATA[Having attended WordCamp last weekend, and tried to embrace it with the attitude I will do as much as I can to listen,learn,help and have a good time. I can confirm it did not disappoint. Not quite sure what the &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2010/07/25/i-was-not-wrong-wordcamp-a-round-up/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Having attended WordCamp last weekend, and tried to embrace it with the attitude I will do as much as I can to listen,learn,help and have a good time. I can confirm it did not disappoint.<br />
Not quite sure what the core organisers prefer to call it but this is a conference in my book, it is billed as a mix between that and an un-conference, and now a must on my conference calendar and should be for anyone interested in WordPress. </p>
<p>It was a good weekend, and I am thoroughly pleased I attended, first the downsides, the un-conference bit did not really work in the venue. A series of lecture theatres do not make a good space for conducting an un-conference, it did not seem to flow and made it difficult I felt to run the sessions I did (WordHack). I also felt the quality of some of the presentations I attended could be improved but personal opinions and all that. </p>
<p>Overall the venue was well organised, credit has to go to <a href="http://twitter.com/realfreshtv/">Chi-chi Ekweozor</a> for that I think, who was tireless and ensuring people&#8217;s needs were met. There were certainly a few highlights for me which could be summarised as </p>
<ul>
<li>WordPress in the Enterprise II (David Coveney) from <a href="http://www.interconnectit.com/">Interconnectit</a></li>
<li>Working with some awesome people on WordHack</li>
<li>Being introduced to Custom Posts</li>
<li>Some interesting stuff from <a href="http://peter.westwood.name/">Peter Westwood &#8211; one of the core developers</a></li>
<li>being stimulated to think about BuddyPress &#8211; even though I did not attend any sessions on it</a>
</ul>
<p><img src="http://farm5.static.flickr.com/4073/4806125106_7252ab5719_m.jpg" alt="Wordcamp Uk 2010"></p>
<caption>Photo by <a href="http://www.flickr.com/photos/jamin2/">Benjamin Ellis</a></caption>
<p>Oh and of course WordHack was an excellent adventure- that produced a whole self sustaining WordPress based site in a very limited amount of time, more can be learn&#8217;t about the process on the <a href="http://http://wiki.wordcampuk.tonyscott.org.uk/OpenAid/">wordcamp wiki</a> and the actual site is live at <a href="http://openaid.org.uk/">openaid.org.uk</a></p>
<p>So overall I think it was a good event, made so by the people involved. I will certainly be looking to go again next year.<br />
If any one is thinking of getting involved with Wordcamps I would recommend it. As would I that you look out on wordpress.tv for videos from the weekend. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2010/07/25/i-was-not-wrong-wordcamp-a-round-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp UK</title>
		<link>http://shaunhare.co.uk/myrtle/says/2010/07/10/wordcamp-uk/</link>
		<comments>http://shaunhare.co.uk/myrtle/says/2010/07/10/wordcamp-uk/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 10:32:04 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://shaunhare.co.uk/myrtle/says/?p=20</guid>
		<description><![CDATA[On the 17th and 18th of July I will be attending Wordcamp UK, for the first time. I am looking forward to it. Is this an advertisement for Wordcamp &#8211; yes it is kind of . (Disclaimer I am helping &#8230; <a href="http://shaunhare.co.uk/myrtle/says/2010/07/10/wordcamp-uk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On the 17th and 18th of July I will be attending Wordcamp UK, for the first time. I am looking forward to it.  </p>
<p><div id="attachment_21" class="wp-caption alignright" style="width: 180px"><a href="http://shaunhare.co.uk/myrtle/says/files/2010/07/wcuk2010-logo.png"><img src="http://shaunhare.co.uk/myrtle/says/files/2010/07/wcuk2010-logo.png" alt="Wordcamp UK 2010" title="wcuk2010-logo" width="170" height="179" class="size-full wp-image-21" /></a><p class="wp-caption-text">Wordcamp UK 2010</p></div><br />
Is this an advertisement for Wordcamp &#8211; yes it is kind of . (Disclaimer I am helping out)  You should go , <a href="http://2010.wordcampuk.org/tickets/">tickets are still available</a> although at time of writing I believe that is only about 30 and the ticket close deadline is less than 24hrs away,  and the schedule is really shaping up &#8211; <a rel="nofollow" href="http://wiki.wordcampuk.tonyscott.org.uk/Main_Page">see the wiki</a> &#8211; If you wish to subscribe to the schedule I have drawn together a <a href="http://shaunhare.co.uk/wordcamp/schedule/">webcal / ics WordCamp UK Schedule</a> version here. Which is HTML5 so beware it looks OK on nice browsers and even mobile devices but it may not play nicely with IE. </p>
<p>However I attend quite a few events throughout the year but I have missed WordCamp so far, I did follow online last year but it is never quite the same. Which is really the point of this post.<br />
There is a trend at the moment for online conferences and yes whilst these have environmental benefits there is one big, quite obvious lacking I think, having attended both.  -<strong> interaction with like minded people</strong><br />
summed up quite recently in a tweet by <span class="vcard"><a  class="fn url" href="http://cargowire.net">Craig Rowe</a> </span></p>
<div class="dontdisplaymobile">
<!-- http://twitter.com/cargowire/status/17790091924 --><br />
<style type='text/css'>.bbpBox17790091924 {background:url(http://a3.twimg.com/profile_background_images/2691327/floral2.png) #46151D;padding:20px;} p.bbpTweet{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} p.bbpTweet span.metadata{display:block;width:100%;clear:both;margin-top:8px;padding-top:12px;height:40px;border-top:1px solid #fff;border-top:1px solid #e6e6e6} p.bbpTweet span.metadata span.author{line-height:19px} p.bbpTweet span.metadata span.author img{float:left;margin:0 7px 0 0px;width:38px;height:38px} p.bbpTweet a:hover{text-decoration:underline}p.bbpTweet span.timestamp{font-size:12px;display:block}</style>
<div class='bbpBox17790091924'>
<p class='bbpTweet'>visit their blogs, download podcasts, watch screencasts. Value from conferences come from meeting people, serendipity and socialising.. imho<span class='timestamp'><a title='Mon Jul 05 13:27:38 +0000 2010' href='http://twitter.com/cargowire/status/17790091924'>less than a minute ago</a> via <a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></span><span class='metadata'><span class='author'><a href='http://twitter.com/cargowire'><img src='http://a1.twimg.com/profile_images/56123524/MeDark_normal.jpg' /></a><strong><a href='http://twitter.com/cargowire'>Craig Rowe</a></strong><br/>cargowire</span></span></p>
</div>
<p> <!-- end of tweet -->
</div>
<p>Even if you don&#8217;t engage with people much, there is a certain atmosphere with the Geek community, people are welcoming and you can often just eavesdrop on some awesome thing, from some extremely clever people, that are not speakers, that spark ideas for you in your situation. It is kind of social learning. Maybe it is my my lack of Psychology knowledge shows through here but as I understand <a rel="nofollow" href="http://psych.fullerton.edu/jmearns/rotter.htm">J.B. Rotter&#8217;s theory of Social Learning</a>  I think this is reinforced  in these environments. We do flourish and adopt behaviours/ideas later, as suggested the &#8220;effect of behaviour has an impact on the motivation of people to engage in that specific behaviour&#8221;. I usually come away from these events brimming with ideas and enthuisiam. So I suggest especially if you have not gone to one of these type of events before  you give it a try. If you have read this and see me there let me know what you think. </p>
]]></content:encoded>
			<wfw:commentRss>http://shaunhare.co.uk/myrtle/says/2010/07/10/wordcamp-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

