<?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; design pattern</title>
	<atom:link href="http://randymelder.com/tag/design-pattern/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>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>
	</channel>
</rss>
