<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Late to the Party: It Isn't "Zero Deploy"</title>
    <link>http://cwilliams.textdriven.com/articles/2005/07/15/it-isnt-zero-deploy</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Ruby. Rails. Stuff.</description>
    <item>
      <title>It Isn't &amp;quot;Zero Deploy&amp;quot;</title>
      <description>&lt;p&gt;Patrick Peak has written up an article with his thoughts after attending a &lt;a href="http://jroller.com/page/dgeary/20050714#rails_at_the_denver_jug"&gt;presentation by David Geary&lt;/a&gt; about Rails. In the presentation David said that Rails was &amp;ldquo;zero deploy time&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;The quote is misleading, and Patrick was mislead. Rails is not zero deploy, it&amp;rsquo;s &amp;ldquo;zero compile&amp;rdquo;. The difference is that you can edit a file in development and reload your browser to get the changes &amp;ndash; there&amp;rsquo;s no intermediate compilation. The Java world has on-the-fly compilation of JSPs and some can even do .java &amp;ndash; but the fact remains there&amp;rsquo;s a an intermediate compilation step, and that not every&amp;nbsp;Java developer has the environment or toolset to do that on-the-fly compilation (or probably more likely, most don&amp;rsquo;t).&lt;/p&gt;
&lt;p&gt;Patrick went on to assume all sorts of bad practices were common amongst rails programmers, but we&amp;rsquo;ll just be nice and say that he was mislead by the quote and be done with the whole affair. (He also erroneously&amp;nbsp;noted that there&amp;rsquo;s nothing like Ant for Ruby. First, Ant isn&amp;rsquo;t particularly language-specifc. Beyond that, &lt;a href="http://rake.rubyforge.org/wiki/wiki.pl"&gt;Rake&lt;/a&gt; is an excellent tool for Ant-like tasks that uses Ruby code as declarations &amp;ndash; not XML).&lt;/p&gt;
&lt;p&gt;Rails deployment is probably remarkably similar to any other language. You work in development mode locally, test your changes, and eventually push the changes to the server. A good discussion of this is &lt;a href="http://jamis.jamisbuck.org/articles/2005/07/14/application-deployment-with-rails"&gt;written up by Jamis Buck&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m looking forward to see the release of the &amp;ldquo;release manager.&amp;rdquo; It&amp;rsquo;s certain to make it easier to practice good deployment techniques with Rails.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update: &lt;/strong&gt;It appears that this has also been commented on by &lt;a href="http://www.loudthinking.com/arc/000483.html"&gt;DHH&lt;/a&gt;, &lt;a href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/DeployingRails.rdoc"&gt;Dave Thomas&lt;/a&gt;, and the original Ant (and Tomcat)&amp;nbsp;author himself, &lt;a href="http://blog.x180.net/2005/07/rails_sandbox_d.html"&gt;James Duncan Davidson&lt;/a&gt; (who also goes into details about how he and Mike Clark of &lt;a href="http://www.pragmaticprogrammer.com/starter_kit/auto/index.html"&gt;Pragmatic Automation&lt;/a&gt; fame deploy their rails app.)&lt;/p&gt;</description>
      <pubDate>Fri, 15 Jul 2005 19:14:46 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:2857f69d8fd62fc0b97ad6325c406ff8</guid>
      <author>cwilliams</author>
      <link>http://cwilliams.textdriven.com/articles/2005/07/15/it-isnt-zero-deploy</link>
      <category>Rails</category>
      <category>Ruby</category>
      <category>Web design</category>
      <category>Programming</category>
    </item>
  </channel>
</rss>
