<?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>John Leach's Blog &#187; drb</title>
	<atom:link href="http://johnleach.co.uk/words/archives/tag/drb/feed" rel="self" type="application/rss+xml" />
	<link>http://johnleach.co.uk/words</link>
	<description>Stuff I think, see and do</description>
	<lastBuildDate>Fri, 18 Jun 2010 22:57:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Active Resource not in Rails 1.2!</title>
		<link>http://johnleach.co.uk/words/archives/2007/02/05/252/active-resource-not-in-rails-12</link>
		<comments>http://johnleach.co.uk/words/archives/2007/02/05/252/active-resource-not-in-rails-12#comments</comments>
		<pubDate>Mon, 05 Feb 2007 12:31:26 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[active resource]]></category>
		<category><![CDATA[activeresource]]></category>
		<category><![CDATA[distributed ruby]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[ferret]]></category>
		<category><![CDATA[news sniffer]]></category>
		<category><![CDATA[newssniffer]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://johnleach.co.uk/words/archives/2007/02/05/252/</guid>
		<description><![CDATA[Whilst planning some changes to my News Sniffer project, I thought I&#8217;d have a play with Active Resource. Currently, all the forum and news article downloading and scraping happens on a different machine to the web server. It has a VPN connection to the database and memcache servers, but I&#8217;d like to integrate the Ferret [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst planning some changes to my <a href="http://newssniffer.newworldodour.co.uk" title="News Sniffer" target="_blank">News Sniffer project</a>, I thought I&#8217;d have a play with Active Resource.</p>
<p>Currently, all the forum and news article downloading and scraping happens on a different machine to the web server.  It has a VPN connection to the database and memcache servers, but I&#8217;d like to integrate the <a href="http://http://ferret.davebalmain.com/trac/" target="_blank">Ferret</a> text indexing system for better searching capabilities.  To centralise Ferret, I have a three options:</p>
<ol>
<li>regularly reindex new content from the database on the web server;</li>
<li><a href="http://chadfowler.com/ruby/drb.html" title="Distributed Ruby" target="_blank">DRb</a> a Ferret Object;</li>
<li>or use ActiveResource to access the models via the web service.</li>
</ol>
<p>DRb-ing a Ferret Object would be quite elegant, but using ActiveResource would also replace the need for a database and memcache connection (and I could do much better fragment caching actually).</p>
<p>Anyway, I searched high and low for some docs &#8211; lots of blog entries about how great it is, but no real api docs.  When I searched through the Rails code and found nothing either, I got suspicious.  Finally I found a couple of blog entries stating that <strong>ActiveResource was dropped from Rails 1.2</strong>.  It seems to be planned for Rails 2.0.  Not sure how I missed this.  I guess my search-foo is lacking.</p>
<p>I&#8217;ll be investigating other options.  I&#8217;d much prefer not to build a SOAP or XMLRPC interface. Ugh.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnleach.co.uk/words/archives/2007/02/05/252/active-resource-not-in-rails-12/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
