<?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>rickogden.com &#187; Development</title>
	<atom:link href="http://www.rickogden.com/category/tech/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rickogden.com</link>
	<description></description>
	<lastBuildDate>Wed, 18 Aug 2010 14:29:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtual Hosts for Development with Apache on Ubuntu</title>
		<link>http://www.rickogden.com/2010/07/virtual-hosts-for-development-with-apache-on-ubuntu/</link>
		<comments>http://www.rickogden.com/2010/07/virtual-hosts-for-development-with-apache-on-ubuntu/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:58:38 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=355</guid>
		<description><![CDATA[I do a lot of development on Ubuntu, as I often have multiple projects on the go which are nothing to do with each other, it&#8217;s often easier to create separate virtual hosts on my local development machine. This means that when they are ready for the &#8220;real world&#8221;, they are already set up as [...]]]></description>
			<content:encoded><![CDATA[<p>I do a lot of development on Ubuntu, as I often have multiple projects on the go which are nothing to do with each other, it&#8217;s often easier to create separate virtual hosts on my local development machine. This means that when they are ready for the &#8220;real world&#8221;, they are already set up as isolated sites at the root of their domain (rather than in a subdirectory of an existing site).</p>
<p>In order to do this, you need to create a new virtual host in your Apache config. Create a new file in the directory /etc/apache2/sites-available and open it in your favourite editor. It doesn&#8217;t matter what the file is called, but it&#8217;s best to keep it descriptive. We&#8217;ll call this project &#8220;mysite&#8221;, so the file can be called &#8220;mysite&#8221;. In the file we need to configure the Apache virtual host.</p>
<pre class="brush: xml;">
&lt;VirtualHost 127.0.0.1&gt;
ServerName mysite.localhost
DocumentRoot /var/www/mysite/public/
&lt;/VirtualHost&gt;
</pre>
<p>In the VirtualHost tag, you put the IP, seeing as I only want this for local loopback (for development) I have just put 127.0.0.1. The ServerName is the URL that you use to connect to the site and the DocumentRoot is where the public documents are stored. This is a very basic set up, so there are many more options you can add.</p>
<p>To make the site enabled, you create a symbolic link to the file from the sites-enabled directory.</p>
<pre class="brush: plain; light: true;">
cd /etc/apache2/sites-enabled
ln -s ../sites-available/mysite mysite
</pre>
<p>You now need to add the subdomain (mysite.localhost) to the list of hosts, so open /etc/hosts in your favourite editor and append the line:</p>
<pre class="brush: plain; light: true;">127.0.0.1 mysite.localhost</pre>
<p>And then restart Apache:</p>
<pre class="brush: plain; light: true;">sudo /etc/init.d/apache2 restart</pre>
<p>Now you should be able to visit http://mysite.localhost on the local machine (assuming the directory does actually exist).</p>
<p>This should also be similar on MacOS and other linux Distros, but the file locations (particularly for Apache) will vary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/07/virtual-hosts-for-development-with-apache-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Research Begins</title>
		<link>http://www.rickogden.com/2010/05/the-research-begins/</link>
		<comments>http://www.rickogden.com/2010/05/the-research-begins/#comments</comments>
		<pubDate>Mon, 17 May 2010 11:25:55 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=307</guid>
		<description><![CDATA[As some of you may know, I have now officially started my masters. It is a technical MSc (by Research) on Location-based Social Media Services. The easiest way to describe this is I will be designing and developing a Wiki for a variety of media (text, audio, images and video) which (unlike Wikipedia) is not [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you may know, I have now officially started my masters. It is a technical MSc (by Research) on Location-based Social Media Services. The easiest way to describe this is I will be designing and developing a Wiki for a variety of media (text, audio, images and video) which (unlike <a href="http://wikipedia.org" target="_blank">Wikipedia</a>) is not found using &#8220;keywords&#8221;, but instead is found based on the location of the client.</p>
<p>I am currently starting a literature survey in this area and have discovered a great, free, multi-platform reference manager called <a href="http://www.mendeley.com/" target="_blank">Mendeley</a>, which is incredibly useful for literature storing, organising and tracking (and will even generate a bibliography)! I am researching on who&#8217;s currently doing what in location based and social media applications. This includes what applications are out there, what technologies are out there (for information transfer/web services and location analysis) and also what is currently being researched.</p>
<p>I will hopefully be blogging regularly about this, and keep this blog updated with my findings. Please leave comments if you have any suggestions regarding areas I should look into, applications or if you have any insight into this area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/05/the-research-begins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans 6.9 Beta + Zend Framework</title>
		<link>http://www.rickogden.com/2010/04/netbeans-6-9-beta-zend-framework/</link>
		<comments>http://www.rickogden.com/2010/04/netbeans-6-9-beta-zend-framework/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 10:58:30 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=303</guid>
		<description><![CDATA[Having just got my brand new MacBook Pro, I&#8217;ve been setting it up as a development environment (blog post about that to come). I decided to install the new Netbeans 6.9 beta. The main reason for this is the Zend Framework (and Symfony) support.
In the past I have found Netbeans to be pretty good with [...]]]></description>
			<content:encoded><![CDATA[<p>Having just got my brand new MacBook Pro, I&#8217;ve been setting it up as a development environment (blog post about that to come). I decided to install the new <a href="http://netbeans.org/" target="_blank">Netbeans</a> <a href="http://netbeans.org/community/releases/69/" target="_blank">6.9 beta</a>. The main reason for this is the <a href="http://framework.zend.com/" target="_blank">Zend Framework</a> (and <a href="http://www.symfony-project.org" target="_blank">Symfony</a>) support.</p>
<p>In the past I have found Netbeans to be pretty good with code-completion when being used with Zend Framework, however with the release of Zend Tool (something I do really like), you&#8217;ve had to switch from Netbeans to the command line in order to create the project and then create a new Netbeans project from existing sources. This was a bit of a hassle.</p>
<p>Now, all you need to do is <a href="http://www.zend.com/community/downloads" target="_blank">download the Framework</a>, go into the Netbeans preferences &gt; PHP &gt; Zend tab, Zend script box should point to the zf script (from within the bin directory of the ZF downloading). On Mac and Linux it wants the zf.sh file (on Windows it will probably want the zf.bat file, although not tested). Once that has been set up, you can now create brand new Zend Framework projects from within Netbeans, and it preconfigures everything for you. Lovely!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/04/netbeans-6-9-beta-zend-framework/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MooTools Cross Fader</title>
		<link>http://www.rickogden.com/2010/04/mootools-cross-fader/</link>
		<comments>http://www.rickogden.com/2010/04/mootools-cross-fader/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 09:33:31 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=297</guid>
		<description><![CDATA[I&#8217;ve recently developed a script in JavaScript which will perform smooth transitions between a number of elements. This is built using the MooTools framework and is available to download from the labs.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently developed a script in JavaScript which will perform smooth transitions between a number of elements. This is built using the <a href="http://www.mootools.net" target="_blank">MooTools framework</a> and is <a href="http://www.rickogden.com/labs/javascript-cross-fader/">available to download</a> from the <a href="http://www.rickogden.com/labs/">labs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/04/mootools-cross-fader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIP Internet Explorer 6</title>
		<link>http://www.rickogden.com/2010/03/rip-internet-explorer-6/</link>
		<comments>http://www.rickogden.com/2010/03/rip-internet-explorer-6/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 09:17:18 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=248</guid>
		<description><![CDATA[The time I never thought I&#8217;d see is now on the horizon. The web moving away from supporting Internet Explorer 6.
Many web developers are all too aware of the pain of getting their websites working correctly in all web browsers and THEN having to make sure they work in IE6. This is not only inconvenient [...]]]></description>
			<content:encoded><![CDATA[<p>The time I never thought I&#8217;d see is now on the horizon. The web moving away from supporting Internet Explorer 6.</p>
<p>Many web developers are all too aware of the pain of getting their websites working correctly in all web browsers and THEN having to make sure they work in IE6. This is not only inconvenient and irritating, but expensive. However, with <a href="http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html" target="_blank">Google announcing it is no longer supporting IE6</a> and now <a href="http://www.amazonsellercommunity.com/forums/thread.jspa?threadID=182907&amp;tstart=0" target="_blank">Amazon</a> following their lead, it is appearing that very soon (not immediately) people will be forced to update/change their web browser to use these large and prominent websites. Many other sites have also dropped IE6 support (list at <a href="http://idroppedie6.com/" target="_blank">http://idroppedie6.com/</a>).</p>
<p>Finally we will be able to spend our time on functionality rather than legacy support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/03/rip-internet-explorer-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>suPHP + Userdir on Ubuntu</title>
		<link>http://www.rickogden.com/2010/01/suphp-userdir-on-ubuntu/</link>
		<comments>http://www.rickogden.com/2010/01/suphp-userdir-on-ubuntu/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 16:01:59 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[suphp]]></category>
		<category><![CDATA[userdir]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=214</guid>
		<description><![CDATA[Recently I&#8217;ve had the need to combine suPHP with the userdir mod for Apache on Ubuntu. By default they don&#8217;t play nice together. So here is a quick guide on how to get it working.
If you have installed a standard LAMP server (there are many guides on how to do this), you now need to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve had the need to combine suPHP with the userdir mod for Apache on Ubuntu. By default they don&#8217;t play nice together. So here is a quick guide on how to get it working.</p>
<p>If you have installed a standard LAMP server (there are many guides on how to do this), you now need to install the suphp package for apache, this is called <em>libapache2-mod-suphp</em>:</p>
<pre class="brush: bash; light: true;">
$ sudo apt-get install libapache2-mod-suphp
</pre>
<p>Once that has been installed open the file /etc/suphp/suphp.conf in your favourite text editor. Find the line that has the docroot on, and change the docroot so that it is just &#8220;/&#8221;. This means that the suphp engine will parse anywhere in the file system, and not just in the standard html directory, thus allowing users to have their own.</p>
<pre class="brush: plain; light: true;">
docroot=/
</pre>
<p>You may also want to change the security options as appropriate, just change the &#8220;false&#8221; to &#8220;true&#8221; of the applicable ones the enable them. This is worth experimenting with. Further down you will want to set the &#8220;check_vhost_docroot&#8221; is set to false, this again is to do with the fact that userdirs are not in the vhost&#8217;s document root.</p>
<pre class="brush: plain; light: true;">
check_vhost_docroot=false
</pre>
<p>Finally you have the min_uid and min_gid properties. These are worth altering if you still want to be able to have a website running as www-data (such as the default website). If this is the case, change them both to the uid and gid of www-data (33 by default). It is not recommended to allow suphp to run as root, so do not set it to 0.</p>
<pre class="brush: plain; light: true;">
min_uid=33
min_gid=33
</pre>
<p>Finally, you need to enable the mods suphp and userdir, and disable the mod php5, this is done with two commands, and then restart apache2:</p>
<pre class="brush: bash; light: true;">
sudo a2dismod php5
sudo a2enmod userdir suphp
sudo /etc/init.d/apache2 restart
</pre>
<p>This should then allow you to run php scripts as the user who created them. To test this, create a new php file that contains:</p>
<pre class="brush: php; light: true;">
&lt;?php
system(id);
</pre>
<p>This will give you information of the user that the php process is running as. I recommend changing the ownership and retrying it, just make sure sure suphp is running as it should be.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/01/suphp-userdir-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Happy New Year and Updates</title>
		<link>http://www.rickogden.com/2010/01/happy-new-year-and-updates/</link>
		<comments>http://www.rickogden.com/2010/01/happy-new-year-and-updates/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 09:35:49 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=212</guid>
		<description><![CDATA[With it being the festive season, I have not done a huge amount of interest recently. I&#8217;m hoping to have a few things for you soon. Currently I have been experimenting with Drupal, having never used it (properly) before, this is a real learning curve.
Also I am working on getting suPHP to work with userdir, [...]]]></description>
			<content:encoded><![CDATA[<p>With it being the festive season, I have not done a huge amount of interest recently. I&#8217;m hoping to have a few things for you soon. Currently I have been experimenting with Drupal, having never used it (properly) before, this is a real learning curve.</p>
<p>Also I am working on getting suPHP to work with userdir, to allow users of a server to have their own webspace in a secure fashion. I will be blogging about this when it is done.</p>
<p>However, I have found a few things that may be of interest:<br />
<a href="http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/" target="_blank">Things you probably didn&#8217;t know about PHP</a> &#8211; Some really interesting and neat things you can do with PHP.</p>
<p><a href="http://www.phpobjectgenerator.com/" target="_blank">PHP Object Generator</a> &#8211; Generates class structures and objects, so you don&#8217;t have to</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2010/01/happy-new-year-and-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(An Extended) Beginners Guide to Object Orientation in PHP</title>
		<link>http://www.rickogden.com/2009/12/an-extended-beginners-guide-to-object-orientation-in-php/</link>
		<comments>http://www.rickogden.com/2009/12/an-extended-beginners-guide-to-object-orientation-in-php/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 08:55:44 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[object orientation]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpnw]]></category>
		<category><![CDATA[phpnw09]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=201</guid>
		<description><![CDATA[Those of you who were that the PHPNW09 conference on the Sunday morning may have seen my talk on Object Oriented PHP. At the beginning of the month I gave a talk at the PHPNW user group which was based on the original talk, but slightly extended.
Here are the slides
]]></description>
			<content:encoded><![CDATA[<p>Those of you who were that the <a href="http://conference.phpnw.org.uk" target="_blank">PHPNW09</a> conference on the Sunday morning may have seen my talk on <a href="http://www.rickogden.com/tutorials/beginners-guide-to-object-orientation-in-php/">Object Oriented PHP</a>. At the beginning of the month I gave a talk at the <a href="http://www.phpnw.org.uk" target="_blank">PHPNW</a> user group which was based on the original talk, but slightly extended.</p>
<p><a href="http://www.rickogden.com/tutorials/an-extended-introduction-to-object-orientation-in-php/"><strong><em>Here are the slides</em></strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2009/12/an-extended-beginners-guide-to-object-orientation-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Talking at PHPNW &#8211; 1st December</title>
		<link>http://www.rickogden.com/2009/11/talking-at-phpnw-1st-december/</link>
		<comments>http://www.rickogden.com/2009/11/talking-at-phpnw-1st-december/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:43:56 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[object orientation]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpnw]]></category>
		<category><![CDATA[phpnw09]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=114</guid>
		<description><![CDATA[Just to let you know that at the next PHPNW meeting I will be giving an extended version of my talk: Beginners Guide to Object Orientation in PHP, which I gave at the PHPNW09 conference.
For those who don&#8217;t know, this is held in Revolution on Deansgate Locks in Manchester, and starts at 7pm on Tuesday [...]]]></description>
			<content:encoded><![CDATA[<p>Just to let you know that at the next <a href="http://www.phpnw.org.uk" target="_blank">PHPNW</a> meeting I will be giving an extended version of my talk: <a href="http://www.rickogden.com/tutorials/beginners-guide-to-object-orientation-in-php/">Beginners Guide to Object Orientation in PHP</a>, which I gave at the <a href="http://conference.phpnw.org.uk/" target="_blank">PHPNW09</a> conference.</p>
<p>For those who don&#8217;t know, this is held in Revolution on Deansgate Locks in Manchester, and starts at 7pm on Tuesday 1st December.</p>
<p><a href="http://upcoming.yahoo.com/event/4886579/MCR/Manchester/PHPNW-December-2009/Revolution-Deansgate/" target="_blank">Upcoming link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2009/11/talking-at-phpnw-1st-december/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updated Ubuntu FreeNX Install Script</title>
		<link>http://www.rickogden.com/2009/11/updated-ubuntu-freenx-install-script/</link>
		<comments>http://www.rickogden.com/2009/11/updated-ubuntu-freenx-install-script/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 09:27:30 +0000</pubDate>
		<dc:creator>Rick Ogden</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[freenx]]></category>
		<category><![CDATA[nx]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.rickogden.com/?p=160</guid>
		<description><![CDATA[I&#8217;ve just updated the FreeNX install script to download and install the latest version of the NX Client from NoMachine. If you have used the previous version of this script, then you can just execute this version and it will automatically update your NX Client.
Download the latest version from here.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just updated the <a href="http://freenx.berlios.de/" target="_blank">FreeNX</a> install script to download and install the latest version of the NX Client from <a href="http://www.nomachine.com/" target="_blank">NoMachine</a>. If you have used the previous version of this script, then you can just execute this version and it will automatically update your NX Client.</p>
<p><a href="http://www.rickogden.com/labs/freenx-install-ubuntu/">Download the latest version from here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickogden.com/2009/11/updated-ubuntu-freenx-install-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
