<?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: XMLBuilder: A Ruby DSL Case Study</title>
	<atom:link href="http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:21:24 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Srikanth</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3259</link>
		<dc:creator>Srikanth</dc:creator>
		<pubDate>Fri, 14 Mar 2008 05:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3259</guid>
		<description>Thanks for the post. It&#039;s really amazing. I read a lot of blogs where most of them just write pile of contents about various things but they don&#039;t show the &quot;code in action.&quot; This blog mostly deals with code and that&#039;s what makes it one of my favorite blogs of all time.

Thanks again! Keep writing!!
Srikanth</description>
		<content:encoded><![CDATA[<p>Thanks for the post. It&#8217;s really amazing. I read a lot of blogs where most of them just write pile of contents about various things but they don&#8217;t show the &#8220;code in action.&#8221; This blog mostly deals with code and that&#8217;s what makes it one of my favorite blogs of all time.</p>
<p>Thanks again! Keep writing!!<br />
Srikanth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean Francois</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3252</link>
		<dc:creator>Jean Francois</dc:creator>
		<pubDate>Tue, 11 Mar 2008 08:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3252</guid>
		<description>Daniel,

Ahh, thank you.  I have not yet learned popular English &quot;errors&quot;.  Thank you again.

Best,
Jean Francois</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>Ahh, thank you.  I have not yet learned popular English &#8220;errors&#8221;.  Thank you again.</p>
<p>Best,<br />
Jean Francois</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jau</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3245</link>
		<dc:creator>jau</dc:creator>
		<pubDate>Mon, 10 Mar 2008 17:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3245</guid>
		<description>@daniel
That&#039;s nice to hear. I&#039;m looking forward for any info. BTW. I really like your blog. Keep up the good work :)</description>
		<content:encoded><![CDATA[<p>@daniel<br />
That&#8217;s nice to hear. I&#8217;m looking forward for any info. BTW. I really like your blog. Keep up the good work <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3244</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Mon, 10 Mar 2008 17:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3244</guid>
		<description>@jau
There really isn&#039;t much info available anywhere.  Coderspiel has done some experimenting with DSL-like constructs here: http://technically.us/code/x/the-awesomeness-of-scala-is-implicit#lets_wrap_component_construction_whiners_in_duct_tape  You can also see a bit more Scala DSL techniques in this article on DZone: http://osgi.dzone.com/news/creating-domain-specific-langu

The good news (at least, I hope it&#039;s good) is that I&#039;ve been working on some stuff with internal DSLs in Scala, so there are a few articles coming down the pipe.  The best one of them is done, but I can&#039;t publish it right away.  Hopefully soon, but watch the RSS.  :-)

@Jean
Good eye!  It seems that I&#039;ve fallen victim to that subtle difference between the apostrophy as a contraction and as a possessive modifier.  The correct sentence is as follows:

&quot;Its flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner.&quot;

Does this make more sense?

@Daniel
Very interesting!  I hadn&#039;t seen your post before, which surprises me.  It looks a lot like how functional languages construct trees, which seems fairly intuitive to me.  I&#039;ll have to give this a closer look.</description>
		<content:encoded><![CDATA[<p>@jau<br />
There really isn&#8217;t much info available anywhere.  Coderspiel has done some experimenting with DSL-like constructs here: <a href="http://technically.us/code/x/the-awesomeness-of-scala-is-implicit#lets_wrap_component_construction_whiners_in_duct_tape" rel="nofollow">http://technically.us/code/x/the-awesomeness-of-scala-is-implicit#lets_wrap_component_construction_whiners_in_duct_tape</a>  You can also see a bit more Scala DSL techniques in this article on DZone: <a href="http://osgi.dzone.com/news/creating-domain-specific-langu" rel="nofollow">http://osgi.dzone.com/news/creating-domain-specific-langu</a></p>
<p>The good news (at least, I hope it&#8217;s good) is that I&#8217;ve been working on some stuff with internal DSLs in Scala, so there are a few articles coming down the pipe.  The best one of them is done, but I can&#8217;t publish it right away.  Hopefully soon, but watch the RSS.  <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>@Jean<br />
Good eye!  It seems that I&#8217;ve fallen victim to that subtle difference between the apostrophy as a contraction and as a possessive modifier.  The correct sentence is as follows:</p>
<p>&#8220;Its flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner.&#8221;</p>
<p>Does this make more sense?</p>
<p>@Daniel<br />
Very interesting!  I hadn&#8217;t seen your post before, which surprises me.  It looks a lot like how functional languages construct trees, which seems fairly intuitive to me.  I&#8217;ll have to give this a closer look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Schneller</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3243</link>
		<dc:creator>Daniel Schneller</dc:creator>
		<pubDate>Mon, 10 Mar 2008 12:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3243</guid>
		<description>Something similar is possible in Java, too. I blogged about this some time ago: http://dschneller.blogspot.com/2007/08/building-xml-groovy-way-in-java.html

In the meantime I have improved (internally) upon that by providing static methods that wrap the different constructors. The benefit is a &quot;lighter&quot; syntax. By statically importing those factory methods, you can get rid of all the &quot;new XElement(&quot; stuff in my examples and instead just write code like 

elem(&quot;parent&quot;,
  elem(&quot;child1&quot;, &quot;value1&quot;),
  elem(&quot;child2&quot;, &quot;value2&quot;)
)

(hope this is readable in the comments).

However one has to admit, that the ruby source is way shorter than the implementation of XElement and XAttribute.</description>
		<content:encoded><![CDATA[<p>Something similar is possible in Java, too. I blogged about this some time ago: <a href="http://dschneller.blogspot.com/2007/08/building-xml-groovy-way-in-java.html" rel="nofollow">http://dschneller.blogspot.com/2007/08/building-xml-groovy-way-in-java.html</a></p>
<p>In the meantime I have improved (internally) upon that by providing static methods that wrap the different constructors. The benefit is a &#8220;lighter&#8221; syntax. By statically importing those factory methods, you can get rid of all the &#8220;new XElement(&#8221; stuff in my examples and instead just write code like </p>
<p>elem(&#8220;parent&#8221;,<br />
  elem(&#8220;child1&#8243;, &#8220;value1&#8243;),<br />
  elem(&#8220;child2&#8243;, &#8220;value2&#8243;)<br />
)</p>
<p>(hope this is readable in the comments).</p>
<p>However one has to admit, that the ruby source is way shorter than the implementation of XElement and XAttribute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean Francois</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3242</link>
		<dc:creator>Jean Francois</dc:creator>
		<pubDate>Mon, 10 Mar 2008 11:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3242</guid>
		<description>Pardon me.  English is not my first language.  Can someone please explain what this means:

&quot;It’s flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner&quot;

I expanded the contraction (?) to:

&quot;It is flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner&quot;

but that does not make any sense to me.  Any help would be very welcomed.  This article looks great, but I cannot understand it all :-(</description>
		<content:encoded><![CDATA[<p>Pardon me.  English is not my first language.  Can someone please explain what this means:</p>
<p>&#8220;It’s flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner&#8221;</p>
<p>I expanded the contraction (?) to:</p>
<p>&#8220;It is flexibility and intuitive nature allows developers to store just about any data in a human readable, easy-to-debug manner&#8221;</p>
<p>but that does not make any sense to me.  Any help would be very welcomed.  This article looks great, but I cannot understand it all <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jau</title>
		<link>http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study/comment-page-1#comment-3234</link>
		<dc:creator>jau</dc:creator>
		<pubDate>Mon, 10 Mar 2008 08:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/ruby/xmlbuilder-a-ruby-dsl-case-study#comment-3234</guid>
		<description>Hi,

Maybe you know where can I find some info about internal DSLs in Scala? I have been looking on google and nabble but there is not that much information. Or maybe you know at least some libraries using such concepts? I would be highly interested.

Thanks,
Mateusz</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Maybe you know where can I find some info about internal DSLs in Scala? I have been looking on google and nabble but there is not that much information. Or maybe you know at least some libraries using such concepts? I would be highly interested.</p>
<p>Thanks,<br />
Mateusz</p>
]]></content:encoded>
	</item>
</channel>
</rss>

