<?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>Westbright &#187; mattwestbright</title>
	<atom:link href="http://www.westbright.com/blog/author/mattwestbright/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.westbright.com/blog</link>
	<description>A blog about developing software by Matt West.</description>
	<lastBuildDate>Wed, 04 Nov 2009 23:47:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>This blog is moving</title>
		<link>http://www.westbright.com/blog/2009/11/this-blog-is-moving/</link>
		<comments>http://www.westbright.com/blog/2009/11/this-blog-is-moving/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:44:07 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=62</guid>
		<description><![CDATA[I&#8217;m going to move this blog to westbright.wordpress.com so it can be looked after properly.
A few years ago I wrote my own blog system. Doesn&#8217;t every developer? Then I discovered WordPress. So I installed it in my tiny piece of webspace on my shared host, and tinkered with themes.
But because I have tweaked the theme [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to move this blog to <a title="Westbright blog new URL" href="http://westbright.wordpress.com">westbright.wordpress.com</a> so it can be looked after properly.</p>
<p>A few years ago I wrote my own blog system. Doesn&#8217;t every developer? Then I discovered WordPress. So I installed it in my tiny piece of webspace on my shared host, and tinkered with themes.</p>
<p>But because I have tweaked the theme and installation a bit, its not been straightforward to upgrade. So I&#8217;m going to try using a fully-hosted solution &#8211; wordpress.com. And it will give me a chance to try out a different more suitable theme for my forthcoming iPhone app &#8211; Zombies. So ladies and gentlemen, please set your browsers to <a title="Westbright blog new URL" href="http://westbright.wordpress.com">http://westbright.wordpress.com</a> and feedreaders at <a title="Westbright blog new feed URL" href="http://westbright.wordpress.com/feed/">http://westbright.wordpress.com/feed/</a> . Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2009/11/this-blog-is-moving/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screencast of Zombies for iPhone Early Version</title>
		<link>http://www.westbright.com/blog/2009/07/tuaw-zombies-demo/</link>
		<comments>http://www.westbright.com/blog/2009/07/tuaw-zombies-demo/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 20:48:40 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[zombies]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=46</guid>
		<description><![CDATA[
The Unofficial Apple Weblog (TUAW) have kindly posted a demo I gave them of the iPhone game I am working on &#8211; Zombies. It&#8217;s very much a work in progress with some rough edges, but the basic gameplay is there.
This is the first video of me demonstrating Zombies. TUAW have put it on YouTube! It [...]]]></description>
			<content:encoded><![CDATA[<p><img title="Zombies for iPhone" src="http://www.westbright.com/img/zombies-small-aic.png" alt="Zombies for iPhone" width="57" height="57" /></p>
<p><a title="Zombies for iPhone demo" href="http://www.tuaw.com/2009/07/02/wwdc-demo-zombies-a-modern-update-of-daleks-preview/" target="_self">The Unofficial Apple Weblog (TUAW) have kindly posted a demo</a> I gave them of the iPhone game I am working on &#8211; Zombies. It&#8217;s very much a work in progress with some rough edges, but the basic gameplay is there.</p>
<p>This is the first video of me demonstrating Zombies. <a title="Early demo screencast of Zombies for iPhone" href="http://www.youtube.com/watch?v=zHg8Nl9R0iQ" target="_self">TUAW have put it on YouTube</a>! It made me cringe when I watched it. &#8220;Could you sound more unprepared if you wanted to Matt?&#8221; I often self-criticize. You wouldn&#8217;t catch Steve Jobs being unprepared, would you? Still, Victor&#8217;s review is very kind. The demo was recorded while I was in SanFrancisco for WWDC, in a shopping mall just across the road from the conference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2009/07/tuaw-zombies-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Start</title>
		<link>http://www.westbright.com/blog/2009/06/new-start/</link>
		<comments>http://www.westbright.com/blog/2009/06/new-start/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 13:11:00 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[macindie]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=40</guid>
		<description><![CDATA[Today is the first day of my new life. I&#8217;ve gone indie.
At the weekend we cleared the attic of junk and gave it a dust and a fresh lick of paint. The large display is in place. The brand new keyboard and mouse unboxed, waiting for my laptop to show itself.
From today, my duties with [...]]]></description>
			<content:encoded><![CDATA[<p>Today is the first day of my new life. I&#8217;ve gone indie.</p>
<p>At the weekend we cleared the attic of junk and gave it a dust and a fresh lick of paint. The large display is in place. The brand new keyboard and mouse unboxed, waiting for my laptop to show itself.</p>
<p>From today, my duties with be getting the kids ready and shepherding them down to school, then cocoon myself in the loft, just me and Xcode.</p>
<p>I didn&#8217;t really write this post now. I wrote it two weeks ago. Today is the first day of being a microISV. Today is for writing iPhone software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2009/06/new-start/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Objective-C Style Guide</title>
		<link>http://www.westbright.com/blog/2009/02/objective-c-style-guide/</link>
		<comments>http://www.westbright.com/blog/2009/02/objective-c-style-guide/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 11:59:26 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=37</guid>
		<description><![CDATA[Google have written an excellent Objective-C Style Guide. It is very comprehensive. I prefer this over the less prescriptive guide from Apple.
]]></description>
			<content:encoded><![CDATA[<p>Google have written an excellent <a title="Google Objective-C Style Guide" href="http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml">Objective-C Style Guide</a>. It is very comprehensive. I prefer this over the less prescriptive guide from Apple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2009/02/objective-c-style-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NSManchester November Meeting</title>
		<link>http://www.westbright.com/blog/2008/11/nsmanchester-november-meeting/</link>
		<comments>http://www.westbright.com/blog/2008/11/nsmanchester-november-meeting/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 22:41:34 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=14</guid>
		<description><![CDATA[On Wednesday night I attended the NSManchester Cocoa programming meeting organized by Dave Verwer of Shiny Developments. NSManchester is a sort-of Cocoaheads Manchester chapter. I was fortunate enough to meet Dave and Andrew at WWDC earlier this year.
The venue was MDDA in Portland Street (1 minute up from the McDonald&#8217;s on Oxford Road). Its a [...]]]></description>
			<content:encoded><![CDATA[<p>On Wednesday night I attended the <a href="http://www.nsmanchester.com">NSManchester</a> Cocoa programming meeting organized by <a href="http://shinydevelopment.com/about">Dave Verwer of Shiny Developments</a>. NSManchester is a sort-of Cocoaheads Manchester chapter. I was fortunate enough to meet Dave and Andrew at WWDC earlier this year.</p>
<p>The venue was <a href="http://www.manchesterdda.com/">MDDA</a> in Portland Street (1 minute up from the McDonald&#8217;s on Oxford Road). Its a very nice contemporary venue.</p>
<p>Dave gave a good presentation on iPhone development. He presented a simple app show Twitter posts in a UITableView. We also talked about publishing to the AppStore. Unfortunately I haggled/added/cross-examined more than the other attendees (sorry Dave). Most of us went to the pub afterwards. We geeked out, debugged a bit, and I demonstrated my iPhone game Zombies to a few people.</p>
<p>I must admit I don&#8217;t use the fashionable social networking tools on the web much, but I do love meeting people in real life. Its fun to gauge reactions, bounce ideas around, see other sides of the coin.</p>
<p>The plan is to make NSManchester a regular event for the first Thursday each month, so if you&#8217;re in the North of England and interested in iPhone or Mac development please come along. The next one is Thursday 4 December 2008. Have a look at the group&#8217;s <a href="http://groups.google.com/group/nsmanchester/">Google Group</a> and <a href="http://upcoming.yahoo.com/group/4588/">Upcoming</a> pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2008/11/nsmanchester-november-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts on WWDC 2008</title>
		<link>http://www.westbright.com/blog/2008/06/thoughts-on-wwdc-2008/</link>
		<comments>http://www.westbright.com/blog/2008/06/thoughts-on-wwdc-2008/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 10:00:47 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=10</guid>
		<description><![CDATA[	I&apos;ve had a great time at WWDC this year. The sessions and labs were great, but for me the best part of it was meeting plenty of people. Some I had spoken with on the mailing lists, but mostly I spoke to new people I bumped into the keynote queue or at parties. Plenty of [...]]]></description>
			<content:encoded><![CDATA[<p>	I&apos;ve had a great time at <a href="http://developer.apple.com/wwdc/" title="Apple Worldwide Developer Conference">WWDC</a> this year. The sessions and labs were great, but for me the best part of it was meeting plenty of people. Some I had spoken with on the mailing lists, but mostly I spoke to new people I bumped into the keynote queue or at parties. Plenty of events happened in the evenings. I assumed I would be doing some coding, but I would slump gratefully into my bed each night.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2008/06/thoughts-on-wwdc-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing PHP PDO after Mac OS X Update</title>
		<link>http://www.westbright.com/blog/2008/06/fixing-php-pdo-after-mac-os-x-update/</link>
		<comments>http://www.westbright.com/blog/2008/06/fixing-php-pdo-after-mac-os-x-update/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 17:10:52 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=8</guid>
		<description><![CDATA[
	A Mac is set up to do web development out of the box, but I decided to build PHP 5 and MySQL 5 from source for a number of reasons. I prefer to use PHP&#8217;s PDO wrapper in my data access layer, not those database specific mysql_* functions. So I followed the instructions at HiveLogic [...]]]></description>
			<content:encoded><![CDATA[<p>
	A Mac is set up to do web development out of the box, but I decided to build <a href="http://www.php.net/downloads.php">PHP 5</a> and <a href="http://dev.mysql.com/downloads/mysql/5.0.html#downloads">MySQL 5</a> from source for a number of reasons. I prefer to use PHP&#8217;s <a href="http://www.php.net/pdo">PDO</a> wrapper in my data access layer, not those database specific <code>mysql_*</code> functions. So I followed the instructions at <a href="http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx">HiveLogic</a> <a href="http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/">and</a> <a href="http://www.456bereastreet.com/archive/200711/virtual_hosts_php_and_mysql_on_mac_os_x_105_leopard/">others</a>.
</p>
<p>But when I updated my Mac OS X to 10.5.3 I lost the MySQL PDO configuration. This had also happened when I installed previous 10.5 updates. Fortunately I had kept my configuration in a script. So if you too want to re-configure the PHP PDO for MySQL on your Mac, here is what to do.</p>
<p>Open terminal and <code>cd</code> to you php directory. then run <code>configure</code>:</p>
<pre>
	'./configure' \
	'--prefix=/Users/matt/php' '--with-xsl=/usr' \
	'--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' \
	'--with-kerberos=/usr' '--enable-cli' \
	'--with-zlib-dir=/usr' '--enable-trans-sid' \
	'--with-xml' '--enable-exif' '--enable-ftp' \
	'--enable-mbstring' '--enable-mbregex' \
	'--enable-dbx' '--enable-sockets' \
	'--with-iodbc=/usr' '--with-curl=/usr' \
	'--with-config-file-path=/etc' \
	'--sysconfdir=/private/etc' \
	'--with-pdo' \
	'--with-pdo-mysql=/usr/local/mysql/bin/mysql_config' \
	'--with-mysql=/usr/local/mysql' \
	'--with-mysql-sock=/tmp/mysql.sock' \
	'--with-openssl' '--with-xmlrpc' \
	'--without-pear' \
	'--with-soap'
</pre>
<p>	You might want to put that mouthful in a shell script and call it something witty like <code>config-php-pdo.sh</code>. Now run:
</p>
<pre>
	make
</pre>
<p>	then:</p>
<pre>
	sudo make install
</pre>
<p>	Now you should be able to restart apache (from either the command line or from System Preferences &gt; Sharing panel) but that has not worked for me. I had to restart the OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2008/06/fixing-php-pdo-after-mac-os-x-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Recent History</title>
		<link>http://www.westbright.com/blog/2008/05/some-recent-history/</link>
		<comments>http://www.westbright.com/blog/2008/05/some-recent-history/#comments</comments>
		<pubDate>Mon, 26 May 2008 20:55:46 +0000</pubDate>
		<dc:creator>mattwestbright</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.westbright.com/blog/?p=5</guid>
		<description><![CDATA[
Hello. I&#8217;m Matt West. I&#8217;m a programmer living in West Yorkshire in the UK. I am learning how to write applications for the iPhone and iPod Touch, but I want to explain why I want to do that, and how I came to begin that.
An iPod Shuffle
A few years ago I was fortunate enough to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/img/mattwest-w125xh127.jpg" width="125" height="127" alt="Matt West" class="right" /><br />
Hello. I&#8217;m Matt West. I&#8217;m a programmer living in West Yorkshire in the <acronym title="United Kingdom">UK</acronym>. I am learning how to write applications for the iPhone and iPod Touch, but I want to explain why I want to do that, and how I came to begin that.</p>
<h3>An iPod Shuffle</h3>
<p>A few years ago I was fortunate enough to receive a first generation iPod Shuffle as a gift. This was the third MP3 player I had had, but the two earlier ones were awful to use. The Shuffle&#8217;s good physical design, ease-of-use, and reliability first turned me on to Apple products.</p>
<p>Around that same time I came across <a href="http://www.rubyonrails.org" title="Ruby on Rails">Rails</a> and attended RailsConf in London and saw first hand how people with Mac computers were a happy bunch. So I bought a MacBook, and have enjoyed using it since then.</p>
<h3>Cocoa training course</h3>
<p>Spurred on by the inspirational writing of Mac developers such as <a href="http://www.wilshipley.com/blog/" title="Call Me Fishmeal - Wil Shipley's Blog">Wil Shipley</a> and <a href="http://www.red-sweater.com" title="Red Sweater Blog">Daniel Jalkut</a>, I began learning Cocoa but found it quite tough to learn in snatched moments out of life with my wife and our two young children. I would not say Cocoa is hard, it is a graceful framework. But there is a lot to learn when starting out in Mac development. So I took a week off work (unusual for a contractor I know) in November 2007 to attend the brilliant <a href="http://www.plsys.co.uk/cocoa.htm">Cocoa development course run by Paul and Liz Lynch</a> down in beautiful Old Beaconsfield in Buckinghamshire. The course was a week long, and very intense &#8211; there was just me attending. Paul is a good lecturer, and is very knowledgeable and  approachable so makes for a good tutor. I cross-examined him at every stage of the day, every day (the poor man!). Thanks Paul. I recommend this course; I found out about it through seeing the ads on the ADC mailing list.</p>
<h3>Leopard Tech Talk</h3>
<p>
In December I went to the <a href="http://developer.apple.com/events/techtalks/europe.html" title="Apple tour Europe with Leopard Developer Tech Talks">Leopard Tech Talk</a> in Edinburgh, Scotland. It was really nice to meet up with a few people from the very useful and always thought-provoking <a href="http://tech.groups.yahoo.com/group/macsb/">MacSB mailing list / group</a>.</p>
<p>Even though many people are excited about Core Animation, my favourite Leopard feature is the super-fast Spotlight search facility to launch applications, look up words in the dictionary, oh and search for things too. Under Tiger, I used to use LaunchBar and QuickSilver to launch applications using keyboard shortcuts. I have not bothered to install those apps, because I just use Spotlight. It is possible to integrate in to Spotlight by writing an importer for your app. This is called by Spotlight when a user searches for something. Like so much of Mac programming, it nostalgically reminds me of coding for the Palm OS; you would write a routine in your Palm app to respond to a Find launch code.</p>
<h3>iPhone Development</h3>
<p>By the beginning of 2008 I had a small Mac application in development but hadn&#8217;t got as far as I&#8217;d like to with it. Then I was delighted when Apple announced the <acronym title="Software Development Kit">SDK</acronym> for the iPhone and iPod Touch. So I have been busy since then. I must admit its a bit of a struggle because I am still doing Enterprise Java systems for a living during the day.</p>
<p>So I am going to abandon my family once again for a week by going to this year&#8217;s Apple <acronym title="Worldwide Developers Conference">WWDC</acronym>. I am over the moon about it. It will be my first time to California.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westbright.com/blog/2008/05/some-recent-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
