<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Nimble Code: Tag distribution</title>
  <subtitle type="html">Jacob Harris' Weblog</subtitle>
  <id>tag:www.nimblecode.com,2005:Typo</id>
  <generator version="4.0" uri="http://typo.leetsoft.com">Typo</generator>
  <link href="http://www.nimblecode.com/xml/atom10/tag/distribution/feed.xml" rel="self" type="application/xml+atom"/>
  <link href="http://www.nimblecode.com/articles/tag?tag=distribution" rel="alternate" type="text/html"/>
  <updated>2008-11-12T03:00:29-08:00</updated>
  <entry>
    <author>
      <name>Jacob Harris</name>
      <email>harrisj@nimblecode.com</email>
    </author>
    <id>urn:uuid:4c35cd0f94168179d4511dac5a4b5854</id>
    <published>2005-08-23T01:43:00-07:00</published>
    <updated>2008-11-12T03:00:29-08:00</updated>
    <title>Rails and the Distribution Question</title>
    <link href="http://www.nimblecode.com/articles/2005/08/23/rails-and-the-distribution-question" rel="alternate" type="text/html"/>
    <category term="ruby" scheme="http://www.nimblecode.com/articles/tag"/>
    <category term="rails" scheme="http://www.nimblecode.com/articles/tag"/>
    <category term="distribution" scheme="http://www.nimblecode.com/articles/tag"/>
    <content type="html">&lt;p&gt;I like &lt;a href="http://www.rubyonrails.org"&gt;Ruby on Rails&lt;/a&gt; a lot. It&amp;#8217;s a pretty awesome web development frameworrk and it&amp;#8217;s generated a serious amount of buzz for its young age (just over a year). One major milestone that&amp;#8217;s ahead for the language will be a 1.0 release that among other things promises to deliver more &lt;span class="caps"&gt;API&lt;/span&gt; stability than there has been with more recent releases (as well as freeing developers and writers from creating code that&amp;#8217;s partially outmoded on arrival). Will that mean though that the big development work for Rails will be done? Hardly. If Rails is really to succeed as a development platform, I believe it can only happen if the distribution problems are solved. And Rails 1.0 seems to be a necessary precursor to that.&lt;/p&gt;


	&lt;p&gt;I like to think with web application frameworks there are 3 Ds that are important for the platform to succeed:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Development&lt;/strong&gt; &amp;#8211; how easy is it to develop?&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Deployment&lt;/strong&gt; &amp;#8211; how easy is it to place on your own servers and systems?&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Distribution&lt;/strong&gt; &amp;#8211; how easy is it for third-party users to deploy on their servers?&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I think Rails has done very well in the first case. In the second case, I think tools like &lt;a href="http://wiki.rubyonrails.com/rails/show/SwitchTower"&gt;Switch Tower&lt;/a&gt; will help to make the second problem as nice as the first. But I think the third problem is the most problematic in Rails right now. Essentially, there are no nice and standard ways for developers to package up their Rails-developed programs for other users to easily install (without Rails experience).&lt;/p&gt;


	&lt;p&gt;Let me give a concrete example here. As you may know, I recently switched this blog from &lt;a href="http://www.wordpress.org/"&gt;Wordpress&lt;/a&gt; (a &lt;span class="caps"&gt;PHP&lt;/span&gt;-based service) to &lt;a href="http://typo.leetsoft.com/"&gt;Typo&lt;/a&gt; (a Rails-based service). I currently am hosting on Textdrive, which is rare among hosting providers in that it supports the latest Rails versions, so at least I did not have to fight with my &lt;span class="caps"&gt;ISP&lt;/span&gt; to get Rails as an option. But even then, I must admit that Wordpress&amp;#8217; setup was a dream to use, and not knowing a lick of &lt;span class="caps"&gt;PHP&lt;/span&gt;, I was able to get a blog up, installed, and running in no time. In contrast, I do have some knowledge of Rails, but Typo was definitely harder. For starters, I had to manually create tables in a MySQL database by running a MySQL file to create the tables (good thing I didn&amp;#8217;t use one of the more obscure adapters like &lt;span class="caps"&gt;MS SQL&lt;/span&gt; that didn&amp;#8217;t have a manually written schema file for them). I had to go an edit the database.yml config file manually in a shell (not confugured via an install script) Importing the data from Wordpress was a bit difficult too, and I had to fix the import script. Finally, I discovered that I have actually been dispatching Rails methods with the FastCGI dispatcher, even though I&amp;#8217;m not using it currently. So, my blog went down over the weekend and I didn&amp;#8217;t know. Not good.&lt;/p&gt;


	&lt;p&gt;This is not to trash Typo, which is a truly excellent product. Nor is it to condemn Rails, which is still too young to even explore a thorough solution to the distribution problem yet. But I think if we start thinking about the future of Rails, the distribution problem is important, because without easy distribution, Rails will be doomed by the network effect. What do I mean by that?&lt;/p&gt;


	&lt;p&gt;There are a lot of &lt;span class="caps"&gt;PHP&lt;/span&gt; developers out there these days, far more than develop for Rails, Django, Seaside or some of the other frameworks out there. Why? Is &lt;span class="caps"&gt;PHP&lt;/span&gt; a better framework? Arguably no. But is &lt;span class="caps"&gt;PHP&lt;/span&gt; in a whole lot of publicly deployed web products, like Wordpress? Or more wikis than you can shake a stick at? Yes. This in turn leads to more people thinking of developing in that language, books being written, etc. which accelerates adoption of &lt;span class="caps"&gt;PHP&lt;/span&gt; even further. The network effect.&lt;/p&gt;


	&lt;p&gt;I think 37 Signals, Robot Coop and such have done a lot to advance Rails over the last few years. But ultimately, I think it&amp;#8217;ll do more to sell their particular style of visual design than Rails as a development platform. Sure, there are people making custom solutions from scratch that might be wowed by the backend magic that makes it all happen. But I think there&amp;#8217;s a bigger pool of programmers who might find themselves having to setup a quick Wiki for their intranet or such? Given the choice, how many of them will write a system from scratch in Rails? And how many of them will just grab an existing &lt;span class="caps"&gt;PHP&lt;/span&gt;-based solution? And once they&amp;#8217;ve done the latter, how likely is it they&amp;#8217;ll look at Rails ever again? The best way for Rails to grow is for there to be many Rails apps to choose from. And to get there, Rails needs to make distribution as easy as development.&lt;/p&gt;


	&lt;p&gt;(&lt;em&gt;I hope to follow up on this in a few days with some further observations and ideas.&lt;/em&gt;)&lt;/p&gt;</content>
  </entry>
</feed>
