<?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>DEfusion.org.uk &#187; PHP</title>
	<atom:link href="http://www.defusion.org.uk/archives/category/web-development/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.defusion.org.uk</link>
	<description>I too will force my opinions on you</description>
	<lastBuildDate>Mon, 04 Jul 2011 19:28:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quick Link: Speed up your web application with an automated caching system for assets</title>
		<link>http://www.defusion.org.uk/archives/2008/01/08/quick-link-speed-up-your-web-application-with-an-automated-caching-system-for-assets/</link>
		<comments>http://www.defusion.org.uk/archives/2008/01/08/quick-link-speed-up-your-web-application-with-an-automated-caching-system-for-assets/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 18:11:34 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2008/01/08/quick-link-speed-up-your-web-application-with-an-automated-caching-system-for-assets/</guid>
		<description><![CDATA[I&#8217;ve just read this interesting post on how to speed up your web application with an automated system for working with browsers cache for your assets (CSS, JavaScript, images etc.).
Previously I&#8217;ve used query strings parameters within asset requests so that they act as a &#8216;cache bust&#8217; parameter, these have usually been the source control revision [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just read this <a href="http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/">interesting post</a> on how to speed up your web application with an automated system for working with browsers cache for your assets (<acronym title="Cascading Style Sheets">CSS</acronym>, JavaScript, images etc.).</p>
<p>Previously I&#8217;ve used query strings parameters within asset requests so that they act as a &#8216;cache bust&#8217; parameter, these have usually been the source control revision number and is built into the release process. But I&#8217;ve never taken the step of force an expiry date on content that can be cached and <a href="http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/">the solution in the post</a> is a lot more fine grained than my previous solutions. Something to consider for the future.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2008/01/08/quick-link-speed-up-your-web-application-with-an-automated-caching-system-for-assets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code: MXML GeSHi Language File</title>
		<link>http://www.defusion.org.uk/archives/2007/10/04/code-mxml-geshi-language-file/</link>
		<comments>http://www.defusion.org.uk/archives/2007/10/04/code-mxml-geshi-language-file/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 22:57:02 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2007/10/04/code-mxml-geshi-language-file/</guid>
		<description><![CDATA[While just writing my first post about Flex which required some code examples in MXML, I found that currently GeSHi (Generic Syntax Highlighter) doesn&#8217;t have a MXML language file, and I couldn&#8217;t find one when I did a few searches.
So using the XML language file as a base I quickly knocked one together.]]></description>
			<content:encoded><![CDATA[<p>While just writing <a href="/archives/2007/10/04/flex-tip-be-careful-with-your-names/">my first post about Flex</a> which required some code examples in MXML, I found that currently <a href="http://qbnz.com/highlighter/">GeSHi</a> (Generic Syntax Highlighter) doesn&#8217;t have a MXML language file, and I couldn&#8217;t find one when I did a few searches.</p>
<p>So using the <acronym title="eXtensible Markup Language">XML</acronym> language file as a base I quickly <a href="/code/mxml-geshi-language-file/">knocked one together</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2007/10/04/code-mxml-geshi-language-file/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Server, New Design</title>
		<link>http://www.defusion.org.uk/archives/2006/08/14/new-server-new-design/</link>
		<comments>http://www.defusion.org.uk/archives/2006/08/14/new-server-new-design/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 16:36:01 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[My Sites]]></category>
		<category><![CDATA[Outer Monologue]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://testwww.squidgy.org/archives/2006/08/14/new-server-new-design/</guid>
		<description><![CDATA[Behold the beauty that is now DEfusion.org.uk, version 4 or 5 I think. As I mentioned a few weeks back:

&#8230;when I was releasing the JavaScript Image Cropper UI I really noticed how much this theme had begun to bug me, mostly for itâ€™s lack of definition and space. Itâ€™s a tweaked version of a great [...]]]></description>
			<content:encoded><![CDATA[<p><img class="featureImg" src="/wp-content/uploads/2006/08/screenshot.jpg" title="Screenshot of new site design for DEfusion.org.uk" />Behold the beauty that is now <a href="http://www.defusion.org.uk/">DEfusion.org.uk</a>, version 4 or 5 I think. As I <a href="http://www.defusion.org.uk/archives/2006/07/10/wow/">mentioned a few weeks back</a>:</p>
<blockquote><p>
&#8230;when I was releasing the JavaScript Image Cropper UI I really noticed how much this theme had begun to bug me, mostly for itâ€™s lack of definition and space. Itâ€™s a tweaked version of a great Wordpress theme, it has served me well, but I feel itâ€™s time for a change. So I have created a design from scratch&#8230;
</p></blockquote>
<p>So here it is in all it&#8217;s glory and on a new server to boot, as since the launch of the <a href="/code/javascript-image-cropper-ui-using-prototype-scriptaculous/">Image Cropper UI</a> and the <a href="http://www.defusion.org.uk/archives/2006/07/10/wow/">resulting traffic</a> the old server has been up and down like a yo-yo. Luckily plans were already in place for the new server and the build was completed late last week.<br />
<span id="more-70"></span></p>
<p>It took me slightly longer than I initially predicted to get from the mock-ups to the final full Wordpress theme, mainly because I found they way wordpress themes are implemented a little ugly and not the nicest things to deal with initially.</p>
<p>Anyway it&#8217;s all in place now and I still like it, although I may have to tweak the comments presentation a little. Here&#8217;s a quick list of the major changes:</p>
<ul>
<li>Complete new design, giving more space &amp; easier to read content</li>
<li>Fluid layout, within reason</li>
<li>Added ability to subscribe to comments</li>
<li>Added robust code syntax highlighting for posts &#038; comments</li>
<li>Added ability to use <a href="http://www.textism.com/tools/textile/">textile</a> for formatting comments</li>
<li>Added pagination to comments, for posts with lots of comments this is a great benefit</li>
<li>Utilised Wordpress <a href="http://codex.wordpress.org/Using_Custom_Fields">custom fields</a> for <a href="/code/">code</a> <a href="/code/javascript-image-cropper-ui-using-prototype-scriptaculous/">pages</a>, this provides a <a href="/code/javascript-image-cropper-ui-using-prototype-scriptaculous/">consistent and cleaner look</a> to my code project pages.</li>
</ul>
<p>I hope you all like it.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2006/08/14/new-server-new-design/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introducing Ignite Image, Web Design for Musicians</title>
		<link>http://www.defusion.org.uk/archives/2006/05/04/introducing-ignite-image-web-design-for-musicians/</link>
		<comments>http://www.defusion.org.uk/archives/2006/05/04/introducing-ignite-image-web-design-for-musicians/#comments</comments>
		<pubDate>Thu, 04 May 2006 20:56:09 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Ignite]]></category>
		<category><![CDATA[IgniteImage]]></category>
		<category><![CDATA[Mach-II]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[My Sites]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2006/05/04/introducing-ignite-image-web-design-for-musicians/</guid>
		<description><![CDATA[Today I&#8217;m proud to announce the launch of a site I have been working on for quite a while, so without further to do I introduce to you Ignite Image, web design for musicians.
IgniteImage.com is a website for my web design company Ignite Image, which specialises in creating stylish, modern, accessible, functional, professional, exciting and [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m proud to announce the launch of a site I have been working on for quite a while, so without further to do I introduce to you <a href="http://www.igniteimage.com/">Ignite Image, web design for musicians</a>.</p>
<p><a href="http://www.igniteimage.com/">IgniteImage.com</a> is a website for my web design company Ignite Image, which specialises in creating stylish, modern, accessible, functional, professional, exciting and standards compliant websites for bands and musicians. I&#8217;m extremely proud of both the aims and objectives of this website and company and the website itself.<br />
<span id="more-53"></span><br />
We are a small team of four at the moment; there is me, responsible for design &#038; development, another excellent developer, a designer &#038; marketeer and an artists relationship manager.</p>
<p>All four of us are closely involved in the independent music scene, with us all being active musicians and regular gig attendants; on a personal note almost every one of my closest friends are members of active bands. Being us so closely involved with unsigned and independent artists as well as being web developers we have had constant requests to create stylish and functional websites for our friends, on a shoe-string of course.</p>
<p>This has given us lots of experience in the common requirements and problems faced by independent artists wanting to create their first online presence and we want to share this knowledge and expertise with other artists outside our circle of musician associates.</p>
<p>We aim to offer the most competitive pricing and feature set without compromising on quality to artists and musicians who wish to create an exciting and modern web site for themselves.</p>
<p>So why not head over to <a href="http://www.igniteimage.com/">Ignite Image now</a> to learn more, if you think we could help you out or you just want to learn more then don&#8217;t hesitate to <a href="http://www.igniteimage.com/contact.htm">contact us</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2006/05/04/introducing-ignite-image-web-design-for-musicians/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHPUnit2 HTML Runner 0.5.1</title>
		<link>http://www.defusion.org.uk/archives/2006/03/12/phpunit2-html-runner-051/</link>
		<comments>http://www.defusion.org.uk/archives/2006/03/12/phpunit2-html-runner-051/#comments</comments>
		<pubDate>Sun, 12 Mar 2006 22:09:37 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2006/03/12/phpunit2-html-runner-051/</guid>
		<description><![CDATA[Updated the PHPUnit2 HTML Runner to apply a fix provided by Glen Ogilvie for the Formatter when it tries to find the original exception that was thrown.
I also tided the Formatter up a bit by adding much needed comments to explain the functionality it provides in the context of the HTML Runner.

Finally added a new [...]]]></description>
			<content:encoded><![CDATA[<p>Updated the <a href="/code/phpunit2-html-runner/">PHPUnit2 <acronym title="HyperText Markup Language">HTML</acronym> Runner</a> to apply a fix provided by <a href="/code/phpunit2-html-runner/#comment-128">Glen Ogilvie</a> for the Formatter when it tries to find the original exception that was thrown.</p>
<p>I also tided the Formatter up a bit by adding much needed comments to explain the functionality it provides in the context of the <acronym title="HyperText Markup Language">HTML</acronym> Runner.<br />
<span id="more-43"></span><br />
Finally added a new section to the <a href="/code/phpunit2-html-runner/">code page</a> to list known bugs/issues as this is very much a work in progress with very little testing performed I&#8217;m sure more will crop up. </p>
<p>Currently there is one issue, also raised by Glen, when the test case/suite is in a different directory to the class definition it is testing <em>and</em> the class definition been tested contains relative includes/requires. Glen also supplied some ideas on how to address this issue but unfortunately I have not had time to look at this, I will hopefully have time to at least begin to replicate the problem within the codebase.</p>
<p>If you find any bugs/issues with the <acronym title="HyperText Markup Language">HTML</acronym> Runner then please either use the <a href="/code/phpunit2-html-runner/#comments">comments</a> or the <a href="/contact/">contact form</a> to report the issue until I sort out a better bug reporting solution.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2006/03/12/phpunit2-html-runner-051/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPUnit2 GUI HTML Runner</title>
		<link>http://www.defusion.org.uk/archives/2006/02/11/phpunit2-gui-html-runner/</link>
		<comments>http://www.defusion.org.uk/archives/2006/02/11/phpunit2-gui-html-runner/#comments</comments>
		<pubDate>Sat, 11 Feb 2006 00:17:45 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/?p=38</guid>
		<description><![CDATA[I&#8217;ve recently started to get into using Test Driven Development in almost everything that I am able to because I&#8217;ve begun to really see and experience the benefits that it brings to development. The basic advantages of TDD are covered very well in an article by Robert Blackburn, Test Driven Development with ColdFusion Part I: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started to get into using Test Driven Development in almost everything that I am able to because I&#8217;ve begun to really see and experience the benefits that it brings to development. The basic advantages of <acronym title="Test Driven Development">TDD</acronym> are covered very well in an article by Robert Blackburn, <a href="http://www.fusionauthority.com/Techniques/Article.cfm/ArticleID:4560">Test Driven Development with ColdFusion Part I: An Introduction to Unit Testing</a> so I won&#8217;t cover them here.</p>
<p>I&#8217;ve been playing around with the <a href="http://www.martinfowler.com/bliki/Xunit.html">xUnit</a> family of testing frameworks in <a href="http://pear.php.net/package/PHPUnit2/"><acronym title="Hypertext PreProcessing">PHP</acronym></a>, <a href="http://www.cfcunit.org/cfcunit/">Coldfusion</a> and <a href="http://www.edwardh.com/jsunit/">JavaScript</a> and really like the way they handle testing. However having been spoilt slightly by CFCUnit and JSUnit with their <acronym title="Hypertext Markup Language"><acronym title="HyperText Markup Language">HTML</acronym></acronym > <acronym title="Graphical User Interface"><acronym title="Graphical User Interface">GUI</acronym></acronym>s I found the text runner in PHPUnit to be lacking for my needs. </p>
<p>So taking inspiration from the interface of CFCUnit I created the <a href="/code/phpunit2-html-runner/">PHPUnit2 <acronym title="HyperText Markup Language">HTML</acronym> Runner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2006/02/11/phpunit2-gui-html-runner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update : Application Constants Mach-II PHP Plugin</title>
		<link>http://www.defusion.org.uk/archives/2005/11/14/update-application-constants-mach-ii-php-plugin/</link>
		<comments>http://www.defusion.org.uk/archives/2005/11/14/update-application-constants-mach-ii-php-plugin/#comments</comments>
		<pubDate>Mon, 14 Nov 2005 22:33:42 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Mach-II]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/?p=18</guid>
		<description><![CDATA[Updated Application Constants Mach-II PHP Plugin which addresses the following issues:

Fixed spelling mistake that caused PHP notice to be thrown when constants file has no common block.
Fixed bug whereby absolute paths for constants file would throw &#8220;file not found&#8221; exception.
Fixed bug in exception handling which would cause Mach-II to die.

View the Application Constants Mach-II PHP [...]]]></description>
			<content:encoded><![CDATA[<p>Updated <a href="/code/application-constants/">Application Constants Mach-II <acronym title="Hypertext PreProcessing">PHP</acronym> Plugin</a> which addresses the following issues:</p>
<ul>
<li>Fixed spelling mistake that caused <acronym title="Hypertext PreProcessing">PHP</acronym> notice to be thrown when constants file has no common block.</li>
<li>Fixed bug whereby absolute paths for constants file would throw &#8220;file not found&#8221; exception.</li>
<li>Fixed bug in exception handling which would cause Mach-II to die.</li>
</ul>
<p>View the <a href="/code/application-constants/">Application Constants Mach-II <acronym title="Hypertext PreProcessing">PHP</acronym> code page</a> for the download and instructions on itâ€™s implementation.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2005/11/14/update-application-constants-mach-ii-php-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Application Constants Mach-II Plugin PHP Port</title>
		<link>http://www.defusion.org.uk/archives/2005/10/30/application-constants-mach-ii-plugin-php-port/</link>
		<comments>http://www.defusion.org.uk/archives/2005/10/30/application-constants-mach-ii-plugin-php-port/#comments</comments>
		<pubDate>Sun, 30 Oct 2005 20:58:45 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mach-II]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2005/10/30/application-constants-mach-ii-plugin-php-port/</guid>
		<description><![CDATA[I have just added a PHP port of Martin Laine&#8217;s Application Constants Mach-II Coldfusion plugin to my new code section. It allows you to set application constants for multiple environments (development, staging, production etc.) in an XML configuration file, these constants are then read into the Mach-II properties.

I&#8217;ve being threatening to clean this port up [...]]]></description>
			<content:encoded><![CDATA[<p>I have just added a <a href="/code/application-constants/"><acronym title="Hypertext PreProcessing">PHP</acronym> port</a> of <a href="http://www.1pixelout.net/">Martin Laine&#8217;s</a> Application Constants <a href="http://www.mach-ii.com/">Mach-II Coldfusion</a> plugin to my new <a href="/code/">code section</a>. It allows you to set application constants for multiple environments (development, staging, production etc.) in an <acronym title="eXtensible Markup Language">XML</acronym> configuration file, these constants are then read into the Mach-II properties.<br />
<span id="more-10"></span><br />
I&#8217;ve being threatening to clean this port up and give this to Martin to release on his site for months now but hadn&#8217;t got around to it.</p>
<p>So today I spent a couple of hours re-writing it from scratch to bring it inline with the latest version of Martins.  View the <a href="/code/application-constants/">Application Constants Mach-II <acronym title="Hypertext PreProcessing">PHP</acronym> code page</a> for the download and instructions on it&#8217;s implementation.</p>
<p>As a little side note I hope that the <a href="/code/">code section</a> of my site will allow me to release other little useful things like this I have kicking around.  I&#8217;ve got at least one more <a href="http://php.mach-ii.com/">Mach-II <acronym title="Hypertext PreProcessing">PHP</acronym></a> plugin that I&#8217;m going to try and tidy up and release sometime soon.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2005/10/30/application-constants-mach-ii-plugin-php-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

