<?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>Random Ramblings &#187; Vanguard: SoH</title>
	<atom:link href="http://www.codedivision.com/modules/wordpress/category/game-specific/vanguard-soh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedivision.com/modules/wordpress</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jan 2009 13:23:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>House of Kenja &#8211; Vanguard:SoH Site</title>
		<link>http://www.codedivision.com/modules/wordpress/2007/03/13/house-of-kenja-vanguardsoh-site/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2007/03/13/house-of-kenja-vanguardsoh-site/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 11:21:43 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Vanguard: SoH]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2007/03/13/house-of-kenja-vanguardsoh-site/</guid>
		<description><![CDATA[Over the last month or so I have been busy in a new game. And as usual I have found it to be a good excuse to try out some new things. Specifically I felt I needed a place to store some information and I couldn&#8217;t find a good desktop tool for it. So instead [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last month or so I have been busy in a new game. And as usual I have found it to be a good excuse to try out some new things. Specifically I felt I needed a place to store some information and I couldn&#8217;t find a good desktop tool for it. So instead I decided to make a site for it.</p>
<p>Of course to be useful for quick data entry I needed to add a bunch of AJAXy stuff. Having already had experience with the Dojo toolkit it would have been the easy way to go. But then I needed some backend to power it too. PHP would have been an obvious choice since it is so easy to host. But data persistence is so annoying to setup. Instead I found out that Dreamhost (where I have an account) also supports Ruby on Rails.</p>
<p>Having made my salary on Java development these last years I have, of course, heard a lot of hype about the framework. So i figured it would be a good time as any to give it a spin and see what makes it so great.</p>
<p>Getting off the ground is super easy it seems. Rails is based on conventions and code generators. So getting a quick CRUD site together is as easy as running a script, configure data access and generate some boilerplate code for the tables you want to access. And you are off.</p>
<p>But that is where the chain breaks a little. One of the comments I have seen about Rails is that compared to Java persistence frameworks like Hibernate (that I learned entirely from the manual on their website) documentation is much better for Rails. And you wouldn&#8217;t need to buy books. Strange tho since the most prominent links on their documentation page is two books and their &#8216;manual&#8217; is a couple of descriptions of add ons to the framework and not the framework basics itself. So basically you are left with a conventions-based framework that only has documentation the the actual API. Yay!</p>
<p>But Google (or any search engine really) is your friend here. Good queries and  some patience sifting though mailing lists and blogs will eventually answer most questions.</p>
<p>The actual framework is nice enough once you get to know it. I don&#8217;t really like the syntax of Ruby very much. After years of C-based languages I miss the easily read block markers that curly braces make. Having an &#8216;end&#8217; keyword blends into the code too easily even in well-formatted text IMO.</p>
<p>As for the actual site it will flow with my motivation to play the game. And Vanguard is somewhat down that scale right now. I got a basic site up with room for most of the diplomacy essentials. Cards and NPC decks. I also added the option for registered users to build their own deck but it does not do much other than just your cards.</p>
<p>I&#8217;ve gotten a lot of work to add quests to the site also. Mostly with the main focus still being on diplomacy. I&#8217;ll likely finish it up sometime soon if I get a spare moment. Apart from that my work on the site is a little dubious. But then as long as I am the only real user it does not matter too much I suppose.</p>
<p>It&#8217;s been placed on my &#8216;House of Kenja&#8217; domain like the Dark and Light map since it is where I do my &#8216;gaming stuff&#8217;.<br />
The site can be found here: <a target="_blank" href="http://vanguard.houseofkenja.com">House of Kenja &#8211; Vanguard site.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2007/03/13/house-of-kenja-vanguardsoh-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
