<?xml version="1.0" encoding="UTF-8"?>
<rss 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/" version="2.0">

<channel>
	<title>Paul Maunders | Web log</title>
	<atom:link href="http://www.pyrosoft.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pyrosoft.co.uk/blog</link>
	<description>Economics, Business, Telecoms, Tech and Gadgets</description>
	<lastBuildDate>Tue, 23 Jun 2009 13:32:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1-alphabeta-11581</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>A new way to find furniture</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/06/23/a-new-way-to-find-furniture/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/06/23/a-new-way-to-find-furniture/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 13:18:47 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[investing]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=975</guid>
		<description><![CDATA[In February of this year we invested in a startup called Furnish.co.uk, and I&#8217;m pleased to say that as of yesterday they have now gone live with their sleek new&#160;website.

Furnish.co.uk, as it&#8217;s name suggests, is a new way to find and buy luxury home furniture online. The site acts as a shop window for a [...]]]></description>
			<content:encoded><![CDATA[<p>In February of this year we invested in a startup called Furnish.co.uk, and I&#8217;m pleased to say that as of yesterday they have now gone live with their sleek new&nbsp;website.</p>
<p><img src="http://www.pyrosoft.co.uk/blog/wp-content/uploads//2009/06/furnish-screenshot-400x372.png" alt="furnish screenshot" title="furnish screenshot" width="400" height="372" class="aligncenter size-medium wp-image-979" /></p>
<p>Furnish.co.uk, as it&#8217;s name suggests, is a new way to <a href="http://www.furnish.co.uk">find and buy luxury home furniture online</a>. The site acts as a shop window for a variety of boutique stores and exclusive designers, allowing you to compare a huge range of options in one place. So if you were decorating a new bedroom, and wanted to find the perfect <a href="http://furnish.co.uk/categories/table-and-bedside-lamps-lighting/filtered">bedside lamp</a>, Furnish.co.uk would let you drill down to the exact style you wanted&thinsp;&#8211;&thinsp;you can filter by price, colour, material, and&nbsp;size.</p>
<p>Furnish is aimed at the mid to high end of the furniture market and includes products you won&#8217;t typically find in the major high street retailers. They are adding more products every day, and hope to include over 100 stores over the course of the next few months, so keep checking&nbsp;back!</p>

<p><a href="http://feedads.g.doubleclick.net/~at/CLb2JVRGmzvJYTFEdhPgC8NiP-w/0/da"><img src="http://feedads.g.doubleclick.net/~at/CLb2JVRGmzvJYTFEdhPgC8NiP-w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/CLb2JVRGmzvJYTFEdhPgC8NiP-w/1/da"><img src="http://feedads.g.doubleclick.net/~at/CLb2JVRGmzvJYTFEdhPgC8NiP-w/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/06/23/a-new-way-to-find-furniture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shared Calendars on the Mac &amp; iPhone with Google Sync</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/06/20/shared-calendars-on-the-mac-iphone-with-google-sync/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/06/20/shared-calendars-on-the-mac-iphone-with-google-sync/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 17:32:07 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[google sync]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=971</guid>
		<description><![CDATA[Today I have been attempting to set up Google Calendar so that it automatically synchronises with an iPhone and also iCal on a Mac computers. It was a bit trickier than I expected, so here are some of my observations. Hopefully they will help someone&#160;else!
Google&#160;Sync 
Here are some of the main things you need to remember [...]]]></description>
			<content:encoded><![CDATA[<p>Today I have been attempting to set up Google Calendar so that it automatically synchronises with an iPhone and also iCal on a Mac computers. It was a bit trickier than I expected, so here are some of my observations. Hopefully they will help someone&nbsp;else!</p>
<h3 style="font-size: 1.17em;">Google&nbsp;Sync </h3>
<p>Here are some of the main things you need to remember to&nbsp;do:</p>
<ol>
<li>Make sure you have <a href="http://www.google.com/support/a/bin/answer.py?answer=135937">enabled Google sync for mobiles</a> in your Google Apps account. From your Google Apps Dashboard, click the Mobile link. Then tick the Enable Google Sync box on the next page and press&nbsp;save.</li>
<li>Set up <a href="http://www.google.com/support/mobile/bin/answer.py?answer=138740&amp;topic=14252">Google Sync on your iPhone</a> to sync calendars and contacts from Google. Basically you just add a Microsoft Exchange account with your google apps login details, and then select calendars and contacts in the syncing&nbsp;options.</li>
<li>You must also <a href="http://www.google.com/support/mobile/bin/answer.py?answer=139206&amp;ctx=sibling&amp;topic=14252">choose which calendars you want to sync to your iPhone</a> via the Google Mobile website. Visit http://m.google.com in Safari on your&nbsp;iPhone.</li>
</ol>
<h3 style="font-size: 1.17em;">iCal</h3>
<p>You can set up <a href="http://www.google.com/support/calendar/bin/answer.py?hl=en&amp;answer=99358#ical">iCal to subscribe to your Google Calendars</a> via a caldav url. First you add a new account under preferences, and then under the delegation tab you select the calendars you wish to subscribe&nbsp;to.</p>
<h3 style="font-size: 1.17em;">Sharing Google&nbsp;Calendars </h3>
<p>You can <a href="http://www.google.com/support/forum/p/Google+Apps/thread?tid=6d7b7891a32740fd&amp;hl=en">share a calendar</a> with other users in your google apps domain, or external users on other domains. There are various ways to do this such as sending a link to the ical url or sending an invite within the calendar sharing pages on the Google Calendar&nbsp;website.</p>

<p><a href="http://feedads.g.doubleclick.net/~at/Fn9yUqeUWfso9N9ycYFz0c4TrQY/0/da"><img src="http://feedads.g.doubleclick.net/~at/Fn9yUqeUWfso9N9ycYFz0c4TrQY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/Fn9yUqeUWfso9N9ycYFz0c4TrQY/1/da"><img src="http://feedads.g.doubleclick.net/~at/Fn9yUqeUWfso9N9ycYFz0c4TrQY/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/06/20/shared-calendars-on-the-mac-iphone-with-google-sync/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to upgrade iphone 3.0 beta to full official release</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/06/18/how-to-upgrade-iphone-3-0-beta-to-full-official-release/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/06/18/how-to-upgrade-iphone-3-0-beta-to-full-official-release/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 09:52:54 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=965</guid>
		<description><![CDATA[If you are an iPhone developer and have been running one of the beta versions of the 3.0 firmware then you might find that iTunes will not update you to the latest official 3.0 release, as it already thinks you are using the most recent&#160;version.
It&#8217;s taken me a while, but I&#8217;ve finally found out how [...]]]></description>
			<content:encoded><![CDATA[<p>If you are an iPhone developer and have been running one of the beta versions of the 3.0 firmware then you might find that iTunes will not update you to the latest official 3.0 release, as it already thinks you are using the most recent&nbsp;version.</p>
<p>It&#8217;s taken me a while, but I&#8217;ve finally found out how to do&nbsp;it!</p>
<p>NB: Before you do anything, make sure you have backed up your phone in case something goes&nbsp;wrong!</p>
<ol>
<li>Download the latest firmware directly from Apple&#8217;s Content Delivery Network:
<ul>
<li><a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-6580.20090617.XsP76/iPhone1,1_3.0_7A341_Restore.ipsw">iPhone&nbsp;Original</a></li>
<li><a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-6578.20090617.VfgtU/iPhone1,2_3.0_7A341_Restore.ipsw">iPhone&nbsp;3G</a></li>
</ul>
</li>
<li>The file may have a .zip extension, if so remove this by renaming the file so that it ends with&nbsp;.ipsw</li>
<li>Open up iTunes, and Option-Click the restore button. You should then select the ipsw file you&nbsp;downloaded.</li>
<li>Follow the on-screen instructions as it upgrades your&nbsp;firmware.</li>
</ol>
<p>Warning&thinsp;&#8211;&thinsp;do this at your own risk. It may break your&nbsp;phone.</p>

<p><a href="http://feedads.g.doubleclick.net/~at/pKqebouVsBo4revjFOIzWI3ZoaE/0/da"><img src="http://feedads.g.doubleclick.net/~at/pKqebouVsBo4revjFOIzWI3ZoaE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/pKqebouVsBo4revjFOIzWI3ZoaE/1/da"><img src="http://feedads.g.doubleclick.net/~at/pKqebouVsBo4revjFOIzWI3ZoaE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/06/18/how-to-upgrade-iphone-3-0-beta-to-full-official-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Testing the Yii Framework</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/28/testing-the-yii-framework/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/28/testing-the-yii-framework/#comments</comments>
		<pubDate>Thu, 28 May 2009 15:10:45 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=956</guid>
		<description><![CDATA[Installing
First, download the Yii Framework to somewhere sensible. I prefer to use subversion to check out the&#160;code:
svn co http://yii.googlecode.com/svn/branches/1.0 /usr/share/php/Yii
This will take a few minutes. Once it&#8217;s done, you can use the Yii Command Runner (yiic) to set up your web&#160;application:
/usr/share/php/Yii/framework/yiic webapp /var/www/html/appname
If everything went well, you should be able to access your web app&#160;with:
http://hostname/appname/
You [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installing</strong></p>
<p>First, download the Yii Framework to somewhere sensible. I prefer to use subversion to check out the&nbsp;code:</p>
<pre>svn co <a href="http://yii.googlecode.com/svn/branches/1.0">http://yii.googlecode.com/svn/branches/1.0</a> /usr/share/php/Yii</pre>
<p>This will take a few minutes. Once it&#8217;s done, you can use the Yii Command Runner (yiic) to set up your web&nbsp;application:</p>
<pre>/usr/share/php/Yii/framework/yiic webapp /var/www/html/appname</pre>
<p>If everything went well, you should be able to access your web app&nbsp;with:</p>
<pre>http://hostname/appname/</pre>
<p>You should see a screen like the following&nbsp;one:</p>
<p><img class="aligncenter size-medium wp-image-960" title="yii-default-screen" src="http://www.pyrosoft.co.uk/blog/wp-content/uploads//2009/05/yii-default-screen-400x304.png" alt="yii-default-screen" width="400" height="304" /></p>
<p><strong>Configuring</strong></p>
<p>Set up the config script to be able to connect to your&nbsp;database.</p>
<pre>/var/www/html/webapp/protected/config/main.php</pre>
<p>Uncomment the DB section, and add in your database connection&nbsp;details:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #0000ff;">'db'</span><span style="color: #339933;">=&gt;</span>array<span style="color: #009900;">&#40;</span>
			<span style="color: #0000ff;">'connectionString'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'mysql:host=localhost;dbname=http_auth'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'username'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'root'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'password'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'d2x@1A1!aa!a!'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'emulatePrepare'</span><span style="color: #339933;">=&gt;</span>true
		<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span></pre></div></div>


<p><a href="http://feedads.g.doubleclick.net/~at/7M6MuAE0Wqj8NjItUMTVDQiMYxw/0/da"><img src="http://feedads.g.doubleclick.net/~at/7M6MuAE0Wqj8NjItUMTVDQiMYxw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/7M6MuAE0Wqj8NjItUMTVDQiMYxw/1/da"><img src="http://feedads.g.doubleclick.net/~at/7M6MuAE0Wqj8NjItUMTVDQiMYxw/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/28/testing-the-yii-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing with Subversion, Unfuddle and OSX</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/27/developing-with-subversion-unfuddle-and-osx/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/27/developing-with-subversion-unfuddle-and-osx/#comments</comments>
		<pubDate>Wed, 27 May 2009 09:08:55 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[unfuddle]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=945</guid>
		<description><![CDATA[Today I&#8217;m going to be helping one of our investment companies, ByteWire set themselves up with a subversion based development environment for their Street Crime game. They will use a straight forward workflow whereby they will develop and test their code locally on their iMacs, commit working code to a subversion repository, and then check [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m going to be helping one of our investment companies, <a href="http://www.bytewire.co.uk">ByteWire</a> set themselves up with a subversion based development environment for their <a href="http://www.street-crime.com">Street Crime</a> game. They will use a straight forward workflow whereby they will develop and test their code locally on their iMacs, commit working code to a subversion repository, and then check out code the live site when they are happy with&nbsp;it.</p>
<p><strong>UNFUDDLE</strong></p>
<p>We&#8217;re going to be using <a href="http://unfuddle.com/">Unfuddle</a> to provide subversion hosting, project management and bug&nbsp;tracking.</p>
<ul>
<li>Create a free unfuddle account, e.g.&nbsp;Bytewire</li>
<li>Set up your first project e.g. Street&nbsp;Crime</li>
<li>Create a repository:&nbsp;http://bytewire.unfuddle.com/svn/bytewire_streetcrime/</li>
</ul>
<p><strong>LOCAL DOMAIN ON&nbsp;OSX</strong></p>
<p>Set-up a local test domain on OS&nbsp;X</p>
<ul>
<li> Add it to the hosts&nbsp;file</li>
</ul>
<pre>printf "127.0.0.1\tstreetcrime\n" | sudo tee -a /etc/hosts</pre>
<ul>
<li>This should now be accessible via&nbsp;http://streetcrime/</li>
</ul>
<p><strong>MAMP</strong></p>
<p>MAMP is an excellent bundle of Apache, MySQL and PHP for use on Macs. These tools do come pre-installed with Leopard by default, but php in particular is missing a fair few modules which you can only really add by re-compiling&thinsp;&#8211;&thinsp;MAMP makes it a lot easier. It installs new versions of PHP, MySQL and Apache alongside the default versions (on different ports), so that both can be run at the same&nbsp;time.</p>
<ul>
<li> Download it from:&nbsp;<a href="http://www.mamp.info/en/downloads/index.html">http://www.mamp.info/en/downloads/index.html</a></li>
<li>Once you have installed it, you can configure it to work with your local test&nbsp;domains.</li>
</ul>
<ol>
<li>
<ul>
<li>Create a folder where the site code will be placed, e.g.&nbsp;/Applications/MAMP/htdocs/streetcrime/http/</li>
</ul>
<ul>
<li>Open up /Applications/MAMP/conf/apache/httpd.conf with a text&nbsp;editor.</li>
</ul>
<ul>
<li>Uncomment the NameVirtualHost line, and add a couple of news lines to define the new virtual host. It should look&nbsp;like:</li>
</ul>
</li>
</ol>
<pre><span style="font-family: Georgia; font-size: small;"><span><span style="font-family: 'Courier New'; font-size: small;"><span>NameVirtualHost *

&lt;VirtualHost *&gt;
DocumentRoot /Applications/MAMP/htdocs/
ServerName localhost
&lt;/VirtualHost&gt;

&lt;VirtualHost *&gt;
DocumentRoot /Applications/MAMP/htdocs/streetcrime/http/
ServerName streetcrime
&lt;/VirtualHost&gt;</span></span></span></span></pre>
<ul>
<li>Restart MAMP through the MAMP control applet or widget. You should then be able to access the site at&nbsp;http://streetcrime:8888/</li>
</ul>
<p><strong>INITIAL COMMIT OF&nbsp;CODE</strong></p>
<ul>
<li>Make the trunk folder inside the repository where your site code will initially be&nbsp;kept.</li>
</ul>
<pre>svn -m '' mkdir http://bytewire.unfuddle.com/svn/bytewire_streetcrime/trunk/</pre>
<ul>
<li>Check out the trunk to your project top level&nbsp;folder</li>
</ul>
<pre>svn co http://bytewire.unfuddle.com/svn/bytewire_streetcrime/trunk/ /sites/street-crime.com/</pre>
<ul>
<li>Check through the folder structure and look for anything that should be&nbsp;excluded:</li>
</ul>
<pre>du -h --max-depth=1 /sites/street-crime.com/http/</pre>
<ul>
<li>Edit the svn:ignore&nbsp;property</li>
</ul>
<pre>svn add /sites/street-crime.com/http/</pre>
<pre>svn propedit svn:ignore /sites/street-crime.com/http/</pre>
<ul>
<li>List the files &amp; folders that you want to ignore, and then save and&nbsp;quit.</li>
</ul>
<pre>PSD
gangster-game-forum
gangster-game-wiki
gangster-game-blog
logs
uploads</pre>
<ul>
<li>Add the remaining files and commit (excluding uploads etc with&nbsp;svn:ignore)</li>
</ul>
<pre>svn add --force /sites/street-crime.com/http/</pre>
<pre>svn commit -m 'Importing main files'</pre>
<p><strong>CHECKING OUT CODE TO THE OSX DEVELOPMENT&nbsp;WORKSTATION</strong></p>
<ul>
<li>Change directory to the folder you set up locally for&nbsp;development.</li>
</ul>
<pre>cd /Applications/MAMP/htdocs/streetcrime/</pre>
<pre>rmdir http</pre>
<pre>svn co http://bytewire.unfuddle.com/svn/bytewire_streetcrime/trunk/ .</pre>
<p><strong>TESTING THE&nbsp;SITE</strong></p>
<ul>
<li>Visit http://streetcrime:8888/&thinsp;&#8211;&thinsp;it showed a blank page for me. That would suggest error reporting is off, so enable in&nbsp;/Applications/MAMP/conf/php5/php.ini</li>
</ul>
<p><strong><br />
</strong></p>
<p><strong></strong></p>

<p><a href="http://feedads.g.doubleclick.net/~at/iCQzSRgmETeiNus9QnfQsfkmwzI/0/da"><img src="http://feedads.g.doubleclick.net/~at/iCQzSRgmETeiNus9QnfQsfkmwzI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/iCQzSRgmETeiNus9QnfQsfkmwzI/1/da"><img src="http://feedads.g.doubleclick.net/~at/iCQzSRgmETeiNus9QnfQsfkmwzI/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/27/developing-with-subversion-unfuddle-and-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WAMP SMTP Server – Send outgoing emails</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/20/wamp-smtp-server-send-outgoing-emails/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/20/wamp-smtp-server-send-outgoing-emails/#comments</comments>
		<pubDate>Wed, 20 May 2009 09:11:01 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=938</guid>
		<description><![CDATA[If you are running WAMP and you want to be able to send outgoing e-mails via PHP&#8217;s mail function, then you will need to edit the php.ini file and&#160;change
SMTP = localhost
to
SMTP = smtp.yourisp.com
Replacing smtp.yourisp.com with the address of your ISP&#8217;s SMTP server, e.g. smtp.ntlworld.com. The php.ini is in the bin directory of the active Apache, which [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running WAMP and you want to be able to send outgoing e-mails via PHP&#8217;s mail function, then you will need to edit the php.ini file and&nbsp;change</p>
<pre>SMTP = localhost</pre>
<p>to</p>
<pre>SMTP = smtp.yourisp.com</pre>
<p>Replacing smtp.yourisp.com with the address of your ISP&#8217;s SMTP server, e.g. smtp.ntlworld.com. The php.ini is in the bin directory of the active Apache, which will be something&nbsp;like:</p>
<pre>c:\wamp\bin\apache\apache2.2.8\bin</pre>
<p>However, if you are using Zend Mail and you get an error along the lines&nbsp;of</p>
<pre>Warning: mail() [function.mail]: SMTP server response: 501 &lt;"Bill Gates" &lt;bill@microsoft.com&gt;&gt;: "@" or "." expected after """"</pre>
<p>Then you should probably bypass PHP&#8217;s mail functions altogether, and <a href="http://framework.zend.com/manual/en/zend.mail.sending.html">connect directly to the SMTP server from Zend&nbsp;Mail</a>:</p>
<pre>
require_once 'Zend/Mail/Transport/Smtp.php';
$tr = new Zend_Mail_Transport_Smtp('mail.example.com');
Zend_Mail::setDefaultTransport($tr);
</pre>
<p>So to send a mail from WAMP using Zend Framework&#8217;s Mail functions, you would use the&nbsp;following:</p>
<pre>
require_once 'Zend/Mail.php';
require_once 'Zend/Mail/Transport/Smtp.php';

$tr = new Zend_Mail_Transport_Smtp('mail.example.com');
Zend_Mail::setDefaultTransport($tr);

$mail = new Zend_Mail();
$mail->setBodyText($setBodyHtml);
$mail->setFrom('bill@microsoft.com', 'Bill Gates');
$mail->addTo($email, $name);
$mail->setSubject($subject);
$mail->send();
</pre>

<p><a href="http://feedads.g.doubleclick.net/~at/CVik-IULEUpuKMBOZ96_jSC79w0/0/da"><img src="http://feedads.g.doubleclick.net/~at/CVik-IULEUpuKMBOZ96_jSC79w0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/CVik-IULEUpuKMBOZ96_jSC79w0/1/da"><img src="http://feedads.g.doubleclick.net/~at/CVik-IULEUpuKMBOZ96_jSC79w0/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/20/wamp-smtp-server-send-outgoing-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Effective 2009-2010 Tax Rates</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/16/effective-2009-2010-tax-rates/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/16/effective-2009-2010-tax-rates/#comments</comments>
		<pubDate>Sat, 16 May 2009 15:57:35 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[tax]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=925</guid>
		<description><![CDATA[If you factor Employee&#8217;s and Employer&#8217;s National Insurance Contributions into the total deductions made by the tax man, then most people pay closer to 30% tax than the headline basic rate of&#160;20%.
The following graph shows the total % tax paid by an employer + employee for a given nominal gross salary. This includes income tax [...]]]></description>
			<content:encoded><![CDATA[<p>If you factor Employee&#8217;s and Employer&#8217;s National Insurance Contributions into the total deductions made by the tax man, then most people pay closer to 30% tax than the headline basic rate of&nbsp;20%.</p>
<p>The following graph shows the total % tax paid by an employer + employee for a given nominal gross salary. This includes income tax and employee / employer national&nbsp;insurance.</p>
<p><img src="http://spreadsheets.google.com/pub?key=rTeXvIlp7ecsb_8MXjno4cw&#038;oid=2&#038;output=image" /></p>
<p><iframe width='500' height='300' frameborder='0' src='http://spreadsheets.google.com/pub?key=rTeXvIlp7ecsb_8MXjno4cw&#038;output=html&#038;gid=1&#038;single=true&#038;range=a1:d11'></iframe></p>

<p><a href="http://feedads.g.doubleclick.net/~at/svArFERMfQ8uT_xPBUApVrGsBws/0/da"><img src="http://feedads.g.doubleclick.net/~at/svArFERMfQ8uT_xPBUApVrGsBws/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/svArFERMfQ8uT_xPBUApVrGsBws/1/da"><img src="http://feedads.g.doubleclick.net/~at/svArFERMfQ8uT_xPBUApVrGsBws/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/16/effective-2009-2010-tax-rates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL one database versus multiple databases</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/10/mysql-one-database-versus-multiple-databases/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/10/mysql-one-database-versus-multiple-databases/#comments</comments>
		<pubDate>Sun, 10 May 2009 17:13:24 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=922</guid>
		<description><![CDATA[When designing an application&#8201;&#8211;&#8201;should you put each customer in a separate database or keep them all in one large central&#160;database?
When it came to start work on our new Clear Books accounting software last year, we had to make a fundamental database design choice between using a single database for all clients, or having a separate [...]]]></description>
			<content:encoded><![CDATA[<p><em>When designing an application&thinsp;&#8211;&thinsp;should you put each customer in a separate database or keep them all in one large central&nbsp;database?</em></p>
<p>When it came to start work on our new Clear Books accounting software last year, we had to make a fundamental database design choice between using a single database for all clients, or having a separate database for each&nbsp;one.</p>
<p>Since there was going to be a fairly large amount of data for each client, we decided to go for the latter, and one year on&thinsp;&#8211;&thinsp;I am very happy with our&nbsp;decision.</p>
<p><strong>Advantages</strong></p>
<ul>
<li>Easier to balance load. Since each client is in a separate database, it is relatively easy to move them between database&nbsp;servers.</li>
<li>Faster. One client&#8217;s tables being locked won&#8217;t affect another clients. Indexes are smaller. If MySQL has to do a row scan (let&#8217;s hope it doesn&#8217;t!), it&#8217;ll be&nbsp;faster.</li>
<li>MyISAM rsync backups will be&nbsp;faster.</li>
<li>Easier to clone a clients database for testing purposes (just simply copy the whole db, no need to write a special script to extract their&nbsp;data).</li>
</ul>
<p><strong>Disadvantages</strong></p>
<ul>
<li>Upgrading the database is more complicated, as you have to add new fields to each client database, rather than just once globally. If you are successful you could be dealing with thousands of databases, and so an upgrade script is definitely needed. However, this is also a blessing in disguise as it allows you to test upgrades on a small set of databases before rolling them out&nbsp;generally.</li>
<li>More complicated to implement in&nbsp;general.</li>
</ul>
<p>I think the ultimate decision would come down to how much data your store for each client. If it&#8217;s a fair amount, then I think separate databases is worth the extra development&nbsp;effort.</p>

<p><a href="http://feedads.g.doubleclick.net/~at/L_4fBVYxB9NF5bFbY7eoxSDAmvA/0/da"><img src="http://feedads.g.doubleclick.net/~at/L_4fBVYxB9NF5bFbY7eoxSDAmvA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/L_4fBVYxB9NF5bFbY7eoxSDAmvA/1/da"><img src="http://feedads.g.doubleclick.net/~at/L_4fBVYxB9NF5bFbY7eoxSDAmvA/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/10/mysql-one-database-versus-multiple-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK House Prices 1999-2009 in GBP, USD, EUR</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/05/06/uk-house-prices-1999-2009-in-gbp-usd-eur/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/05/06/uk-house-prices-1999-2009-in-gbp-usd-eur/#comments</comments>
		<pubDate>Wed, 06 May 2009 20:18:04 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[economics]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=916</guid>
		<description><![CDATA[
You can view the Google Spreadsheet with the raw data&#160;here.
Sources

Exchange Rates&#8201;&#8211;&#8201;Bank of England (GBP:USD XUQAUSS / GBP:EUR XUQAERS)
Real House&#160;Prices&#8201;&#8211;&#8201;Nationwide

]]></description>
			<content:encoded><![CDATA[<p><img src="http://spreadsheets.google.com/pub?key=r_YUA3bQA9Qwy4uG_S4cQjA&amp;oid=1&amp;output=image" alt="" /></p>
<p>You can view the Google Spreadsheet with the raw data&nbsp;<a href="http://spreadsheets.google.com/ccc?key=r_YUA3bQA9Qwy4uG_S4cQjA">here</a>.</p>
<p><strong>Sources</strong></p>
<ol>
<li>Exchange Rates&thinsp;&#8211;&thinsp;Bank of England (GBP:USD <a href="http://www.bankofengland.co.uk/mfsd/iadb/fromshowcolumns.asp?Travel=NIxSCxSUx&#038;FromSeries=1&#038;ToSeries=50&#038;DAT=RNG&#038;FD=1&#038;FM=Jan&#038;FY=1963&#038;TD=6&#038;TM=May&#038;TY=2009&#038;VFD=N&#038;html.x=27&#038;html.y=18&#038;CSVF=TT&#038;C=DLM&#038;Filter=N">XUQAUSS</a> / GBP:EUR <a href="http://www.bankofengland.co.uk/mfsd/iadb/fromshowcolumns.asp?Travel=NIxSCxSUx&#038;FromSeries=1&#038;ToSeries=50&#038;DAT=RNG&#038;FD=1&#038;FM=Jan&#038;FY=1963&#038;TD=6&#038;TM=May&#038;TY=2009&#038;VFD=N&#038;html.x=26&#038;html.y=13&#038;CSVF=TT&#038;C=DL2&#038;Filter=N">XUQAERS</a>)</li>
<li>Real House&nbsp;Prices&thinsp;&#8211;&thinsp;Nationwide</li>
</ol>

<p><a href="http://feedads.g.doubleclick.net/~at/5mC5hoZ4RL-aZIC-_NRRJjAdpM4/0/da"><img src="http://feedads.g.doubleclick.net/~at/5mC5hoZ4RL-aZIC-_NRRJjAdpM4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/5mC5hoZ4RL-aZIC-_NRRJjAdpM4/1/da"><img src="http://feedads.g.doubleclick.net/~at/5mC5hoZ4RL-aZIC-_NRRJjAdpM4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/05/06/uk-house-prices-1999-2009-in-gbp-usd-eur/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unemployment versus House Prices 1975-2008</title>
		<link>http://www.pyrosoft.co.uk/blog/2009/04/25/unemployment-versus-house-prices-1975-2008/</link>
		<comments>http://www.pyrosoft.co.uk/blog/2009/04/25/unemployment-versus-house-prices-1975-2008/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:00:37 +0000</pubDate>
		<dc:creator>Paul Maunders</dc:creator>
				<category><![CDATA[economics]]></category>

		<guid isPermaLink="false">http://www.pyrosoft.co.uk/blog/?p=910</guid>
		<description><![CDATA[The following graph shows the quarterly unemployment rate compared to real house prices. House prices have been adjusted for inflation and are given in 2009 Q1&#160;prices.

Sources

Unemployment rate is from National Statistics Time Series Data&#8201;&#8211;&#8201;Labour Market Statistics&#8201;&#8211;&#8201;MGSX: LFS: Unemployment rate: UK: All: Aged 16 and over: %:&#160;SA
Real House Price is from Nationwide&#8217;s UK All Properties series, [...]]]></description>
			<content:encoded><![CDATA[<p>The following graph shows the quarterly unemployment rate compared to real house prices. House prices have been adjusted for inflation and are given in 2009 Q1&nbsp;prices.</p>
<p><img class="aligncenter size-full wp-image-912" title="unemployment-house-prices-1975-2008" src="http://www.pyrosoft.co.uk/blog/wp-content/uploads//2009/04/unemployment-house-prices-1975-2008.png" alt="unemployment-house-prices-1975-2008" width="416" height="314" /></p>
<p><strong>Sources</strong></p>
<ul>
<li>Unemployment rate is from National Statistics <a href="http://www.statistics.gov.uk/statbase/tsdintro.asp">Time Series Data</a>&thinsp;&#8211;&thinsp;<a href="http://www.statistics.gov.uk/statbase/tsdtables1.asp?vlnk=lms">Labour Market Statistics</a>&thinsp;&#8211;&thinsp;<em>MGSX: LFS: Unemployment rate: UK: All: Aged 16 and over: %:&nbsp;SA</em></li>
<li>Real House Price is from <a href="http://www.nationwide.co.uk/hpi/historical.htm">Nationwide&#8217;s UK All Properties series</a>, and is not seasonally&nbsp;adjusted.</li>
</ul>

<p><a href="http://feedads.g.doubleclick.net/~at/OU7mmQVIMINtsT8Wu9XAM5ODgGU/0/da"><img src="http://feedads.g.doubleclick.net/~at/OU7mmQVIMINtsT8Wu9XAM5ODgGU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/OU7mmQVIMINtsT8Wu9XAM5ODgGU/1/da"><img src="http://feedads.g.doubleclick.net/~at/OU7mmQVIMINtsT8Wu9XAM5ODgGU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pyrosoft.co.uk/blog/2009/04/25/unemployment-versus-house-prices-1975-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 1.228 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-07-10 13:41:50 --><!-- Compression = gzip -->
