<?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; Mach-II</title>
	<atom:link href="http://www.defusion.org.uk/archives/category/web-development/mach-ii/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>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>Splitting the Mach-II Config File</title>
		<link>http://www.defusion.org.uk/archives/2005/11/28/splitting-the-mach-ii-config-file/</link>
		<comments>http://www.defusion.org.uk/archives/2005/11/28/splitting-the-mach-ii-config-file/#comments</comments>
		<pubDate>Mon, 28 Nov 2005 21:30:44 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Mach-II]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/?p=23</guid>
		<description><![CDATA[Since starting to use Mach-II I have asked (and seen many others ask) the question; &#34;Can I split the mach-ii.xml config file to make it more manageable.&#34;
There have been a few responses over time ranging from &#34;you don't need to&#34; to split it into sub-applications, but just now on the Mach-II Coldfusion Topica list Jon [...]]]></description>
			<content:encoded><![CDATA[<p>Since starting to use <a href="http://www.mach-ii.com/">Mach-II</a> I have asked (and seen many others ask) the question; &quot;Can I split the mach-ii.xml config file to make it more manageable.&quot;</p>
<p>There have been a few responses over time ranging from &quot;you don't need to&quot; to <a href="http://tracylogan.com/index.cfm?event=blog.display.one&#038;blogID=4282345D-F870-8ADF-D85EFA5536F3A963">split it into sub-applications</a>, but just now on the <a href="http://lists.topica.com/lists/mach-ii-coldfusion/read">Mach-II Coldfusion Topica list</a> Jon Gunnip has posted an <a href="http://lists.topica.com/lists/mach-ii-coldfusion/read/message.html?mid=811698204&#038;sort=d&#038;start=3635">interesting solution</a> to the problem.<br />
<span id="more-23"></span></p>
<p>The main reason the question of splitting the config file arises seems to be the problems with managing a single config file which is 1000's of lines long. Although this can be a pain, especially if multiple developers share the same code-base without any version control (which we were guilty of until recently), this is not the reason I have been looking for a solution to have a more modularised config file. </p>
<p>What we currently have is about 8 applications which are basically variations on a single application, each will have certain &quot;modules&quot; removed or slightly tweaked for its particular needs, it's not perfect but it is 10,000 times better than the pre-Mach-II &quot;application(s)&quot;. On a day to day basis, this works quite well as we don't have to change these that much, however once you start adding or changing features which affect the config file in more than a couple of places, and need to affect every application, it can quickly become messy.</p>
<p>Jon Gunnip's solution, which is derived from <a href="http://swem.wm.edu/blogs/waynegraham/index.cfm/2005/7/21/model-glue-entities"> a post about entities with model-glue</a>, is basically to use <accronym title="eXtensible Markup Language"><acronym title="eXtensible Markup Language">XML</acronym></accronym> entities which can then reference smaller <acronym title="eXtensible Markup Language">XML</acronym> files, which will make it act like a single config file, like so:</p>
<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">Display code as plain text</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-3">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00bbdd;">&lt;!DOCTYPE mach-ii [</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;!ENTITY properties SYSTEM &quot;c:/path_to_config/properties.xml&quot;&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY listeners SYSTEM <span style="color: #ff0000;">"c:/path_to_config/listeners.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY filters SYSTEM <span style="color: #ff0000;">"c:/path_to_config/filters.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY events-campaign SYSTEM <span style="color: #ff0000;">"c:/path_to_config/events-campaign.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY events-help SYSTEM <span style="color: #ff0000;">"c:/path_to_config/events-help.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ...</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY plugins SYSTEM <span style="color: #ff0000;">"c:/path_to_config/plugins.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>!ENTITY views SYSTEM <span style="color: #ff0000;">"c:/path_to_config/views.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">]&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mach</span>-ii <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;properties;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;listeners;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;filters;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;events-campaign;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;events-help;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ...</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;plugins;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #ddbb00;">&amp;views;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mach</span>-ii<span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>I think this could be quite useful and for our needs seems to be the best solution suggested so far. It is definitely something to add to my list of things to do at work.</p>
<p>However I still dream of a real module based solution, this something which I've mentioned in a couple of places before. For example, such a solution could allow you to specify a module like so:</p>
<div class="igBar"><span id="lxml-4"><a href="#" onclick="javascript:showPlainTxt('xml-4'); return false;">Display code as plain text</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-4">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;module</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"offers"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;listeners<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;listener</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"offers"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"com.listeners.offers"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;listeners<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;event</span>-handlers<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;event</span>-handler <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"offers.homepage"</span> <span style="color: #000066;">access</span>=<span style="color: #ff0000;">"public"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;view</span>-page <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"offers.homepage"</span> <span style="color: #000066;">contentKey</span>=<span style="color: #ff0000;">"request.output.offersHomepage"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/event</span>-handler<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; ...</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/event</span>-handlers<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;page</span>-views<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;page</span>-view <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"offers.homepage"</span> <span style="color: #000066;">view</span>=<span style="color: #ff0000;">"/views/offers/homepage.cfm"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; ...</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/page</span>-views<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/module<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>You would package a module with all it's requirements, listeners, event-handlers and views (I don't feel that plugins would apply to modules). If you were include two modules which register the same listeners or views then they are only included once.  The modules could have some sort of <accronym title="Cascading Style Sheets"><acronym title="Cascading Style Sheets">CSS</acronym></accronym>-like cascade where you could then include application specific modules which override certain settings (such as page-views or single event-handlers).</p>
<p>I know that this would be a little complex to instigate, I keep threatening to setup a proof of concept using something like a directory <a href="http://www.macromedia.com/software/coldfusion/event_gateways/">event gateway</a> in Coldfusion to do this, but its an idea that could be worth a further look down the line.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2005/11/28/splitting-the-mach-ii-config-file/feed/</wfw:commentRss>
		<slash:comments>3</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 "file not found" 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 "file not found" 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>Mach-II 1.1.0 Released</title>
		<link>http://www.defusion.org.uk/archives/2005/11/11/mach-ii-110-released/</link>
		<comments>http://www.defusion.org.uk/archives/2005/11/11/mach-ii-110-released/#comments</comments>
		<pubDate>Fri, 11 Nov 2005 22:49:15 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mach-II]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.defusion.org.uk/archives/2005/11/11/mach-ii-110-out/</guid>
		<description><![CDATA[Mach-II 1.1.0 CF is now out. I'm guessing that most of the Mach-II community knows about this by now as even though they don't seem too keen on shouting about things over at the official Mach-II site nearly everyone in the community has mentioned it.
I've not had time to look at it properly yet, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mach-ii.com/">Mach-II 1.1.0 <abbrev title="Coldfusion">CF</abbrev></a> is now out. I'm guessing that most of the Mach-II community knows about this by now as even though they don't seem too keen on shouting about things over at <a href="http://www.mach-ii.com/">the official Mach-II site</a> nearly everyone in the community has mentioned it.</p>
<p>I've not had time to look at it properly yet, but I'm definitely going to make time over the next couple of weeks to begin implementing it in our applications at work. This basically means cleaning up some of the cruft, but I want to implement it because of the following features:<br />
<span id="more-16"></span></p>
<dl>
<dt>Specifying invokers for listeners is now optional.</dt>
<dd>Recently I've started using a custom invoker which works like the new EventInvoker, placing the result into event-args. But having a default will remove some weight from the configs and standardise the best practice of using the EventInvoker.</dd>
<dt>The new EventInvoker and resultArg argument.</dt>
<dd>As I said, I've started using a custom invoker to avoid using the request scope as a data bus. The new EventInvoker will result in a cleaner leaner config file.</dd>
<dt>The new contentArg argument.</dt>
<dd>I have not tried to use event args for content, but I can see that it will be cleaner than using the request scope.</dd>
</dl>
<p>There are of course other bug fixes, tweaks and additions which make the upgrade more than worthwhile. For a look behind the scenes see <a href="http://www.mossyblog.com/">Matt Woodward's</a> post <a href="http://www.mossyblog.com/archives/549.cfm">The making of a Framework</a>, which gives a little insight as to what went on in the build up to the release of 1.1.0.</p>
<p>One thing I'm a little confused about is the &quot;White Screen of Death&quot; bug fix, in the release notes it states:</p>
<blockquote><p>
Mach-II now throws an exception report if the view does not exists instead of showing the &quot;White Screen of Death&quot;
</p></blockquote>
<p>But you in practice I have found it more common that you get the &quot;White Screen of Death&quot; when the view, for example in your site wrapper or the exception view itself,  throws an exception, I'll probably post this question on the <a href="http://lists.topica.com/lists/mach-ii-coldfusion/">Mach-II mailing list</a> and find out I'm wrong.</p>]]></content:encoded>
			<wfw:commentRss>http://www.defusion.org.uk/archives/2005/11/11/mach-ii-110-released/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'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'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'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've being threatening to clean this port up and give this to Martin to release on his site for months now but hadn'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'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'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'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>

