<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: DRYML, meet ActiveRecord</title>
	<atom:link href="http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/feed/" rel="self" type="application/rss+xml" />
	<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/</link>
	<description>Hobo - the web app builder for Rails</description>
	<lastBuildDate>Mon, 02 Jan 2012 20:47:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: faryzhijcherteg</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-21823</link>
		<dc:creator>faryzhijcherteg</dc:creator>
		<pubDate>Sat, 19 Jan 2008 02:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-21823</guid>
		<description>&lt;p&gt;Lafarge to buy Orascom Cement for $12.8 bln &lt;a href=&quot;http://34.x008.in/14.html&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Lafarge to buy Orascom Cement for $12.8 bln <a href="http://34.x008.in/14.html" rel="nofollow">link</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geira</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-5044</link>
		<dc:creator>Geira</dc:creator>
		<pubDate>Sat, 16 Jun 2007 18:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-5044</guid>
		<description>&lt;p&gt;Kudos for trying to minimize Ruby code in the presentation layer (which based on all experience &lt;em&gt;is&lt;/em&gt; a bad idea, and not dogma as Dave Thomas claims). Too bad the solution involves mixing unrelated tags into the same namespace.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Kudos for trying to minimize Ruby code in the presentation layer (which based on all experience <em>is</em> a bad idea, and not dogma as Dave Thomas claims). Too bad the solution involves mixing unrelated tags into the same namespace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitris</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-3440</link>
		<dc:creator>Dmitris</dc:creator>
		<pubDate>Wed, 23 May 2007 10:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-3440</guid>
		<description>&lt;p&gt;Nice&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-1114</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 28 Mar 2007 10:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-1114</guid>
		<description>&lt;p&gt;Josh - I agree that Markaby is a very nice option. The problem it has is that it doesn;t make a good interface between coder and designer, but I&#039;m guessing that issue doesn&#039;t crop up in your world. There are some DRYML features that you might find interesting that Markaby can&#039;t do though - inner tags, ajax parts, and more coming.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Josh &#8211; I agree that Markaby is a very nice option. The problem it has is that it doesn;t make a good interface between coder and designer, but I&#8217;m guessing that issue doesn&#8217;t crop up in your world. There are some DRYML features that you might find interesting that Markaby can&#8217;t do though &#8211; inner tags, ajax parts, and more coming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Adams</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-1062</link>
		<dc:creator>Josh Adams</dc:creator>
		<pubDate>Mon, 26 Mar 2007 14:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-1062</guid>
		<description>&lt;p&gt;I&#039;m glad this exists.  I don&#039;t use it, and I don&#039;t see myself using it (I actually prefer markaby to almost anything I&#039;ve used in the past, evar, template-wise).  But I&#039;m glad development happens for those that like tag-based languages.  I just have /terrible/ memories of iHTML.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad this exists.  I don&#8217;t use it, and I don&#8217;t see myself using it (I actually prefer markaby to almost anything I&#8217;ve used in the past, evar, template-wise).  But I&#8217;m glad development happens for those that like tag-based languages.  I just have /terrible/ memories of iHTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-571</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sun, 25 Feb 2007 22:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-571</guid>
		<description>&lt;p&gt;Thanks Ed,&lt;/p&gt;

&lt;p&gt;Actually what&#039;s happened is that you don&#039;t explicitly give a &lt;code&gt;this&lt;/code&gt; attribute anymore. So the correct def is now:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;def tag=&quot;name&quot;&gt;&lt;%= this.name %&gt;&lt;/def&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I should fix the post!&lt;/p&gt;

&lt;p&gt;(done now)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Ed,</p>
<p>Actually what&#8217;s happened is that you don&#8217;t explicitly give a <code>this</code> attribute anymore. So the correct def is now:</p>
<pre><code>&lt;def tag="name"&gt;&lt;%= this.name %&gt;&lt;/def&gt;
</code></pre>
<p>I should fix the post!</p>
<p>(done now)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-569</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sun, 25 Feb 2007 22:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-569</guid>
		<description>&lt;p&gt;There is an error (typo?) in the example code above. The following tag definition:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;def tag=&quot;name&quot; attrs=&quot;this&quot;&gt;&lt;%= this.name %&gt;&lt;/def&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;will throw the following error:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;invalid attrs in def: this&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To fix, replace &#039;attrs&#039; with &#039;attr&#039;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There is an error (typo?) in the example code above. The following tag definition:</p>
<p><code>&lt;def tag="name" attrs="this"&gt;&lt;%= this.name %&gt;&lt;/def&gt;</code></p>
<p>will throw the following error:</p>
<p><code>invalid attrs in def: this</code></p>
<p>To fix, replace &#8216;attrs&#8217; with &#8216;attr&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vish Kohli</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-193</link>
		<dc:creator>Vish Kohli</dc:creator>
		<pubDate>Wed, 24 Jan 2007 23:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-193</guid>
		<description>&lt;p&gt;Sorry the example in my post above didn&#039;t come out nice and it seems to have caused some formatting issues..I should have read the instructions better, I guess.  Here&#039;s another try with backticks:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;ul_for attr=&quot;tasks&quot;&gt;&lt;name_link/&gt;&lt;/ul_for&gt;&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry the example in my post above didn&#8217;t come out nice and it seems to have caused some formatting issues..I should have read the instructions better, I guess.  Here&#8217;s another try with backticks:</p>
<p><code>&lt;ul_for attr="tasks"&gt;&lt;name_link/&gt;&lt;/ul_for&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vish Kohli</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-192</link>
		<dc:creator>Vish Kohli</dc:creator>
		<pubDate>Wed, 24 Jan 2007 23:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-192</guid>
		<description>&lt;p&gt;Tom wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Are you referring to the common &gt;XML dillemma of whether to model &gt;some piece of data as an element &gt;or an attribute? &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Yes, such as for &quot;tasks&quot; and &quot;name_link&quot; in the example 
for attr=&quot;tasks&quot;&gt;link/&gt;for&gt;&lt;/p&gt;

&lt;p&gt;I still don&#039;t see the net value in using DRYML and would appreciate some clarification from you on these counts: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It seems to be a regression to dump a richly-expressive language like Ruby in favor of XML/DRYML.  With XML/DRYML, you essentially have to contrive XML elements for various Ruby language constructs such as loops (I noticed you have a ), conditionals such as if-then-else, case statements etc, some of which can get awkward and very error prone (users of BPML like me have been bitten by this in the past).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Would you advocate changing Rake to use XML instead of Ruby(a la Ant)?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;XML/DRYML seems to be a way to limit the usage of Ruby code in Views.  But that should be so by design: anytime you&#039;re writing more than a little Ruby code in a view, you ought to move it away into a helper file.  Your way seems to be to move it out into a taglib.  So is it really buying much as opposed to  following good design practice.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As for the benefit of conciseness, there are other ways to get concise with your view code without eliminating Ruby - see HAML for example (http://haml.hamptoncatlin.com).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Would appreciate hearing your thoughts.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tom wrote:</p>
<blockquote>
<p>Are you referring to the common &gt;XML dillemma of whether to model &gt;some piece of data as an element &gt;or an attribute? </p>
</blockquote>
<p>Yes, such as for &#8220;tasks&#8221; and &#8220;name_link&#8221; in the example<br />
for attr=&#8221;tasks&#8221;&gt;link/&gt;for&gt;</p>
<p>I still don&#8217;t see the net value in using DRYML and would appreciate some clarification from you on these counts: </p>
<ol>
<li>It seems to be a regression to dump a richly-expressive language like Ruby in favor of XML/DRYML.  With XML/DRYML, you essentially have to contrive XML elements for various Ruby language constructs such as loops (I noticed you have a ), conditionals such as if-then-else, case statements etc, some of which can get awkward and very error prone (users of BPML like me have been bitten by this in the past).</li>
</ol>
<p>Would you advocate changing Rake to use XML instead of Ruby(a la Ant)?</p>
<ol>
<li>
<p>XML/DRYML seems to be a way to limit the usage of Ruby code in Views.  But that should be so by design: anytime you&#8217;re writing more than a little Ruby code in a view, you ought to move it away into a helper file.  Your way seems to be to move it out into a taglib.  So is it really buying much as opposed to  following good design practice.</p>
</li>
<li>
<p>As for the benefit of conciseness, there are other ways to get concise with your view code without eliminating Ruby &#8211; see HAML for example (<a href="http://haml.hamptoncatlin.com)" rel="nofollow">http://haml.hamptoncatlin.com)</a>.</p>
</li>
</ol>
<p>Would appreciate hearing your thoughts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://hobocentral.net/blog/2006/11/11/dryml-meet-activerecord/comment-page-1/#comment-176</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sun, 21 Jan 2007 17:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://hobotek.net/blog/2006/11/11/dryml-meet-activerecord/#comment-176</guid>
		<description>&lt;p&gt;Vish - compliments are great but criticisms are what move projects forward, so yes I take it as constructive :-)&lt;/p&gt;

&lt;p&gt;In a future version Hobo will know what the standard HTML tags are (i.e. we&#039;ll simply hard-code a list of known HTML tags), and all other tags will convert to method calls. So you will in fact get an error if you try to use &lt;code&gt;ul-for&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Your other point is a little un-clear: &quot;whether to make it an element or an attrib&quot;. Are you referring to the common XML dillemma of whether to model some piece of data as an element or an attribute? I don&#039;t think that problem arises in DRYML. I&#039;d be interested to hear a clarification on this point.&lt;/p&gt;

&lt;p&gt;Regarding your conclusion that overall eRB is quicker and easier to maintain, I&#039;d say you need to back that up a bit more. I&#039;m using DRYML in several big projects at the moment, and my experience is quite the opposite. DRYML is slashing development time rather dramatically.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Tom.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Vish &#8211; compliments are great but criticisms are what move projects forward, so yes I take it as constructive :-)</p>
<p>In a future version Hobo will know what the standard HTML tags are (i.e. we&#8217;ll simply hard-code a list of known HTML tags), and all other tags will convert to method calls. So you will in fact get an error if you try to use <code>ul-for</code>.</p>
<p>Your other point is a little un-clear: &#8220;whether to make it an element or an attrib&#8221;. Are you referring to the common XML dillemma of whether to model some piece of data as an element or an attribute? I don&#8217;t think that problem arises in DRYML. I&#8217;d be interested to hear a clarification on this point.</p>
<p>Regarding your conclusion that overall eRB is quicker and easier to maintain, I&#8217;d say you need to back that up a bit more. I&#8217;m using DRYML in several big projects at the moment, and my experience is quite the opposite. DRYML is slashing development time rather dramatically.</p>
<p>Thanks</p>
<p>Tom.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

