<?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>OliverBrown.me.uk &#187; Ruby on Rails</title>
	<atom:link href="http://www.oliverbrown.me.uk/category/technology/computers/programming/web-programming/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oliverbrown.me.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 26 Jun 2010 09:39:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nokia 770</title>
		<link>http://www.oliverbrown.me.uk/2006/11/12/nokia-770/</link>
		<comments>http://www.oliverbrown.me.uk/2006/11/12/nokia-770/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 21:45:55 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[770]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[PDAs]]></category>
		<category><![CDATA[UMPC]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/11/11/nokia-770/</guid>
		<description><![CDATA[ My recently ordered Nokia 770 has arrived :o) For those that don&#8217;t know, it isn&#8217;t a phone &#8211; Nokia market it as an &#8220;Internet Tablet&#8221;. Basically it&#8217;s a PDA running Linux with WLAN, Bluetooth and an 800&#215;480 touchscreen display. There&#8217;s too much about it that&#8217;s cool for me to go into right now, so [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mobilewhack.com/images/03_770_internet_tablet_lowres.jpg"><img style="float: right; margin-left: 10px" src="http://www.mobilewhack.com/images/03_770_internet_tablet_lowres.jpg" alt="" width="200" /></a> My recently ordered Nokia 770 has arrived :o) For those that don&#8217;t know, it isn&#8217;t a phone &#8211; Nokia market it as an &#8220;Internet Tablet&#8221;. Basically it&#8217;s a PDA running Linux with WLAN, Bluetooth and an 800&#215;480 touchscreen display. There&#8217;s too much about it that&#8217;s cool for me to go into right now, so I&#8217;ll leave you with the picture :)</p>
<p>Apparently the term &#8220;UMPC&#8221; is being used by a few people to describe the 770 (and similar devices) &#8211; &#8220;Ultra Mobile PC&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/11/12/nokia-770/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zend Framework</title>
		<link>http://www.oliverbrown.me.uk/2006/07/18/zend-framework/</link>
		<comments>http://www.oliverbrown.me.uk/2006/07/18/zend-framework/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 09:52:12 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/07/18/zend-framework/</guid>
		<description><![CDATA[Zend, the commercial endeavour of the people who brought you PHP have a produced a framework, cleverly called the &#8220;Zend Framework&#8221;. It&#8217;s basically a lightweight MVC framework for PHP. Lightweight in this case is good. It doesn&#8217;t do as much as Rails does for Ruby (although it is significantly younger) &#8211; the most notable hole [...]]]></description>
			<content:encoded><![CDATA[<p>Zend, the commercial endeavour of the people who brought you PHP have a produced a framework, cleverly called the &#8220;Zend Framework&#8221;. It&#8217;s basically a lightweight MVC framework for PHP. Lightweight in this case is good. It doesn&#8217;t do as much as Rails does for Ruby (although it is significantly younger) &#8211; the most notable hole is a object-relational-mapping system. But it does provide URL rewriting for Rails-esque view/controller access.</p>
<p>I started writing my <a href="http://www.oliverbrown.me.uk/2006/07/17/back-to-language-learning/">clever language thingy</a> in it.</p>
<p>The biggest problem I had was getting it to work with IIS. Which I couldn&#8217;t. I decided since I had IIS installed I&#8217;d give it a go. Unfortunately you require mod_rewrite which IIS doesn&#8217;t have. So I installed ISAPI_rewrite, a version for IIS. After an hour of trying to get it to work I went and downloaded Apache 2.2. Which was my second mistake You see it seems PHP doesn&#8217;t work with Apache 2.2. Not sure why but I found a vague mention of it on a forum after trying for another hour to get it to work. So I got Apache 2.0 and everything worked.</p>
<p>Of course there are reasons not to use PHP 5 with Apache 2, but meh.</p>
<p>There is one little problem with the Zend Framework, I think. It seems to be printing a space somewhere before any other output. It wouldn&#8217;t be a problem except I need it to output XML and a space at the beginning makes Firefox (and probably Internet Explorer) explode.</p>
<p><tags>Apache, IIS, Zend, Zend Framework, MVC</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/07/18/zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BackBase really pushing AJAX</title>
		<link>http://www.oliverbrown.me.uk/2006/05/05/backbase-really-pushing-ajax/</link>
		<comments>http://www.oliverbrown.me.uk/2006/05/05/backbase-really-pushing-ajax/#comments</comments>
		<pubDate>Fri, 05 May 2006 11:59:55 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/05/05/backbase-really-pushing-ajax-2/</guid>
		<description><![CDATA[BackBase is another AJAX toolkit. This one is different though. It&#8217;s not really an AJAX toolkit, more a toolkit powered by JavaScript taking advantage of AJAX. The clue is the price. Yes it has a price &#8211; $2000 to be exact. There is a &#8220;community edition&#8221; that is free for personal use though.
Anyway, I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><tag>BackBase</tag> is another <tag>AJAX</tag> toolkit. This one is different though. It&#8217;s not really an AJAX toolkit, more a toolkit powered by <tag>JavaScript</tag> taking advantage of AJAX. The clue is the price. Yes it has a price &#8211; $2000 to be exact. There is a &#8220;community edition&#8221; that is free for personal use though.</p>
<p>Anyway, I don&#8217;t have time to run down all the features but basically it defines a whole new bunch of tags allowing you to create complicated content in a declarative HTML style way. These tags are then translated into proper <tag>XHTML</tag> on the fly by the back end JavaScript engine. Since the clever work is actually handled by the browser, you&#8217;re free to use whatever you like on the server (PHP, <tag>Ruby</tag>) including static HTML pages &#8211; outputting <tag>BXML</tag> is no different to outputting <tag>HTML</tag>.</p>
<p>In fact BXML has a very <tag>ASP.NET</tag> feel to it and embedding BXML into an XHTML page along with ASP content could have the ultimate cleanness about it (syntax isn&#8217;t one of my <a href="http://www.oliverbrown.me.uk/2006/04/27/aspnet-sucks/">complaints about ASP.NET</a>). It should be noted that Microsoft are working on <tag>Atlas</tag> which could be something very similar but I haven&#8217;t looked into it&#8230;</p>
<p>It all seems very clever.</p>
<p><a href="http://www.backbase.com/">BackBase</a><br />
<a href="http://www.backbase.com/demos/explorer/">BackBase Demos</a><br />
<a href="http://atlas.asp.net/">ASP.NET Atlas</a></p>
<p><tags>ASP</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/05/05/backbase-really-pushing-ajax/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AJAXy Scriptaculous goodness</title>
		<link>http://www.oliverbrown.me.uk/2006/01/27/ajaxy-scriptaculous-goodness/</link>
		<comments>http://www.oliverbrown.me.uk/2006/01/27/ajaxy-scriptaculous-goodness/#comments</comments>
		<pubDate>Fri, 27 Jan 2006 15:44:08 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Galaxia]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MPOGs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/01/26/ajaxy-scriptaculous-goodness/</guid>
		<description><![CDATA[Scriptaculous is a Javascript library used for doing AJAX stuff and certain visual effects. It&#8217;s very well written, has excellent cross browser support and best of all there are cool functions in Ruby on Rails for using it.
One of the coolest features is drag and drop. I&#8217;ve already implemented it in Galaxia Ruby for adding [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://script.aculo.us/">Scriptaculous</a> is a Javascript library used for doing AJAX stuff and certain visual effects. It&#8217;s very well written, has excellent cross browser support and best of all there are cool functions in Ruby on Rails for using it.</p>
<p>One of the coolest features is drag and drop. I&#8217;ve already implemented it in Galaxia Ruby for adding ships to fleets :)</p>
<p><tags>AJAX, Javascript, Scriptaculous, Ruby, Rails</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/01/27/ajaxy-scriptaculous-goodness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tree structures in Ruby on Rails</title>
		<link>http://www.oliverbrown.me.uk/2006/01/24/tree-structures-in-ruby-on-rails/</link>
		<comments>http://www.oliverbrown.me.uk/2006/01/24/tree-structures-in-ruby-on-rails/#comments</comments>
		<pubDate>Tue, 24 Jan 2006 14:32:34 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Galaxia]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[MPOGs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/01/24/tree-structures-in-ruby-on-rails/</guid>
		<description><![CDATA[This is becoming a trend &#8211; another built-in feature of Rails that will seriously help Galaxia development.
You can use acts_as_tree in a model to make it, well, act as a tree. What this means is you add an extra field to the database called parent_id that tracks object&#8217;s parents. Rails automatically manages this for you [...]]]></description>
			<content:encoded><![CDATA[<p>This is becoming a trend &#8211; another built-in feature of <tag>Rails</tag> that will seriously help Galaxia development.</p>
<p>You can use <tag>acts_as_tree</tag> in a model to make it, well, act as a tree. What this means is you add an extra field to the database called parent_id that tracks object&#8217;s parents. Rails automatically manages this for you and adds extra methods for dealing with trees (things for accessing parent, ancestors, children etc.). Just like the post on type, this is something I was already doing with Galaxia but managing myself.</p>
<p><tags>OOP</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/01/24/tree-structures-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using &#8220;type&#8221; in Ruby on Rails</title>
		<link>http://www.oliverbrown.me.uk/2006/01/22/using-type-in-ruby-on-rails/</link>
		<comments>http://www.oliverbrown.me.uk/2006/01/22/using-type-in-ruby-on-rails/#comments</comments>
		<pubDate>Sun, 22 Jan 2006 16:13:11 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Galaxia]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[MPOGs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/01/22/using-type-in-ruby-on-rails/</guid>
		<description><![CDATA[By default Rails applies special meaning to certain fields in a database table. One of these fields is &#8220;type&#8221;. The type fields is used by Rails to create a &#8220;single table inheritance model&#8221;. This sounds fairly complicated and is best explained with an example:
Imagine a forum system. A forum will have threads and replies. Threads [...]]]></description>
			<content:encoded><![CDATA[<p>By default Rails applies special meaning to certain fields in a database table. One of these fields is &#8220;type&#8221;. The type fields is used by Rails to create a &#8220;single table inheritance model&#8221;. This sounds fairly complicated and is best explained with an example:</p>
<p>Imagine a forum system. A forum will have threads and replies. Threads and replies are different and have different functionality, but certainly share a lot of characteristics. So you might create a class message with two sub classes: replies and threads.</p>
<p>In Rails you can store all these in one messages table with a type field set to either reply&#8221; or thread. When you load a message it will actually create either a reply or thread object (in stead of a message object). When you create a new object it stores it in the messages table with the correct type.</p>
<p>This is ideal for Galaxia. In fact it&#8217;s the model I used all along &#8211; I just had to write the functionality myself.</p>
<p><tags>Single Table Inheritance, OOP, MVC, Ruby, Rails</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/01/22/using-type-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Galaxia Ruby</title>
		<link>http://www.oliverbrown.me.uk/2006/01/14/galaxia-ruby/</link>
		<comments>http://www.oliverbrown.me.uk/2006/01/14/galaxia-ruby/#comments</comments>
		<pubDate>Sat, 14 Jan 2006 18:12:50 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Galaxia]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[MPOGs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/01/14/galaxia-ruby/</guid>
		<description><![CDATA[Okay, Galaxia on Rails would my be a more apt name for a version of Galaxia in Ruby on Rails. But Galaxia Ruby sounds better to non-programmers.
This follows the tradition I&#8217;ve been recently following of learning new languages by writing bits of Galaxia in them. There is a real possibility I might get a version [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, Galaxia on Rails would my be a more apt name for a version of Galaxia in Ruby on Rails. But Galaxia Ruby sounds better to non-programmers.</p>
<p>This follows the tradition I&#8217;ve been recently following of learning new languages by writing bits of Galaxia in them. There is a real possibility I might get a version out this time :P</p>
<p>This version may even have AJAXy goodness and things. But don&#8217;t hold your breath&#8230;</p>
<p><tags>Galaxia, Galaxia Ruby, Ruby, Rails, Ruby on Rails, AJAX</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/01/14/galaxia-ruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails may rock</title>
		<link>http://www.oliverbrown.me.uk/2006/01/12/ruby-on-rails-may-rock/</link>
		<comments>http://www.oliverbrown.me.uk/2006/01/12/ruby-on-rails-may-rock/#comments</comments>
		<pubDate>Thu, 12 Jan 2006 19:49:05 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.oliverbrown.me.uk/2006/01/12/ruby-on-rails-may-rock/</guid>
		<description><![CDATA[I&#8217;ve been vaguely aware of Ruby for a while but never really gave it more than a cursory glance. If you didn&#8217;t know Ruby is a lanuage that has been around for a while that got far more interesting when Rails, a famework for it was released.
After reading around I don&#8217;t think I&#8217;m really a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been vaguely aware of Ruby for a while but never really gave it more than a cursory glance. If you didn&#8217;t know Ruby is a lanuage that has been around for a while that got far more interesting when Rails, a famework for it was released.</p>
<p>After reading around I don&#8217;t think I&#8217;m really a fan of Ruby syntax per se (I&#8217;m definitely a fan of the punctuation heavy C-style syntax as opposed to the keyword heavy Basic-style syntax) but Rails seems to be an amazing framework.</p>
<p>Since I might be starting a job soon (and if not soon at least eventually) that will focus on PHP, starting to learn somethingnew might not be ideal. But if it really as good as it&#8217;s fans say then things might be fine.</p>
<p>I suggest anyone involved in web development who hasn&#8217;t checked it out yet do so. There is a good introductory article on <a href="http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html">ONLamp.com</a>.</p>
<p><tags>Ruby, Rails, Ruby on Rails, web development, PHP</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oliverbrown.me.uk/2006/01/12/ruby-on-rails-may-rock/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
