
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-settings.php on line 570

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-includes/theme.php on line 1109
<?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/"
	>

<channel>
	<title>Datensarg</title>
	<atom:link href="http://www.datensarg.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.datensarg.de</link>
	<description>DevBlog::create('cool web service')</description>
	<pubDate>Wed, 11 Nov 2009 21:58:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BlogDesk?</title>
		<link>http://www.datensarg.de/2009/11/11/blogdesk/</link>
		<comments>http://www.datensarg.de/2009/11/11/blogdesk/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 21:58:04 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/2009/11/11/blogdesk/</guid>
		<description><![CDATA[Trying BlogDesk for posting &#8230;
]]></description>
			<content:encoded><![CDATA[<p>Trying BlogDesk for posting &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2009/11/11/blogdesk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Singleton Design Pattern</title>
		<link>http://www.datensarg.de/2009/11/05/singleton-design-pattern/</link>
		<comments>http://www.datensarg.de/2009/11/05/singleton-design-pattern/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 23:00:26 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Desing patterns]]></category>

		<category><![CDATA[PHP development]]></category>

		<category><![CDATA[design patterns]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=63</guid>
		<description><![CDATA[Issue no. 3 on design patterns: The singleton pattern. 
Whenever we need a place to save and retrieve data throughout a script without using globals the singleton pattern comes in handy. It allows only one instance of itself. What seems like a drawback is quite useful: Wherever in your source you instantiate such an object: [...]]]></description>
			<content:encoded><![CDATA[<p>Issue no. 3 on design patterns: The singleton pattern. </p>
<p>Whenever we need a place to save and retrieve data throughout a script without using globals the <strong>singleton pattern</strong> comes in handy. It allows only one instance of itself. What seems like a drawback is quite useful: Wherever in your source you instantiate such an object: You can be sure that you&#8217;ll always get the instance of the same object. Remember the parameterized factory from the last chapter? Every time we wanted to create a new database-access-object we had to pass &#8220;mysql&#8221; or &#8220;pgsql&#8221; to the create-method. Wouldn&#8217;t it be easier if we just saved the database type to a singleton and retrieved it everytime we need it?</p>
<pre name="code" class="php">
//------------------------------------------------
// Singleton
//------------------------------------------------
// Definition
class Singleton
{
	// "This is a handle to myself"
	private static $instance;

	// database type
	public $dbtype = "";

	// Private clone-function and private constructor
	// make sure, that nobody can clone the object or
	// instantiate it using the standard constructor.
	private function __construct() {}
	private function __clone() {}

	// This one returns the instance handle to itself.
	// It's static, because it has to be accessible
	// before any object is available
	public static function GetInstance()
	{
		// "Am I already existing?"
		if (!isset(self::$instance))
		{
			// "No? Create myself and save the handle
			// to myself."
			$class = __CLASS__;
			self::$instance = new $class;
		}

		// "Return handle to mysqlf"
		return self::$instance;
	}
}

// ...
// somewhere in our code
function SetupScript()
{
	// Get handle to our singleton object
	$GlobalInfos = Singleton::GetInstance();
	// Set the $content variable to 42
	$GlobalInfos->dbtype = "mysql";
}

// ...
// somewhere else in our code
SetupScript();

// ... deep down in the code
// Get handle to our singleton object
$Registry = Singleton::GetInstance();
// Remeber that from the last chapter?
$myDbObj= MyClassFactory::Create($Registry->dbtype);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2009/11/05/singleton-design-pattern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Parameterized Factory Desing Pattern</title>
		<link>http://www.datensarg.de/2009/11/01/parameterized-factory-desing-pattern/</link>
		<comments>http://www.datensarg.de/2009/11/01/parameterized-factory-desing-pattern/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 23:00:14 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Desing patterns]]></category>

		<category><![CDATA[PHP development]]></category>

		<category><![CDATA[design patterns]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=56</guid>
		<description><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
The parameterized factory design pattern is an extension to the factory design pattern as you might have guessed, but here we can make the factory create different objects depending on the parameter passed to the create-method. Imagine your application is supposed to connect to a MySQL-DB or to a PostgreSQL-DB. Instead of creating different objects [...]]]></description>
			<content:encoded><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
<p>The <strong>parameterized factory design pattern</strong> is an extension to the <strong>factory design pattern</strong> as you might have guessed, but here we can make the factory create different objects depending on the parameter passed to the create-method. Imagine your application is supposed to connect to a <a href="http://www.mysql.org/"target="_new"  onclick="javascript:pageTracker._trackPageview('/outbound/article/www.mysql.org');">MySQL-DB</a> or to a <a href="http://www.postgresql.org/"target="_new"  onclick="javascript:pageTracker._trackPageview('/outbound/article/www.postgresql.org');">PostgreSQL-DB</a>. Instead of creating different objects in your code you might just want to pass &#8220;mysql&#8221; or &#8220;pgsql&#8221; to the create-method and you get the class needed for the specific database.</p>
<pre name="code" class="php">
//------------------------------------------------
// Parameterized Factory
//------------------------------------------------
// Definition
class DbMySQL
{
	public $content= "I am MySQL!\n";
}

class DbPgSQL
{
	public $content= "I am PostgreSQL!\n";
}

class DbFactory
{
	public function Create($dbtype)
	{
		switch($dbtype)
		{
			case "mysql":
				return new DbMySQL();
				break;
			case "pgsql":
				return new DbPgSQL();
				break;
		}
	}
}

// Usage
$myFirstObj= MyClassFactory::Create("mysql");
$mySecondObj= MyClassFactory::Create("pgsql");
echo $myFirstObj-&gt;content; // "I am MySQL!"
echo $mySecondObj-&gt;content; // "I am PostgreSQL!"</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2009/11/01/parameterized-factory-desing-pattern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Factory Design Pattern</title>
		<link>http://www.datensarg.de/2009/10/28/factory-design-pattern/</link>
		<comments>http://www.datensarg.de/2009/10/28/factory-design-pattern/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 23:56:26 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Desing patterns]]></category>

		<category><![CDATA[PHP development]]></category>

		<category><![CDATA[design patterns]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=48</guid>
		<description><![CDATA[Design Patters part 1.
I built these samples on PHP design patterns a while ago to make some friends write better code. They ignored it, so I give it to you. I hope they are self-explanatory. If not: Feel free to ask!
First off: The factory design pattern. It encapsulates the creation of a class so an [...]]]></description>
			<content:encoded><![CDATA[<p>Design Patters part 1.</p>
<p>I built these samples on PHP design patterns a while ago to make some friends write better code. They ignored it, so I give it to you. I hope they are self-explanatory. If not: Feel free to ask!</p>
<p>First off: The <strong>factory design pattern</strong>. It encapsulates the creation of a class so an object can be instantiated using the factory&#8217;s create-method rather than the class&#8217; constructor. This comes in handy if you&#8217;re planning to extend your application (usually you are) and don&#8217;t want to change every call to your class&#8217; constructor. </p>
<pre name="code" class="php">
//------------------------------------------------
// Factory: The "factory pattern" creates an object
// using a method rather than a constructor
//------------------------------------------------
// Definition
class MyClass
{
	public $content = "Hello world!\n";
}

class MyClassFactory
{
	public function Create()
	{
		return new MyClass();
	}
}

// Usage
$myObject= MyClassFactory::Create();
echo $myObject-&gt;content; // "Hello world!"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2009/10/28/factory-design-pattern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BLAZEserver</title>
		<link>http://www.datensarg.de/2009/05/13/blazeserver/</link>
		<comments>http://www.datensarg.de/2009/05/13/blazeserver/#comments</comments>
		<pubDate>Tue, 12 May 2009 23:28:42 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[BLAZEserver]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=20</guid>
		<description><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
Introducing BLAZEserver. Get it HERE!
]]></description>
			<content:encoded><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
<p>Introducing <strong>BLAZEserver</strong>. Get it <a href="http://www.datensarg.de/blazeserver/" >HERE</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2009/05/13/blazeserver/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging on local Apache with PhpED</title>
		<link>http://www.datensarg.de/2008/03/29/debugging-on-local-apache-with-phped/</link>
		<comments>http://www.datensarg.de/2008/03/29/debugging-on-local-apache-with-phped/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 16:42:13 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[PHP development]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[debugging]]></category>

		<category><![CDATA[phped]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/2008/03/29/debugging-on-local-apache-with-phped/</guid>
		<description><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
I&#8217;ve been working with PhpED for quite some time, but now that I&#8217;m using the Zend Framework I reached the point, where the integrated server isn&#8217;t good enough anymore. The main concern was mod_rewrite. I needed a way to debug on my local Apache installation (XAMPP to be specific).
I fought my way through multiple blogs [...]]]></description>
			<content:encoded><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
<p>I&#8217;ve been working with <strong>PhpED </strong>for quite some time, but now that I&#8217;m using the Zend Framework I reached the point, where the integrated server isn&#8217;t good enough anymore. The main concern was <strong>mod_rewrite</strong>. I needed a way to debug on my local Apache installation (<strong>XAMPP </strong>to be specific).</p>
<p>I fought my way through multiple blogs and forums to get it all up and running. Here are my condensed facts for Apache and <strong>PhpED </strong>on Windows XP. This might be a little bit too detailed. If you think &#8220;Man, I really want to debug on my local Apache&#8221; you&#8217;ll probably know how to add extensions to your PHP environment, but I&#8217;ll tell you anyway:</p>
<h3>Getting the debugger extension</h3>
<p><strong>PhpED </strong>comes with a variety of debugger extensions. They can be found in a subdirectory of your <strong>PhpED </strong>installation. For me that&#8217;s</p>
<pre>c:\Program Files\phped\debugger\server\Win32\x86</pre>
<p>Here we have extensions for different versions of PHP. I chose</p>
<pre>php_dbg.dll-5.2.x</pre>
<h3>Where to put the extension now?</h3>
<p>Make yourself a quick and dirty <strong>phpinfo.php</strong> file and put it in your project root.</p>
<pre>&lt;?php
   phpinfo();
?&gt;</pre>
<p>Open your project in your browser (Time for me to recommend a <a href="http://www.datensarg.de/2008/03/24/zend-tutorial/" >vhost</a> once more). It&#8217;s really important that you don&#8217;t start that file from <strong>PhpED</strong> since it&#8217;ll use it&#8217;s own PHP environment and that&#8217;s exactly what we want to avoid. Now look for the <strong>extension_dir</strong> entry in the <strong>Configuration &gt; PHP Core</strong> section. It should say something like</p>
<pre>C:\xampp\php\ext\</pre>
<p>Now get your <strong>php_dbg.dll-5.2.x</strong> and put it into your <strong>extension_dir</strong>. Trim the version information. What&#8217;s left will be</p>
<pre>php_dbg.dll</pre>
<h3>Telling PHP what to do</h3>
<p>Go back to your browser and go to the top of your phpinfo page. Look for the <strong>php.ini</strong> in use (<strong>Loaded Configuration File</strong>) and open it in the editor of your choice (I guess it&#8217;ll be <strong>PhpED</strong>, right?). Scroll down (or search for) the section named <strong>Dynamic Extensions</strong>. Add a new line:</p>
<pre>extension=php_dbg.dll</pre>
<p>Next we&#8217;ll configure the debugger. At the end of your <strong>php.ini</strong> add the following:</p>
<pre>[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=ALL
;debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16</pre>
<p>This might be a little bit risky. I don&#8217;t have to share my development environment with other people and my system isn&#8217;t reachable from the outside world. You might want to have a closer look at <strong>debugger.hosts_allow</strong>. If you want to play it safe, uncomment the <strong>debugger.hosts_deny</strong> entry to block everyone, then add your allowed hosts to <strong>debugger.hosts_allow</strong>.</p>
<p>Restart your Apache. Go back to your browser and hit refresh. Next to the <strong>Zend Engine 2</strong> logo you should see something like <strong>&#8220;with DBG v3.1.11, (C) 2000,2007, by Dmitri Dmitrienko&#8221;</strong>. If you see it: You&#8217;re almost done. If you don&#8217;t see it: You probably changed the wrong <strong>php.ini</strong>.</p>
<h3>Setting up your project in PhpED</h3>
<p>Open <strong>PhpED</strong> and go to your project properties. In the <strong>Mapping</strong> section change <strong>Run mode</strong> to <strong>HTTP Mode (3rd party WEB server)</strong> and let the <strong>Root URL</strong> point to your project server.</p>
<p>Basically that&#8217;s it!</p>
<h3>Troubleshooting</h3>
<p>I had some problems when debugging the first times. Apache crashed with an Windows exception once the page started loading. Try the following: Go back to your <strong>php.ini</strong> and search for <strong>[Zend]</strong>. If you don&#8217;t know, if you need these settings, then you probably won&#8217;t. Try to go without them by commenting them.</p>
<pre>[Zend]
;zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:</pre>
<p>Restart your Apache after you&#8217;re done!</p>
<h3>Sources</h3>
<p><a href="http://support.nusphere.com/viewtopic.php?t=576" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/support.nusphere.com');">NuSphere support forum</a><br />
<a href="http://bealers.com/2008/01/20/debugging-with-phped-and-dbg/" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/bealers.com');">Darren Beals blog</a><br />
<a href="http://phpeclipse.net/tiki-view_forum_thread.php?comments_parentId=3475&amp;forumId=3" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/phpeclipse.net');">PHPEclipse forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2008/03/29/debugging-on-local-apache-with-phped/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend Tutorial</title>
		<link>http://www.datensarg.de/2008/03/24/zend-tutorial/</link>
		<comments>http://www.datensarg.de/2008/03/24/zend-tutorial/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 22:44:36 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Tonick.net]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[XAMPP]]></category>

		<category><![CDATA[Zend framework]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=5</guid>
		<description><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
I&#8217;ve been trying to set up my directories on the production server yesterday. Meanwhile I came across Rob Allen&#8217;s Blog. It features a nice tutorial including database access and forms. Rob doesn&#8217;t waste time doing it the &#8220;easy&#8221; way, like the Zend framework quick start tutorial does. You get your full load of class inheritance [...]]]></description>
			<content:encoded><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
<p>I&#8217;ve been trying to set up my directories on the production server yesterday. Meanwhile I came across <a href="http://akrabat.com"title="Getting Started with Zend Framework 1.5"  target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/akrabat.com');">Rob Allen&#8217;s Blog</a>. It features a nice tutorial including database access and forms. Rob doesn&#8217;t waste time doing it the &#8220;easy&#8221; way, like the Zend framework quick start tutorial does. You get your full load of class inheritance right away. Another useful link is the <a href="http://framework.zend.com/docs/multimedia"title="Zend framework multimedia section"  target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/framework.zend.com');">Zend framework multimedia section</a>, especially the screencasts by Mitchell Hashimoto.</p>
<p>To bad I had to realize, that the framework wasn&#8217;t able to load a file named ReflectionClass.php. Even worse: After doing some reflection myself I figured out, that it wasn&#8217;t a framework issue: ReflectionClass was meant to be the actual PHP class, but since my provider has the reflection API disabled, the framework tried to instantiate it, failed and tried to find a file of that name instead. I really hope, they&#8217;ll fix that soon. (I know they will)</p>
<p>So instead I had to overhaul my XAMPP, which was quite easy, once I figured out how to do it. Well, here are my hints to get the Zend framework running on your raw XAMPP installation:</p>
<ul>
<li> Be sure to activate <strong>mod_rewrite</strong> in your <strong>conf/httpd.conf</strong></li>
</ul>
<pre>LoadModule rewrite_module modules/mod_rewrite.so</pre>
<ul>
<li>You might want to create a virtual host for your project in <strong>conf/extra/httpd.vhosts.conf</strong> pointing towards the <strong>public</strong> directory of your project</li>
</ul>
<pre>&lt;VirtualHost *:80&gt;
    ServerAdmin aaa@bbb.de
    DocumentRoot c:\htdocs\myproject\public
    ServerName myproject.localhost
&lt;/VirtualHost&gt;</pre>
<ul>
<li>If you do so, you should edit your <strong>hosts.txt</strong> (wherever it may be on your OS)</li>
</ul>
<p>Have fun working it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2008/03/24/zend-tutorial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Frameworks</title>
		<link>http://www.datensarg.de/2008/03/22/frameworks/</link>
		<comments>http://www.datensarg.de/2008/03/22/frameworks/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 17:09:45 +0000</pubDate>
		<dc:creator>Oli</dc:creator>
		
		<category><![CDATA[Tonick.net]]></category>

		<guid isPermaLink="false">http://www.datensarg.de/?p=4</guid>
		<description><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
After trying to rewrite my code using design patterns till 4:20 a.m. I thought, that someone already might have built a working collection of classes to do the same thing. It&#8217;s important to understand how design patterns work and why and where they can help you simplifying things, but hey: I wan&#8217;t to build a [...]]]></description>
			<content:encoded><![CDATA[
Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391

Deprecated: Function split() is deprecated in /var/www/l3s6524/html/datensarg/wordpress/wp-content/plugins/google-analytics-for-wordpress/gapp/googleanalytics.php on line 391
<p>After trying to rewrite my code using design patterns till 4:20 a.m. I thought, that someone already might have built a working collection of classes to do the same thing. It&#8217;s important to understand how design patterns work and why and where they can help you simplifying things, but hey: I wan&#8217;t to build a scalable web application and I don&#8217;t really want to spend my free time building my own framework.</p>
<p>I&#8217;ve been flipping through Duane O&#8217;Brien&#8217;s <a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk1/" title="PHP frameworks, Part 1: Getting started with three popular frameworks" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ibm.com');">article</a> on PHP frameworks for a while now and decided to give the <a href="http://framework.zend.com" target="_blank" title="Zend Framework" onclick="javascript:pageTracker._trackPageview('/outbound/article/framework.zend.com');">Zend Framework</a> a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.datensarg.de/2008/03/22/frameworks/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
