<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Bunkermaster&#039;s PHP Blog | Web Development | Object Oriented | MVC | MySQL | Apache</title>
	<atom:link href="http://blog.bunkermaster.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bunkermaster.com</link>
	<description>Those things I want to share about PHP, MySQL, Apache, CSS, HTML, JQuery and all the other things that make our profession a living nightmare!</description>
	<lastBuildDate>Wed, 05 Oct 2011 10:40:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Comment on The great 127.255.255.255 IP enigma! by admin</title>
		<link>http://blog.bunkermaster.com/php-coding/the-great-127-255-255-255-ip-enigma.html/comment-page-1/#comment-4377</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 05 Oct 2011 10:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=120#comment-4377</guid>
		<description>Yep, interesting too, especially considering it&#039;s compatible with the inet_aton and inet_ntoa mysql functions. Good point.</description>
		<content:encoded><![CDATA[<p>Yep, interesting too, especially considering it&#8217;s compatible with the inet_aton and inet_ntoa mysql functions. Good point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The great 127.255.255.255 IP enigma! by Tony</title>
		<link>http://blog.bunkermaster.com/php-coding/the-great-127-255-255-255-ip-enigma.html/comment-page-1/#comment-4373</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 05 Oct 2011 06:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=120#comment-4373</guid>
		<description>Consider http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton.</description>
		<content:encoded><![CDATA[<p>Consider <a href="http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New wordpress theme by Fab</title>
		<link>http://blog.bunkermaster.com/miscellaneous/new-wordpress-theme.html/comment-page-1/#comment-16</link>
		<dc:creator>Fab</dc:creator>
		<pubDate>Thu, 11 Feb 2010 22:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=110#comment-16</guid>
		<description>i like the new theme!

I&#039;m attending your project launch ;)
kiu!</description>
		<content:encoded><![CDATA[<p>i like the new theme!</p>
<p>I&#8217;m attending your project launch <img src='http://blog.bunkermaster.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
kiu!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on If only I had more time&#8230; by admin</title>
		<link>http://blog.bunkermaster.com/miscellaneous/if-only-i-had-more-time.html/comment-page-1/#comment-7</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 15 Jan 2010 21:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=104#comment-7</guid>
		<description>I guess my posting some code not 15 minutes after this post makes me look like a versatile guy?</description>
		<content:encoded><![CDATA[<p>I guess my posting some code not 15 minutes after this post makes me look like a versatile guy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on References and object access in PHP by mbp001</title>
		<link>http://blog.bunkermaster.com/php-coding/references-and-object-access-in-php.html/comment-page-1/#comment-5</link>
		<dc:creator>mbp001</dc:creator>
		<pubDate>Thu, 24 Dec 2009 18:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=17#comment-5</guid>
		<description>In response to
&quot;interesting point you have made on my blog about the LoD-F. The issue here is that some frameworks rely on coding such as the example I made. Is it good practice? No. I&#039;m just trying to bring simplification to a coding problem that exists in many different systems. I had to read some pretty mind wrecking Zend framework code lately and that was my primary response.

Fair enough, the point in your example does help in breaking deep dependancy at the earliest possibility. All code from that point on is oblivious to the deep rooted connection it was originally held in.

&quot;It might have been the wrong response but I sadly couldn&#039;t just ditch 2 years of development predating my presence.&quot;

It is very easy to be elegant when doing something afresh. Making something elegant that isn&#039;t is far harder. Good development is a slow fight, anyone can scream rewrite/throw it away move to another framework etc. Or more likely the case just put no mental effort into it and sulk if they have to work with it. I didn&#039;t realise this was a reaction to something outside of your control, I have seen it a lot from people where it is within their control.

Bad software is like a puzzle that needs to be solved, the rules have been laid out but are hidden. It seems like you have a knack/ interest for solving those problems, it is not for someone in for the short haul but will always give back if the fight is put in ;). The fight never ends though which is what makes it so captivating :)

Sometimes that fight is as much with other developers as the code itself. Though to be pedantic it is always with other developers as they wrote the code in the first place ( externalising all developers to be a singular external force a bit there but I find it helps to see a pond with people on the outside throwing stones in and I have to keep it calm  ).


&quot;I will probably add another post with wrappers and proper syntax soon.&quot;

Adaptors( what you might be referring to as wrappers ) are pretty handy. It is about managing debt( http://martinfowler.com/bliki/TechnicalDebt.html ) and understanding what debt is. Working with any framework outside of your control has some debt as nothing is every free( note: actually all code has debt, it is about degrees ), though I am not saying don&#039;t ever work with any framework just keep your core logic at arms length from it. Don&#039;t put anything in it&#039;s prescribed coding structure except the bare minimum to get away. If you find stuff there from other developers refactor it elsewhere.

That is not condescending to you as it might seem obvious, but this is a public discussion so imaginary wanderers always have to be addressed. 

Anyway fun discussion.... Much more fun than &quot;My SQL query doesn&#039;t work and in my example I am going to show I am copying a pasting my error handling at least 100 times verbatim and burn your eyes in the processs&quot; anway :)</description>
		<content:encoded><![CDATA[<p>In response to<br />
&#8220;interesting point you have made on my blog about the LoD-F. The issue here is that some frameworks rely on coding such as the example I made. Is it good practice? No. I&#8217;m just trying to bring simplification to a coding problem that exists in many different systems. I had to read some pretty mind wrecking Zend framework code lately and that was my primary response.</p>
<p>Fair enough, the point in your example does help in breaking deep dependancy at the earliest possibility. All code from that point on is oblivious to the deep rooted connection it was originally held in.</p>
<p>&#8220;It might have been the wrong response but I sadly couldn&#8217;t just ditch 2 years of development predating my presence.&#8221;</p>
<p>It is very easy to be elegant when doing something afresh. Making something elegant that isn&#8217;t is far harder. Good development is a slow fight, anyone can scream rewrite/throw it away move to another framework etc. Or more likely the case just put no mental effort into it and sulk if they have to work with it. I didn&#8217;t realise this was a reaction to something outside of your control, I have seen it a lot from people where it is within their control.</p>
<p>Bad software is like a puzzle that needs to be solved, the rules have been laid out but are hidden. It seems like you have a knack/ interest for solving those problems, it is not for someone in for the short haul but will always give back if the fight is put in <img src='http://blog.bunkermaster.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . The fight never ends though which is what makes it so captivating <img src='http://blog.bunkermaster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sometimes that fight is as much with other developers as the code itself. Though to be pedantic it is always with other developers as they wrote the code in the first place ( externalising all developers to be a singular external force a bit there but I find it helps to see a pond with people on the outside throwing stones in and I have to keep it calm  ).</p>
<p>&#8220;I will probably add another post with wrappers and proper syntax soon.&#8221;</p>
<p>Adaptors( what you might be referring to as wrappers ) are pretty handy. It is about managing debt( <a href="http://martinfowler.com/bliki/TechnicalDebt.html" rel="nofollow">http://martinfowler.com/bliki/TechnicalDebt.html</a> ) and understanding what debt is. Working with any framework outside of your control has some debt as nothing is every free( note: actually all code has debt, it is about degrees ), though I am not saying don&#8217;t ever work with any framework just keep your core logic at arms length from it. Don&#8217;t put anything in it&#8217;s prescribed coding structure except the bare minimum to get away. If you find stuff there from other developers refactor it elsewhere.</p>
<p>That is not condescending to you as it might seem obvious, but this is a public discussion so imaginary wanderers always have to be addressed. </p>
<p>Anyway fun discussion&#8230;. Much more fun than &#8220;My SQL query doesn&#8217;t work and in my example I am going to show I am copying a pasting my error handling at least 100 times verbatim and burn your eyes in the processs&#8221; anway <img src='http://blog.bunkermaster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on References and object access in PHP by admin</title>
		<link>http://blog.bunkermaster.com/php-coding/references-and-object-access-in-php.html/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 23 Dec 2009 19:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=17#comment-4</guid>
		<description>Very true! Sadly the existing code on many systems does not comply with the LoD. I will post a proper solution to the problem above soon.</description>
		<content:encoded><![CDATA[<p>Very true! Sadly the existing code on many systems does not comply with the LoD. I will post a proper solution to the problem above soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on References and object access in PHP by mbp001</title>
		<link>http://blog.bunkermaster.com/php-coding/references-and-object-access-in-php.html/comment-page-1/#comment-3</link>
		<dc:creator>mbp001</dc:creator>
		<pubDate>Wed, 23 Dec 2009 04:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=17#comment-3</guid>
		<description>It is still to far reaching.

If lastone is supposeed to be public then someobject should have a direct public accesor eg. getLastone. Otherwise changing otherone or yetanother could breaks things very heavily throughout the whole system. 

Law of demeter
http://en.wikipedia.org/wiki/Law_of_Demeter#OOP
http://www.ccs.neu.edu/home/lieber/LoD.html
http://www.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/paper-boy/</description>
		<content:encoded><![CDATA[<p>It is still to far reaching.</p>
<p>If lastone is supposeed to be public then someobject should have a direct public accesor eg. getLastone. Otherwise changing otherone or yetanother could breaks things very heavily throughout the whole system. </p>
<p>Law of demeter<br />
<a href="http://en.wikipedia.org/wiki/Law_of_Demeter#OOP" rel="nofollow">http://en.wikipedia.org/wiki/Law_of_Demeter#OOP</a><br />
<a href="http://www.ccs.neu.edu/home/lieber/LoD.html" rel="nofollow">http://www.ccs.neu.edu/home/lieber/LoD.html</a><br />
<a href="http://www.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/paper-boy/" rel="nofollow">http://www.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/paper-boy/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on References and object access in PHP by Fab</title>
		<link>http://blog.bunkermaster.com/php-coding/references-and-object-access-in-php.html/comment-page-1/#comment-2</link>
		<dc:creator>Fab</dc:creator>
		<pubDate>Sun, 20 Dec 2009 13:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bunkermaster.com/?p=17#comment-2</guid>
		<description>I hope it wasn&#039;t my code XD
Good luck for your blog</description>
		<content:encoded><![CDATA[<p>I hope it wasn&#8217;t my code XD<br />
Good luck for your blog</p>
]]></content:encoded>
	</item>
</channel>
</rss>

