<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Tom Gidden &#187; php-architect</title>
	<atom:link href="http://gidden.net/tom/tag/php-architect/feed/" rel="self" type="application/rss+xml" />
	<link>http://gidden.net/tom</link>
	<description></description>
	<lastBuildDate>Sun, 01 May 2011 10:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Search Engine Article in php&#124;architect Magazine</title>
		<link>http://gidden.net/tom/2006/09/21/search-engine-article-published/</link>
		<comments>http://gidden.net/tom/2006/09/21/search-engine-article-published/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 20:58:25 +0000</pubDate>
		<dc:creator>Tom Gidden</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[indexing]]></category>
		<category><![CDATA[inverted-index]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-architect]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search-engine]]></category>

		<guid isPermaLink="false">http://gidden.net/tom/2006/09/21/search-engine-article-published/</guid>
		<description><![CDATA[I just got the regular monthly email from php&#124;architect Magazine informing me that this month's issue is ready to download, and listing all the wonderful things inside.  Turns out they went ahead and published the article I wrote for them a couple of months ago.

The article was titled "How To Write Your Own Search Engine", although they've retitled it and updated it a bit.  It covers the use of the inverted index technique to write a search tool using MySQL.  I've been doing this kind of technique for a few years now, and I've had to explain it to colleagues so many times, it's nice to finally have an article I can give them instead.
I think it came out well, although I may have spotted a small bug introduced when they tweaked the code I wrote... I'm not sure, as I'm pretty tired and hopped up on morphine, amitriptyline and codeine (all prescribed!) to try to loosen me up after a fairly painful ten-hour trip to London and back for my six-month post-operative appointment with my orthopaedic surgeon.
Anyway, I *think* they've missed out a strtolower() call in Listing 3 around line 17 or 18, thus making searches case-sensitive, even though the indexer downcases everything.  As a result, I'm not sure the search will actually work unless you always type in lowercase.
Well, not to worry... whoever did the code clearup must've had a fairly tedious job of getting rid of some of my code style idiosyncracies in an effort to make it more "standard", so I don't begrudge them the odd bug or two.
It was a bit of a surprise seeing the article, as I hadn't heard back from them since I'd submitted the original draft a while ago.  Other than a few updates to PDO rather than the mysqli based code I submitted, they haven't made many changes, so I guess my draft was okay as it was.]]></description>
		<wfw:commentRss>http://gidden.net/tom/2006/09/21/search-engine-article-published/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

