<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<title>1 reason I chose PHP over Ruby</title>

<link rel="stylesheet" href="http://mediumexposure.com/wp-content/themes/hybrid-original/style.css" type="text/css" media="screen" />

<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
<meta name="generator" content="WordPress 2.9.1" />
<meta name="template" content="Hybrid 0.7" />
<meta name="robots" content="index,follow" />
<meta name="author" content="hakunin" />
<meta name="copyright" content="Copyright (c) September 2007" />
<meta name="revised" content="Saturday, March 28th, 2009, 4:16 am" />
<meta name="keywords" content="concepts" />
<link rel="pingback" href="http://mediumexposure.com/xmlrpc.php" />
<link rel="alternate" type="application/rss+xml" title="Medium eXposure &raquo; 1 reason I chose PHP over Ruby Comments Feed" href="http://mediumexposure.com/1-reason-i-chose-php-over-ruby/feed/" />
<link rel='stylesheet' id='codecolorer-css'  href='http://mediumexposure.com/wp-content/plugins/codecolorer/codecolorer.css?ver=0.9.7' type='text/css' media='screen' />
<script type='text/javascript' src='http://mediumexposure.com/wp-includes/js/comment-reply.js?ver=20090102'></script>
<script type='text/javascript' src='http://mediumexposure.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://mediumexposure.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://mediumexposure.com/wp-includes/wlwmanifest.xml" /> 
<link rel='index' title='Medium eXposure' href='http://mediumexposure.com' />
<link rel='start' title='Server-Side Transfer in PHP' href='http://mediumexposure.com/server-side-transfer-php/' />
<link rel='prev' title='Making Efficient Tag Clouds With Drupal&#8217;s Taxonomy' href='http://mediumexposure.com/making-efficient-tag-clouds-drupals-taxonomy/' />
<link rel='next' title='Completing Client Project Fast With Drupal &#8211; Step By Step. Part 1.' href='http://mediumexposure.com/completing-client-project-fast-drupal-step-step-part-1/' />
<link rel='canonical' href='http://mediumexposure.com/1-reason-i-chose-php-over-ruby/' />

</head>

<body class="wordpress ltr en_US y2010 m01 d19 h22 tuesday not-logged-in singular singular-post singular-post-11 single-11 primary-inactive secondary-inactive subsidiary-active">


<div id="body-container">

	
	<div id="header-container">

		<div id="header">

			<div id="site-title"><a href="http://mediumexposure.com" title="Medium eXposure" rel="home"><span>Medium eXposure</span></a></div>
			<div id="site-description"><span>by Maxim Chernyak</span></div>

		</div><!-- #header -->

	</div><!-- #header-container -->

	<div id="navigation">
			<div id="page-nav" class="page-nav"><ul class="menu sf-menu"><li ><a href="http://mediumexposure.com" title="Home">Home</a></li><li class="page_item page-item-55"><a href="http://mediumexposure.com/friend-me-tutorial-piano/" title="&#8220;Friend Like Me&#8221; Tutorial on Piano">&#8220;Friend Like Me&#8221; Tutorial on Piano</a></li></ul></div>
	</div><!-- #navigation -->

	<div id="container">

		
		<div id="content"><!-- Deprecated. Use the .content or .hfeed class for styling instead of #content. -->
	<div class="hfeed content">

		<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"> <span class="breadcrumb-title">Browse:</span> <a href="http://mediumexposure.com" title="Medium eXposure" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <a href="http://mediumexposure.com/category/concepts/" rel="tag">concepts</a> <span class="sep">/</span> 1 reason I chose PHP over Ruby</div></div>
		
			<div id="post-11" class="hentry post post-1 odd author-admin category-concepts">

				<h1 class="post-title single-title entry-title"><a href="http://mediumexposure.com/1-reason-i-chose-php-over-ruby/" title="1 reason I chose PHP over Ruby" rel="bookmark">1 reason I chose PHP over Ruby</a></h1><p class="byline"><span class="byline-prep byline-prep-author">By</span> <span class="author vcard"><a class="url fn n" href="http://mediumexposure.com/author/admin/" title="hakunin">hakunin</a></span> <span class="byline-prep byline-prep-published">on</span> <abbr class="published" title="Thursday, September 27th, 2007, 12:37 pm">September 27, 2007</abbr></p>
				<div class="entry-content">
					<p>There have been many debates on the subject, and many lists compiled. I personally think that PHP works better for me.  In order to prove my point I decided to compile my own list of reasons as to why I made that choice.</p>

<h2>1. I like the syntax better.</h2>
									</div><!-- .entry-content -->

				<p class="entry-meta post-meta-data"><span class="category categories"><span class="meta-prep meta-prep-categories">Posted in</span> <a href="http://mediumexposure.com/category/concepts/" rel="tag">concepts</a></span></p>
			</div><!-- .hentry -->

			
			
<div id="comments-template">

	
		<div id="comments">

			<h3 id="comments-number" class="comments-header">2 responses to &#8220;1 reason I chose PHP over Ruby&#8221;</h3>

			
			<ol class="comment-list">
				
	<li id="comment-18" class="comment even thread-even depth-1 comment reader">

		<a href="http://gesf.org" rel="external nofollow" title="gesf"><img alt='gesf' src='http://www.gravatar.com/avatar/4d37f33d1e62fb7843cb49e7d123b93b?s=80&amp;d=&amp;r=PG' class='avatar avatar-80 photo' height='80' width='80' /></a><div class="comment-meta comment-meta-data"><div class="comment-author vcard"><cite class="fn" title="http://gesf.org"><a href="http://gesf.org" title="gesf" class="url" rel="external nofollow">gesf</a></cite></div><!-- .comment-author .vcard --> <span class="published"><abbr class="comment-date" title="Thursday, June 5th, 2008, 11:05 pm">June 5, 2008</abbr> at <abbr class="comment-time" title="Thursday, June 5th, 2008, 11:05 pm">23:05</abbr></span> | <a class="permalink" href="http://mediumexposure.com/1-reason-i-chose-php-over-ruby/comment-page-1/#comment-18" title="Permalink to comment ">Permalink</a>  | <a rel='nofollow' class='comment-reply-link' href='/1-reason-i-chose-php-over-ruby/?replytocom=18#respond' onclick='return addComment.moveForm("comment-18", "18", "respond", "11")'>Reply</a></div>
		<div class="comment-text">
			
			<p>Ruby is, no doubt, an interesting coding language. 
Maybe because we can do things fast with just a few code lines, but of course&#8230; following same already made script!
&#8230; &#8216;Cause when it comes to knowing the syntax&#8230; damn&#8230; it&#8217;s really a pain in the ass :)</p>		</div><!-- .comment-text -->

		
	<ol class='children'>

	<li id="comment-157" class="comment odd alt depth-2 comment reader">

		<img alt='Stranger' src='http://www.gravatar.com/avatar/85e4239ff9662bf8296083d98da17677?s=80&amp;d=&amp;r=PG' class='avatar avatar-80 photo' height='80' width='80' /><div class="comment-meta comment-meta-data"><div class="comment-author vcard"><cite class="fn">Stranger</cite></div><!-- .comment-author .vcard --> <span class="published"><abbr class="comment-date" title="Thursday, August 7th, 2008, 1:08 am">August 7, 2008</abbr> at <abbr class="comment-time" title="Thursday, August 7th, 2008, 1:08 am">01:08</abbr></span> | <a class="permalink" href="http://mediumexposure.com/1-reason-i-chose-php-over-ruby/comment-page-1/#comment-157" title="Permalink to comment ">Permalink</a>  | <a rel='nofollow' class='comment-reply-link' href='/1-reason-i-chose-php-over-ruby/?replytocom=157#respond' onclick='return addComment.moveForm("comment-157", "157", "respond", "11")'>Reply</a></div>
		<div class="comment-text">
			
			<p>-1 troll</p>		</div><!-- .comment-text -->

		
	</li><!-- .comment --></ol>
</li><!-- .comment -->			</ol><!-- .comment-list -->

			
							<div class="comment-navigation paged-navigation">
									</div><!-- .comment-navigation -->
			
		</div><!-- #comments -->

	
	
	<div id="respond">

		<h3 id="reply" class="comments-header">
			Leave a Reply		</h3>

		<p id="cancel-comment-reply">
			<a rel="nofollow" id="cancel-comment-reply-link" href="/1-reason-i-chose-php-over-ruby/#respond" style="display:none;">Click here to cancel reply.</a>		</p><!-- #cancel-comment-reply -->

	
		
		<form action="http://mediumexposure.com/wp-comments-post.php" method="post" id="commentform">

			
				
				<p class="form-author">
					<label for="author">Name </label>
					<input type="text" class="text-input" name="author" id="author" value="" size="40" tabindex="1" />
				</p><!-- .form-author -->

				<p class="form-email">
					<label for="email">Email  </label>
					<input type="text" class="text-input" name="email" id="email" value="" size="40" tabindex="2" />
				</p><!-- .form-email -->

				<p class="form-url">
					<label for="url">Website</label>
					<input type="text" class="text-input" name="url" id="url" value="" size="40" tabindex="3" />
				</p><!-- .form-url -->

			
			<p class="form-textarea">
				<label for="comment">Comment</label>
				<textarea name="comment" id="comment" cols="60" rows="10" tabindex="4"></textarea>
			</p><!-- .form-textarea -->

			<p class="form-submit">
				<input class="submit-comment button" name="submit" type="submit" id="submit" tabindex="5" value="Submit" />
				<input class="reset-comment button" name="reset" type="reset" id="reset" tabindex="6" value="Reset" />
				<input type='hidden' name='comment_post_ID' value='11' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
			</p><!-- .form-submit -->

			<div class="comment-action">
							</div><!-- .comment-action -->

		</form><!-- #commentform -->

		
	
	</div><!-- #respond -->


</div><!-- #comments-template -->
			
		
		
	
		<div class="navigation-links">
			<span class="previous"><a href="http://mediumexposure.com/making-efficient-tag-clouds-drupals-taxonomy/" rel="prev">&laquo; Previous</a></span>			<span class="next"><a href="http://mediumexposure.com/completing-client-project-fast-drupal-step-step-part-1/" rel="next">Next &raquo;</a></span>		</div><!-- .navigation-links -->

	
	</div><!-- .content .hfeed -->

		</div><!-- Deprecated. Use the .content or .hfeed class for styling instead of #content. -->
		
	</div><!-- #container -->

	<div id="footer-container">

		
	<div id="subsidiary" class="sidebar aside">

		
		<div id="text-3" class="widget widget_text widget-widget_text"><div class="widget-inside"><h3 class="widget-title">Author</h3>			<div class="textwidget"><img src="wp-content/uploads/2010/01/avatar10-09-mediumexposure.jpg" alt="Maxim Chernyak Avatar">

<p>I'm Maxim Chernyak aka <a href="http://twitter.com/hakunin">@hakunin</a>. Most of my work revolves around Ruby code (usually on Rails). Throughout my past experience I've written decent amounts of PHP (on Drupal, ZF), and some Python.  <a href="http://nataliecreations.tumblr.com">Natalie</a> is my wife and I love her.</p>

<h3 class="widget-title">Networks</h3>
<p>I have accounts on <a href="http://linkedin.com/in/mchernyak">Linked In</a>, <a href="http://github.com/maxim">Github</a>, <a href="http://twitter.com/hakunin">Twitter</a>, and <a href="http://facebook.com/chernyak">Facebook</a>. Feel free to browse my <a href="http://attic.mediumexposure.com/data/resume.pdf">resume</a>.</p>

<h3 class="widget-title">Projects</h3>
<ul>
<li><a href="http://gemcutter.org/gems/has_price">has_price</a></li>
<li><a href="http://github.com/maxim/sexy_pg_constraints">sexy_pg_constraints</a></li>
<li><a href="http://github.com/maxim/shmacros">Shmacros</a></li>
<li><a href="http://scripteka.com">Scripteka</a></li>
<li><a href="/dev/f3hack">Hacking Tool for Fallout 3</a></li>
<li><a href="http://github.com/maxim/smart_resize_image">smart_resize_image()</a></li>
</ul>

<p><a href="http://github.com/maxim">See more...</a></p></div>
		</div></div><div id="hybrid-categories-3" class="widget categories widget-categories"><div class="widget-inside"><h3 class="widget-title">Categories</h3><ul class="xoxo categories"><li class="cat-item cat-item-8"><a href="http://mediumexposure.com/category/admin/" title="View all posts filed under admin">admin</a> (1)</li><li class="cat-item cat-item-20"><a href="http://mediumexposure.com/category/announcement/" title="View all posts filed under announcement">announcement</a> (1)</li><li class="cat-item cat-item-36"><a href="http://mediumexposure.com/category/birthday/" title="View all posts filed under birthday">birthday</a> (1)</li><li class="cat-item cat-item-27"><a href="http://mediumexposure.com/category/blog/" title="View all posts filed under blog">blog</a> (2)</li><li class="cat-item cat-item-12"><a href="http://mediumexposure.com/category/concepts/" title="View all posts filed under concepts">concepts</a> (2)</li><li class="cat-item cat-item-7"><a href="http://mediumexposure.com/category/development/" title="View all posts filed under development">development</a> (5)</li><li class="cat-item cat-item-17"><a href="http://mediumexposure.com/category/drupal/" title="View all posts filed under drupal">drupal</a> (2)</li><li class="cat-item cat-item-40"><a href="http://mediumexposure.com/category/edge/" title="View all posts filed under edge">edge</a> (1)</li><li class="cat-item cat-item-33"><a href="http://mediumexposure.com/category/humor/" title="View all posts filed under humor">humor</a> (1)</li><li class="cat-item cat-item-9"><a href="http://mediumexposure.com/category/obsolete/" title="View all posts filed under obsolete">obsolete</a> (1)</li><li class="cat-item cat-item-38"><a href="http://mediumexposure.com/category/osx/" title="View all posts filed under osx">osx</a> (1)</li><li class="cat-item cat-item-31"><a href="http://mediumexposure.com/category/paperclip/" title="View all posts filed under paperclip">paperclip</a> (1)</li><li class="cat-item cat-item-3"><a href="http://mediumexposure.com/category/php/" title="View all posts filed under php">php</a> (7)</li><li class="cat-item cat-item-30"><a href="http://mediumexposure.com/category/projects/" title="View all posts filed under projects">projects</a> (3)</li><li class="cat-item cat-item-29"><a href="http://mediumexposure.com/category/rails/" title="View all posts filed under rails">rails</a> (21)</li><li class="cat-item cat-item-32"><a href="http://mediumexposure.com/category/rant/" title="View all posts filed under rant">rant</a> (3)</li><li class="cat-item cat-item-28"><a href="http://mediumexposure.com/category/ruby/" title="View all posts filed under ruby">ruby</a> (21)</li><li class="cat-item cat-item-19"><a href="http://mediumexposure.com/category/scripteka/" title="View all posts filed under scripteka">scripteka</a> (1)</li><li class="cat-item cat-item-37"><a href="http://mediumexposure.com/category/shoulda/" title="View all posts filed under shoulda">shoulda</a> (1)</li><li class="cat-item cat-item-34"><a href="http://mediumexposure.com/category/sinatra/" title="View all posts filed under sinatra">sinatra</a> (1)</li><li class="cat-item cat-item-4"><a href="http://mediumexposure.com/category/solutions/" title="View all posts filed under solutions">solutions</a> (28)</li><li class="cat-item cat-item-39"><a href="http://mediumexposure.com/category/sphinx/" title="View all posts filed under sphinx">sphinx</a> (1)</li><li class="cat-item cat-item-5"><a href="http://mediumexposure.com/category/web/" title="View all posts filed under web">web</a> (1)</li><li class="cat-item cat-item-35"><a href="http://mediumexposure.com/category/xbox/" title="View all posts filed under xbox">xbox</a> (1)</li></ul><!-- .xoxo .categories --></div></div><div id="hybrid-search-3" class="widget search widget-search"><div class="widget-inside"><h3 class="widget-title">Search</h3>			<div id="search-1" class="search">

				<form method="get" class="search-form" id="search-form-1" action="http://mediumexposure.com/">
				<div>
					<input class="search-text" type="text" name="s" id="search-text-1" tabindex="7" value="Search this site..." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
					<input class="search-submit button" name="submit" type="submit" id="search-submit-1" tabindex="8" value="Search" />
				</div>
				</form><!-- .search-form -->

			</div><!-- .search --></div></div><div id="linkcat-2" class="linkcat widget bookmarks widget-bookmarks"><div class="linkcat widget-inside"><h3 class="widget-title">Blogroll</h3><ul class='xoxo blogroll'><li><a href="http://nataliecreations.tumblr.com" rel="spouse" title="My Wife&#8217;s Tutorials for Crafts and Cooking."><span>Natalie&#039;s Creations</span></a></li><li><a href="http://perfectionkills.com" rel="friend colleague" title="Kangax&#8217;s blog about all things Javascript."><span>Perfection Kills</span></a></li></ul></div></div><div id="twitter-3" class="widget widget_twitter widget-widget_twitter"><div class="widget-inside"><h3 class="widget-title"><a href='http://twitter.com/hakunin'>Stuff I Say</a></h3><ul class='tweets'>
<li>Well, new blog is up. (<a href="http://mediumexposure.com" rel="nofollow">http://mediumexposure.com</a>) Still some polishing to do. BTW, anyone know why is there such huge margin around code? <a href='http://twitter.com/hakunin/statuses/7969935567' class='timesince'>1&nbsp;hour&nbsp;ago</a></li>
<li>Final Season Of &#039;Lost&#039;  Promises To Make Fans More Annoying Than Ever <a href="http://bit.ly/51XyUT" rel="nofollow">http://bit.ly/51XyUT</a> <a href='http://twitter.com/hakunin/statuses/7936326342' class='timesince'>20&nbsp;hours&nbsp;ago</a></li>
<li>Latest SD Ruby podcast really makes moonshine shine. (Finally bearable voice quality.) <a href="http://sdruby.org/podcast/74" rel="nofollow">http://sdruby.org/podcast/74</a> <a href='http://twitter.com/hakunin/statuses/7780926859' class='timesince'>4&nbsp;days&nbsp;ago</a></li>
<li>Would be pretty nice to add algorithm speed in O/o notations to the docs of some of Ruby and Rails methods operating on collections. <a href='http://twitter.com/hakunin/statuses/7772707176' class='timesince'>5&nbsp;days&nbsp;ago</a></li>
<li>Proper CSV: separate with comma, enclose with &quot; (quote), escape using 2 quotes. Null values are 2 quotes. This way shit works generally. <a href='http://twitter.com/hakunin/statuses/7701418361' class='timesince'>6&nbsp;days&nbsp;ago</a></li>
</ul>
</div></div>
		
	</div><!-- #subsidiary .aside -->


		<div id="footer">

			<p class="copyright">Copyright &#169; 2010 <a class="site-link" href="http://mediumexposure.com" title="Medium eXposure" rel="home"><span>Medium eXposure</span></a>.</p>

<p class="credit">Powered by <a class="wp-link" href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><span>WordPress</span></a> and <a class="theme-link" href="http://themehybrid.com/themes/hybrid" title="Hybrid"><span>Hybrid</span></a>.</p>
		</div><!-- #footer -->

		
	</div><!-- #footer-container -->

</div><!-- #body-container -->

<script type='text/javascript' src='http://mediumexposure.com/wp-content/themes/hybrid/library/js/drop-downs.js?ver=1.4'></script>

</body>
</html>