<?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>Random Randy Ramblings &#187; Apache / PHP / MySQL</title>
	<atom:link href="http://randymelder.com/category/technology/apache-php-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://randymelder.com</link>
	<description>Stuff that was so important, I had to write it down.</description>
	<lastBuildDate>Mon, 24 May 2010 22:24:40 +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>MySQL Partitioning and open_file_limit</title>
		<link>http://randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/</link>
		<comments>http://randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 22:42:08 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[myisam]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[partitioning]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=207</guid>
		<description><![CDATA[We ran into an interesting problem recently and wanted to share the research. MySQL partitioning is a great way to improve performance in some circumstances, but it has a behavior that&#8217;s not widely noted. That is specifically with the MyISAM storage engine. MySQL seems to open two (2) file pointers for each table or partition [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backing up your MySQL databases</title>
		<link>http://randymelder.com/2010/02/01/backing-up-your-mysql-databases/</link>
		<comments>http://randymelder.com/2010/02/01/backing-up-your-mysql-databases/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:50:39 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=184</guid>
		<description><![CDATA[MYSQLDUMP is a utility for outputting database contents into text files. This is nice, but has many configuration options. One, often missed detail is the specific permissions required to accomplish the job. I made a note on the mysql manual (bottom of page) to illustrate what I consider to be a best practice for automated [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2010/02/01/backing-up-your-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL memory usage stored procedure</title>
		<link>http://randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/</link>
		<comments>http://randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 15:37:40 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=172</guid>
		<description><![CDATA[Want to know a close approximation of how much RAM MySQL is consuming right now? There&#8217;s a simple formula posted at MySQL.com. Want to add a function to your MySQL database that will allow you to access this value without having to remember the formula? Answer: Create a Stored Procedure I&#8217;m assuming your using a [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A case for CASE in your SQL</title>
		<link>http://randymelder.com/2009/12/22/a-case-for-case-in-your-sql/</link>
		<comments>http://randymelder.com/2009/12/22/a-case-for-case-in-your-sql/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 13:59:11 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=168</guid>
		<description><![CDATA[I&#8217;m going to add more to this later, but for now&#8230; SQL CASE scenario #1 Ever wanted to offer quantity discounts for shoppers? Here&#8217;s an example of a trivial implementation of the CASE condition in MySQL to get the job done. mysql> SET @cart_quantity := 3; Query OK, 0 rows affected (0.00 sec) mysql> select [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/12/22/a-case-for-case-in-your-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A PHP Factory Pattern Example</title>
		<link>http://randymelder.com/2009/12/15/a-php-factory-pattern-example/</link>
		<comments>http://randymelder.com/2009/12/15/a-php-factory-pattern-example/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 06:03:25 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[design pattern]]></category>
		<category><![CDATA[factory]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=156</guid>
		<description><![CDATA[Recently I was challenged on the fly to come up with an example of a factory pattern. Here is the result: /** * Database Connection Example * @author randymelder */ interface DatabaseConnection { function connect(); } class MySQLDatabaseConnection implements DatabaseConnection { var $link; var $user; var $pass; var $host; function __construct($host,$user,$pass) { $this->user = $user; [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/12/15/a-php-factory-pattern-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Quicksort Demonstration</title>
		<link>http://randymelder.com/2009/12/13/php-quicksort-demonstration/</link>
		<comments>http://randymelder.com/2009/12/13/php-quicksort-demonstration/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 15:49:17 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[quicksort php algorithm sorting]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=150</guid>
		<description><![CDATA[While looking for a hip-pocket sorting, algorithm, I found some sample code here and thought it was perfect the way it was. function quicksort($seq) { if(!count($seq)) return $seq; $pivot= $seq[0]; $low = $high = array(); $length = count($seq); for($i=1; $i < $length; $i++) { if($seq[$i]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/12/13/php-quicksort-demonstration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Linked List Example</title>
		<link>http://randymelder.com/2009/12/06/php-linked-list-example/</link>
		<comments>http://randymelder.com/2009/12/06/php-linked-list-example/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:10:13 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[data structures]]></category>
		<category><![CDATA[linked list]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=146</guid>
		<description><![CDATA[Continuing my data structures thoughts from previous posts, I&#8217;ve created a linked list example. /* * Node - a basic link node. */ class Node { var $id; var $next; /* * */ function __construct($id) { $this->id = $id; } } $a = new Node("mark"); var_dump($a); $b = $a->next = new Node("wes"); var_dump($b); $c = [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/12/06/php-linked-list-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Stack &#8211; An implementation of a basic data structure</title>
		<link>http://randymelder.com/2009/12/05/php_stack/</link>
		<comments>http://randymelder.com/2009/12/05/php_stack/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:34:36 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[Everything else...]]></category>
		<category><![CDATA[Linux, Unix, and Solaris]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Wordpress Stuff]]></category>
		<category><![CDATA[data structures]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=134</guid>
		<description><![CDATA[Recently, I started re-learning c++ and the topic of data structures surfaced. The conversation evolved to their usefulness in web development. Without commenting on that, I decided to partake in an exercise to implement c style functionality in a PHP OOP context. Here is the code I came up with: /* * Stack - the [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/12/05/php_stack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to &#8211; LIKE &#8211; use prepared statements</title>
		<link>http://randymelder.com/2009/09/26/how-to-like-use-prepared-statements/</link>
		<comments>http://randymelder.com/2009/09/26/how-to-like-use-prepared-statements/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 12:05:37 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[clause]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prepared]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[statements]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=114</guid>
		<description><![CDATA[I was going to do the whole Valley Girl theme for this post, but decided that was lame. So while converting an internal application query into a user-input web query when I stumbled across a problem. My prepared statement was not throwing an error and not giving me results. It took me a while to [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/09/26/how-to-like-use-prepared-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache performance tuning &#8211; Expires Headers</title>
		<link>http://randymelder.com/2009/06/03/apache-performance-tuning-expires-headers/</link>
		<comments>http://randymelder.com/2009/06/03/apache-performance-tuning-expires-headers/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:28:22 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
				<category><![CDATA[Apache / PHP / MySQL]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[expires]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=31</guid>
		<description><![CDATA[With the advent of YSlow, we should all now be aware of adding expires headers to our web servers. For my purposes, I wanted to enable it globally, then fine-tune per Virtual Host. In my Apache httpd.conf, I added the following directives: &#60;ifmodule mod_expires.c&#62; &#60;filesmatch \&#34;.(jpg&#124;gif&#124;png&#124;css&#124;js&#124;swf&#124;ico)$\&#34;&#62; ExpiresActive on ExpiresDefault \&#34;access plus 1 year\&#34; &#60;/filesmatch&#62; &#60;/ifmodule&#62; [...]]]></description>
		<wfw:commentRss>http://randymelder.com/2009/06/03/apache-performance-tuning-expires-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
