<?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>Marc Gear &#187; Ruby on Rails</title>
	<atom:link href="http://onekay.com/blog/archives/category/ruby-on-rails/feed" rel="self" type="application/rss+xml" />
	<link>http://onekay.com/blog</link>
	<description>encouraging maintainable and sensible PHP, and occassionally stuff about me.</description>
	<lastBuildDate>Wed, 04 Mar 2009 17:29:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Is PHP a solid job prospect?</title>
		<link>http://onekay.com/blog/archives/21</link>
		<comments>http://onekay.com/blog/archives/21#comments</comments>
		<pubDate>Mon, 21 May 2007 21:42:30 +0000</pubDate>
		<dc:creator>Marc Gear</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.onekay.com/blog/archives/21</guid>
		<description><![CDATA[I have a lot of debates about this with people.  One of the most common reasons given for why PHP is so popular is because you can&#8217;t swing a cat without hitting a PHP developer.  I say thats crap, and that you can swing a whole lot of cats before you hit a [...]]]></description>
			<content:encoded><![CDATA[<p>I have a lot of debates about this with people.  One of the most common reasons given for why PHP is so popular is because you can&#8217;t swing a cat without hitting a PHP developer.  I say thats crap, and that you can swing a whole lot of cats before you hit a halfway decent PHP developer.  Good developers who know and want to work in PHP are hard to come by.  Consider that perhaps PHP is so popular because it does some jobs really well.<br />
<a href="http://terrychay.com/blog/">Terry Chay</a> recently made an extremly funny and quite insightful <a href="http://terrychay.com/blog/article/is-ruby-the-dog-and-php-the-dogfood.shtml">post about Ruby (on Rails)</a> in which he mentions:</p>
<blockquote><p>&#8220;look at the top 100 websites on the internet: about 40% of them are written in PHP and 0% of them are written in Rails.&#8221;</p></blockquote>
<p>Which is pretty interesting.  To me, it says that PHP is a pretty good scripting language to be getting stuck into, that its something that you should be using if you want to develop web applications that are used by hundreds of thousands of users across the world.</p>
<p>I&#8217;ve met developers who consider PHP to be second-rate and who are &#8216;embarassed&#8217; to admit competance in it on thier CV.  Developers who just plain dont want to do PHP because it would &#8216;damage&#8217; their career prospects to have used such a poor quality language for too long.  I say this is crazy-talk and that the sort of numbers that Terry mentions (which I appreciate may not be accurate to three decimal places) just shows that PHP is a language that is being used in environments that other more traditional OO scripting languages are too delicate for.  I wonder what sort of percentage of the top 1000 traffiked sites use PHP, or the top 100,000?</p>
<p>To me, PHP seems like its a stronger career prospect than ever.</p>
]]></content:encoded>
			<wfw:commentRss>http://onekay.com/blog/archives/21/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Under 500 lines!!!!!!1111one</title>
		<link>http://onekay.com/blog/archives/11</link>
		<comments>http://onekay.com/blog/archives/11#comments</comments>
		<pubDate>Fri, 01 Sep 2006 14:03:11 +0000</pubDate>
		<dc:creator>Marc Gear</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.onekay.com/blog/archives/11</guid>
		<description><![CDATA[Saw this article about a forum in Rails.  It all looks very pretty and everything.
The thing that caught my eye is the text &#8216;under 500 lines of code&#8217;, I brought the domain onekay.com with the original intention of writing publicly availiable code that did cool stuff, in under 1000 lines (onekay, 1K, geddit?).  [...]]]></description>
			<content:encoded><![CDATA[<p>Saw this <a href="http://www.rubyinside.com/beast-an-open-source-rails-forum-in-500-lines-of-code-191.html">article</a> about a forum in Rails.  It all looks very pretty and everything.</p>
<p>The thing that caught my eye is the text &#8216;under 500 lines of code&#8217;, I brought the domain onekay.com with the original intention of writing publicly availiable code that did cool stuff, in under 1000 lines (onekay, 1K, geddit?).  I changed my mind because of the following reasons:</p>
<ul>
<li><strong>Obscure code</strong><br />
In order to get down to the required number of code, clarity can get thrown out of the window &#8211; nicely written commented blocks of code become horrendous one liners that cryptographers would have trouble deciphering.</li>
<li><strong>Included librarys<br />
</strong>It doesn&#8217;t mean a thing if your script only has 500 lines, if it needs another 500k lines of code in its required class librarys/framework/whatever in order to execute.</li>
<li><strong>Arbitary restriction<br />
</strong>Unless you&#8217;re intending to have your piece of software run on a coffee maker or a C64, the number of lines of code your software has, just doesn&#8217;t matter.  It doesn&#8217;t make it any more portable, scalable, or useful.</li>
<li><strong>Feature loss</strong><br />
You&#8217;re not writing the best software you can when you attempt to write code with unnecessary restrictions in place &#8211; what features are you not implementing? What features are you implementing incompletly?</li>
</ul>
<p>While I am sure that <a href="http://beast.caboo.se/">Beast</a> is clever, well written software, and not all of the above apply here but &#8216;Under 500 lines of code&#8217; is a gimmicky marketing ploy that seems to work every time.</p>
]]></content:encoded>
			<wfw:commentRss>http://onekay.com/blog/archives/11/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

