<?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>techfounder &#187; blogging</title>
	<atom:link href="http://www.techfounder.net/tag/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techfounder.net</link>
	<description>Blog about web development and Internet entrepreneurship</description>
	<lastBuildDate>Mon, 21 Jun 2010 19:41:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP CMS packages are bad, mmkay?</title>
		<link>http://www.techfounder.net/2008/05/16/php_cms_packages/</link>
		<comments>http://www.techfounder.net/2008/05/16/php_cms_packages/#comments</comments>
		<pubDate>Fri, 16 May 2008 21:13:28 +0000</pubDate>
		<dc:creator>Eran Galperin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.techfounder.net/?p=4</guid>
		<description><![CDATA[Something that keeps bothering me is how badly written the major CMS packages for PHP are. Yes, I'm talking about wordpress and drupal amongst others, that are so insanely popular but are just as insanely procedural hack-fest mess. Lets get this out of the door - I'm an Object Oriented guy. I strongly believe OO [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.techfounder.net/wp-content/uploads/2008/05/headache1.gif" alt="" title="wordrupal"  class="header" />Something that keeps bothering me is how badly written the major CMS packages for PHP are. Yes, I'm talking about <a title="WordPress" href="http://wordpress.org/" target="_blank">wordpress</a> and <a title="drupal" href="http://drupal.org/" target="_blank">drupal</a> amongst others, that are so insanely popular but are just as insanely procedural hack-fest mess.</p>
<p>Lets get this out of the door - I'm an Object Oriented guy. I strongly believe OO methodology to be superior in so many ways to procedural code. Given that, I have seen procedural code that is very neatly organized (almost to the point that it emulates OO standards using function hierarchy). WordPress and drupal code however, is not.<br />
<span id="more-4"></span><br />
Massive use of global variables and generic named functions with no apparent relationships make tracking and modifying the code needlessly tiresome and difficult. WordPress also raises 'strict' warnings right out of the box, due to the use of old PHP4 coding standards (such as passing objects by reference). And code documentation? forget about it.</p>
<p>I suspect that these outdated code designs are still in place due to the massive base of plug-ins developed for those packages which depend on the old architecture. And it's those plug-ins that make those CMS packages so useful (otherwise it might seem ironic that I'm writing this in WordPress. It's just that I don't have time to re-implement all the functionality I can get ready-made).</p>
<p>Maybe sometimes soon a high-standards package will come along with a well-designed architecture and phpDOC documenation of the bat. <a href="http://blog.astrumfutura.com/">Brady Pádraic</a> has written a series of tutorials on his blog system (<a target="_blank" href="http://blog.astrumfutura.com/archives/351-An-Example-Zend-Framework-Blog-Application-Part-1-Introductory-Planning.html">part 1 of 7</a>), written with the Zend Framework. I'm waiting to see how that comes out.</p>
 <img src="http://www.techfounder.net/wp-content/plugins/feed-statistics.php?view=1&post_id=4" width="1" height="1" style="display: none;" /><div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.techfounder.net%2F2008%2F05%2F16%2Fphp_cms_packages%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.techfounder.net%2F2008%2F05%2F16%2Fphp_cms_packages%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.techfounder.net/2008/05/16/php_cms_packages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
