<?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>Dan Myers &#187; Drupal</title>
	<atom:link href="http://www.danmyers.name/wp/category/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danmyers.name/wp</link>
	<description>PHP, ActionScript, TorqueScript, Frameworks</description>
	<lastBuildDate>Fri, 27 Aug 2010 12:11:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Installing APC Opcode cache</title>
		<link>http://www.danmyers.name/wp/2010/08/installing-apc-opcode-cache/</link>
		<comments>http://www.danmyers.name/wp/2010/08/installing-apc-opcode-cache/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 12:10:27 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.danmyers.name/wp/?p=183</guid>
		<description><![CDATA[Today while trying to install the APC Opcode cache on my WiredTree account, I encountered the error &#8220;Cannot run code from this file in conjunction with non encoded files in&#8230;&#8221;  As it turns out, the APC Opcode cache has an incompatibility with Zend Optimizer.  The solution was to disable the Zend Optimizer (Which wasn&#8217;t really [...]]]></description>
			<content:encoded><![CDATA[<p>Today while trying to install the APC Opcode cache on my WiredTree account, I encountered the error &#8220;Cannot run code from this file in conjunction with non encoded files in&#8230;&#8221;  As it turns out, the APC Opcode cache has an incompatibility with Zend Optimizer.  The solution was to disable the Zend Optimizer (Which wasn&#8217;t really optimizing anything to begin with).  Just open your php.ini file and comment out the lines that look like the following:</p>
<pre class="brush: plain;">
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.danmyers.name/wp/2010/08/installing-apc-opcode-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Drupal modules</title>
		<link>http://www.danmyers.name/wp/2009/03/getting-started-with-drupal-modules/</link>
		<comments>http://www.danmyers.name/wp/2009/03/getting-started-with-drupal-modules/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 17:57:55 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.danmyers.name/wp/?p=37</guid>
		<description><![CDATA[One of the most important documents I&#8217;ve found while learning about Drupal is the node_example module.  As it&#8217;s name suggests, the node_example module gives a user example code for every aspect of creating a module and a new node type in Drupal.  If you&#8217;re the type who doesn&#8217;t like reading, this could be the chunk [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most important documents I&#8217;ve found while learning about Drupal is the node_example module.  As it&#8217;s name suggests, the node_example module gives a user example code for every aspect of creating a module and a new node type in Drupal.  If you&#8217;re the type who doesn&#8217;t like reading, this could be the chunk of code that fast tracks you to Drupal stardom.  What&#8217;s more, the good folks at Drupal update node_example for every version of Drupal that comes out.  Here&#8217;s the one for Drupal 6:</p>
<p><a href="http://api.drupal.org/api/file/developer/examples/node_example.module/6/source">http://api.drupal.org/api/file/developer/examples/node_example.module/6/source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danmyers.name/wp/2009/03/getting-started-with-drupal-modules/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drupal vs. WordPress, why I’m having second thoughts</title>
		<link>http://www.danmyers.name/wp/2009/02/drupal-vs-wordpress-why-i%e2%80%99m-having-second-thoughts/</link>
		<comments>http://www.danmyers.name/wp/2009/02/drupal-vs-wordpress-why-i%e2%80%99m-having-second-thoughts/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 23:06:08 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.danmyers.name/wp/?p=23</guid>
		<description><![CDATA[I’ve been working on a CRUD plugin for WordPress for about a week. I’ve got most of what I want in there, but I hit a road block. You see, I want my content to be searchable, so I used the wp_posts table to store the header for the record, and I stored additional data [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working on a CRUD plugin for WordPress for about a week.  I’ve got most of what I want in there, but I hit a road block.  You see, I want my content to be searchable, so I used the wp_posts table to store the header for the record, and I stored additional data in another table.  In wp_posts, I changed the post_type to “contacts” for my records so as to differentiate my data from posts and pages.  This is effective, and it’s searchable, however I couldn’t find a way to display my data on the front end.</p>
<p>What I realized is that WordPress would be great if it could load a template according to post_type.   Right now, the WordPress theme hierarchy does that for Posts and Pages, but doesn’t allow programmers to add their own entries to the theme hierarchy.  It would be great if I could add my own entry to the theme hierarchy that says for the post_type = “contacts” use the theme page called “contacts.php” if that doesn’t exist, use “index.php” just like it does for posts and pages.</p>
<p>Maybe you can do this.  I’ve been unable to.</p>
<p>So now I’m thinking… well Drupal does that already.  Based on your node type, it’ll load the content using code in your module.  In fact, across the board, Drupal is made to be extensible so much more than WordPress.  So I’ll make this bold statement, at the risk of sounding naive… WordPress is made for Blogging.  Period.  It’s designers do not want programmers to make it into anything more than a blog.  As such, it does blogging better than any other blogging engine available commercially or openly.</p>
<p>On the flip side, Drupal is a CMS, it’s meant to be open and extensible.  However, it takes quite a bit of work to get it to do anything useful.  A standard install with no additional modules will leave you wanting more.  For example, Drupal doesn’t even have a WYSIWYG editor by default.  Recently I’ve discovered a great module for that, but it still doesn’t have the file management (i.e. uploading files and placing links into an article) capabilities that WordPress has.  Furthermore, there are NO good themes for Drupal at an affordable price.  Granted, I purchased the theme that I use for this blog, it wasn’t free. However it didn’t cost me a fortune either.  I’ve found no such theme for Drupal.  If you know of one, please do tell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danmyers.name/wp/2009/02/drupal-vs-wordpress-why-i%e2%80%99m-having-second-thoughts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

