<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://townx.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>townx - Hobo Rails Plugin - Comments</title>
 <link>http://townx.org/blog/elliot/hobo_rails_plugin</link>
 <description>Comments for &quot;Hobo Rails Plugin&quot;</description>
 <language>en</language>
<item>
 <title>Value of Hobo is more than speed</title>
 <link>http://townx.org/blog/elliot/hobo_rails_plugin#comment-14007</link>
 <description>&lt;p&gt;It seems that I am the lowest of the low in ruby developers eyes, a &#039;designer&#039; and the reason for this conflict is that, not being a ruby developer, I keep breaking the application through the style sheet or when man-handling the views.  After seeing Tom&#039;s presentation at the Skills Matter RoR exchange (&lt;a href=&quot;http://skillsmatter.com/menu/356&quot; title=&quot;http://skillsmatter.com/menu/356&quot;&gt;http://skillsmatter.com/menu/356&lt;/a&gt;) I realised that Hobo has the potential to solve two big problems when developing RoR apps, neither of which are the key reason why Tom says you should consider Hobo (speed of development)&lt;/p&gt;

&lt;p&gt;1) Clear separation of function, behaviour and presentation&lt;br /&gt;
2) Clarity of the views&lt;/p&gt;

&lt;p&gt;The separation means that I can focus on design knowing that I am unlikely to affect the behaviour of functionality of the application, and the clarity of the dryml views massively improves their &#039;readability&#039; and maintainability.&lt;/p&gt;

&lt;p&gt;Th final key win is that we can extent the tags in the way you describe which takes towards a &lt;span class=&quot;caps&quot;&gt;DSL, &lt;/span&gt;something our clients can immediately understand. &lt;/p&gt;

&lt;p&gt;We will also be keeping a very close eye on this project and will be considering implementing this in our version 2 product this summer.&lt;/p&gt;</description>
 <pubDate>Sun, 11 Feb 2007 04:09:06 -0600</pubDate>
 <dc:creator>Ted Hawkins</dc:creator>
 <guid isPermaLink="false">comment 14007 at http://townx.org</guid>
</item>
<item>
 <title>Plus the cut doesn&#039;t work in</title>
 <link>http://townx.org/blog/elliot/hobo_rails_plugin#comment-12900</link>
 <description>&lt;p&gt;Plus the cut doesn&#039;t work in the &lt;span class=&quot;caps&quot;&gt;RSS &lt;/span&gt;feed, which is how I access your blog. If you view it through LiveJournal it works, but not if you read the raw &lt;span class=&quot;caps&quot;&gt;RSS.&lt;/span&gt;&lt;/p&gt;</description>
 <pubDate>Thu, 16 Nov 2006 11:17:37 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 12900 at http://townx.org</guid>
</item>
<item>
 <title>totally unrelated</title>
 <link>http://townx.org/blog/elliot/hobo_rails_plugin#comment-12891</link>
 <description>&lt;p&gt;just to let you know - lj allows you to use cuts to cut anything you don&#039;t want on your main journal page. it seems your blog thingy doesn&#039;t show these cuts or something, cause no one else saw what they didn&#039;t wnt to. the cut worked, but i deleted it anyway in case some other poor sap subscribes to me somewhere. if you look at &lt;a href=&quot;http://www.peskyproductions.com&quot; title=&quot;www.peskyproductions.com&quot;&gt;www.peskyproductions.com&lt;/a&gt; you can see what the entry looked like &lt;span class=&quot;caps&quot;&gt;UNLESS &lt;/span&gt;you clicked on the cut link&lt;/p&gt;</description>
 <pubDate>Thu, 16 Nov 2006 10:13:59 -0600</pubDate>
 <dc:creator>clux</dc:creator>
 <guid isPermaLink="false">comment 12891 at http://townx.org</guid>
</item>
<item>
 <title>Hobo Rails Plugin</title>
 <link>http://townx.org/blog/elliot/hobo_rails_plugin</link>
 <description>&lt;p&gt;Tom Locke has been carefully piecing together a new plugin for Rails called &lt;a href=&quot;http://hobotek.net/blog/&quot;&gt;Hobo&lt;/a&gt;, which aims to make Rails development even faster. It includes the notion of tag libraries for Rails, which enable you to add &lt;span class=&quot;caps&quot;&gt;JSP&lt;/span&gt;-style tags to your Rails applications. So for instance you can do:&lt;/p&gt;



&lt;pre&gt;
&amp;lt;def tag=&amp;quot;time&amp;quot;&amp;gt;&amp;lt;%= Time.now %&amp;gt;&amp;lt;/def&amp;gt;
&amp;lt;p&amp;gt;The time is &amp;lt;time/&amp;gt;&amp;lt;/p&amp;gt;
&lt;/pre&gt;



&lt;p&gt;Where the &amp;lt;def&amp;gt; tag defines a new tag called &lt;code&gt;time&lt;/code&gt;, which of course contains some ERb code; that definition creates a &amp;lt;time/&amp;gt; tag available to your templates, which directly after the tag definition. (The taglib can be put into a separate file, of course.) Tags support parameters, embedding of existing tags inside new tag definitions, etc. (see &lt;a href=&quot;http://hobotek.net/blog/2006/11/10/guide-to-dryml/&quot; title=&quot;http://hobotek.net/blog/2006/11/10/guide-to-dryml/&quot;&gt;http://hobotek.net/blog/2006/11/10/guide-to-dryml/&lt;/a&gt; for a quick guide). As Tom points out, this makes it possible to put all of the view code into the views, as you can define whole-page tags: no need to specify the layout in the controller any more.&lt;/p&gt;

&lt;p&gt;Hobo also includes some extensions to ActiveRecord, and a more effective base controller you extend with your own controllers. It&#039;s not ready for installation yet, but I&#039;m itching to give it a try.&lt;/p&gt;</description>
 <comments>http://townx.org/blog/elliot/hobo_rails_plugin#comments</comments>
 <category domain="http://townx.org/tech">tech</category>
 <pubDate>Thu, 16 Nov 2006 04:37:12 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">454 at http://townx.org</guid>
</item>
</channel>
</rss>
