<?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"
	>
<channel>
	<title>Comments on: Barney and the Holy Grail</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<pubDate>Thu, 28 Aug 2008 00:49:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-74405</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 10 Apr 2008 15:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-74405</guid>
		<description>Marnen,

Groovy doesn't have any sort of ORM framework itself, though it does have a slick-seeming SQL interface.  I haven't actually used it, so I can't say for sure though.

Grails uses Hibernate under the hood, so you have access to the full Hibernate stack, including HQL.  I suppose picking up the dialect is a bit of work, but it's never been an issue for me, even when starting.  More troubling is thinking in terms of querying objects, rather than tables.  That's a conceptual hurdle that took me a while to get my head around (and I still sometimes butt up against).  However it does allow a far more business-model-centric way of querying which is quite nice, as well as providing an abstraction layer that allows you to extend the query language in an application-specific (and DB neutral) way.

When I said ActiveRecord didn't have a query language, I was referring specifically to querying the conceptual object store to select instances.  find_by_sql doesn't even come close to that: it's nothing more than a way to do raw SQL queries against the DB connection configured for ActiveRecord.  It's really more analogous to getting a Connection object from Hibernate and doing SQL against it (using Groovy's SQL stuff, or plain JDBC).</description>
		<content:encoded><![CDATA[<p>Marnen,</p>
<p>Groovy doesn't have any sort of ORM framework itself, though it does have a slick-seeming SQL interface.  I haven't actually used it, so I can't say for sure though.</p>
<p>Grails uses Hibernate under the hood, so you have access to the full Hibernate stack, including HQL.  I suppose picking up the dialect is a bit of work, but it's never been an issue for me, even when starting.  More troubling is thinking in terms of querying objects, rather than tables.  That's a conceptual hurdle that took me a while to get my head around (and I still sometimes butt up against).  However it does allow a far more business-model-centric way of querying which is quite nice, as well as providing an abstraction layer that allows you to extend the query language in an application-specific (and DB neutral) way.</p>
<p>When I said ActiveRecord didn't have a query language, I was referring specifically to querying the conceptual object store to select instances.  find_by_sql doesn't even come close to that: it's nothing more than a way to do raw SQL queries against the DB connection configured for ActiveRecord.  It's really more analogous to getting a Connection object from Hibernate and doing SQL against it (using Groovy's SQL stuff, or plain JDBC).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marnen Laibow-Koser</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-74401</link>
		<dc:creator>Marnen Laibow-Koser</dc:creator>
		<pubDate>Thu, 10 Apr 2008 14:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-74401</guid>
		<description>I just wanted to comment on something you said about Rails ActiveRecord. Like you, I've switched away from CF for a variety of reasons; unlike you, I'm currently using Rails, and I very much like Ruby's syntax -- it's certainly different from a lot of other languages, but I think it's extremely well designed.

Anyway, you said that ActiveRecord doesn't have a query language. If I understand correctly what you're getting at, that's not quite true, at least in the sense that you can pass native SQL code to ActiveRecord.find_by_sql . There's certainly nothing in Rails like EJBQL, but to my mind that's OK -- who needs to learn yet &lt;em&gt;another&lt;/em&gt; dialect of SQL?

How does Groovy deal with this? I've never worked with it, although my last job	was with a company that created what as far as they knew was the largest Groovy project to date. But I wasn't working on that project.</description>
		<content:encoded><![CDATA[<p>I just wanted to comment on something you said about Rails ActiveRecord. Like you, I've switched away from CF for a variety of reasons; unlike you, I'm currently using Rails, and I very much like Ruby's syntax &#8212; it's certainly different from a lot of other languages, but I think it's extremely well designed.</p>
<p>Anyway, you said that ActiveRecord doesn't have a query language. If I understand correctly what you're getting at, that's not quite true, at least in the sense that you can pass native SQL code to ActiveRecord.find_by_sql . There's certainly nothing in Rails like EJBQL, but to my mind that's OK &#8212; who needs to learn yet <em>another</em> dialect of SQL?</p>
<p>How does Groovy deal with this? I've never worked with it, although my last job	was with a company that created what as far as they knew was the largest Groovy project to date. But I wasn't working on that project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60552</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 13 Feb 2008 17:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60552</guid>
		<description>Mike,

Eight years ago, CF was awesome.  It blew the pants off other languages available for developing web apps quickly and easily.  These days, it's a far less compelling choice.  I doubt it's market share has diminished, but I feel that it's relevance has.

I wasn't referring specifically to Grails as the reason for it; I've had that opinion for quite a while.  There are a whole pile of web toolkits out there now, and they're breaking some cool new ground.  I wouldn't care to use a number of them, but I do appreciate what they're doing.  CF, on the other hand, has done little.  CFC's were a step in the right direction, but the implementation is poor in many ways.  Other than that, almost all improvements have just been reinventing the wheel with CFML syntax, and often in a very limited way (consider the mess that is CFTHREAD, or the breaking of CFMAIL when CFMAILPARAM was added).</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Eight years ago, CF was awesome.  It blew the pants off other languages available for developing web apps quickly and easily.  These days, it's a far less compelling choice.  I doubt it's market share has diminished, but I feel that it's relevance has.</p>
<p>I wasn't referring specifically to Grails as the reason for it; I've had that opinion for quite a while.  There are a whole pile of web toolkits out there now, and they're breaking some cool new ground.  I wouldn't care to use a number of them, but I do appreciate what they're doing.  CF, on the other hand, has done little.  CFC's were a step in the right direction, but the implementation is poor in many ways.  Other than that, almost all improvements have just been reinventing the wheel with CFML syntax, and often in a very limited way (consider the mess that is CFTHREAD, or the breaking of CFMAIL when CFMAILPARAM was added).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brunt</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60548</link>
		<dc:creator>Mike Brunt</dc:creator>
		<pubDate>Wed, 13 Feb 2008 16:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60548</guid>
		<description>I hate to drag out a discussion Barney but why do you believe that CF's relevance is waning?  This is a genuine question because from my end of things in the server tuning business I see large entities that were not CF users needing help.  Also I don't see any of the associated companies pulling back or financially in trouble (New Atlanta for instance).  None of the companies which were spawned from the Macromedia Consulting division have gone.  Webapper, Universal Mind etc, in fact Universal Mind were recently listed in the Fortune 500.

I have no doubt that Groovy and/on Grails is an exciting track to go down but I am not sure that relates to CF being less relevant; just my opinion from indicators that I see.  Thanks again.</description>
		<content:encoded><![CDATA[<p>I hate to drag out a discussion Barney but why do you believe that CF's relevance is waning?  This is a genuine question because from my end of things in the server tuning business I see large entities that were not CF users needing help.  Also I don't see any of the associated companies pulling back or financially in trouble (New Atlanta for instance).  None of the companies which were spawned from the Macromedia Consulting division have gone.  Webapper, Universal Mind etc, in fact Universal Mind were recently listed in the Fortune 500.</p>
<p>I have no doubt that Groovy and/on Grails is an exciting track to go down but I am not sure that relates to CF being less relevant; just my opinion from indicators that I see.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60467</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 13 Feb 2008 07:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60467</guid>
		<description>Sean,

I'm not going to call it either way, but Grails definitely provides a lot of stuff that a certain set of CF developers have been crying out for, and does it without requiring as large a shift as other alternatives.  I haven't done it, but I see no reason that you couldn't easily build a hybrid CF/Groovy/Grails app, and with enormously less pain than CF/Java hybrids.

I know I'm going to be doing CF for a good while since Mentor's heavily entrenched.  CF's relevance is definitely waning (regardless of Adobe's sales figures).  Perhaps an influx of good ideas could buoy it.</description>
		<content:encoded><![CDATA[<p>Sean,</p>
<p>I'm not going to call it either way, but Grails definitely provides a lot of stuff that a certain set of CF developers have been crying out for, and does it without requiring as large a shift as other alternatives.  I haven't done it, but I see no reason that you couldn't easily build a hybrid CF/Groovy/Grails app, and with enormously less pain than CF/Java hybrids.</p>
<p>I know I'm going to be doing CF for a good while since Mentor's heavily entrenched.  CF's relevance is definitely waning (regardless of Adobe's sales figures).  Perhaps an influx of good ideas could buoy it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Corfield</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60463</link>
		<dc:creator>Sean Corfield</dc:creator>
		<pubDate>Wed, 13 Feb 2008 07:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60463</guid>
		<description>Interesting to see you post such a glowing review of Grails after I'd posted two similarly enthusiastic pieces. I only investigated it because of a comment by Dave Ross - after Derek Perez had been bugging me about Groovy. Coincidence or critical mass? :)</description>
		<content:encoded><![CDATA[<p>Interesting to see you post such a glowing review of Grails after I'd posted two similarly enthusiastic pieces. I only investigated it because of a comment by Dave Ross - after Derek Perez had been bugging me about Groovy. Coincidence or critical mass? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerald Guido</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60377</link>
		<dc:creator>Gerald Guido</dc:creator>
		<pubDate>Tue, 12 Feb 2008 18:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60377</guid>
		<description>Thank you sir.

This is just what the doctor ordered. I had a similar experience with rails and python. Java is great but it has a huge learning curve and I am still very much a beginner. But I was able to dig right in with Grails and felt comfortable right off the bat.

Having support for Eclipse and Netbeans is huge.</description>
		<content:encoded><![CDATA[<p>Thank you sir.</p>
<p>This is just what the doctor ordered. I had a similar experience with rails and python. Java is great but it has a huge learning curve and I am still very much a beginner. But I was able to dig right in with Grails and felt comfortable right off the bat.</p>
<p>Having support for Eclipse and Netbeans is huge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60359</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Tue, 12 Feb 2008 17:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60359</guid>
		<description>Mike,

Since Grails is all Java-backed, you can use all your standard Java tools (e.g. Eclipse debugger) to debug your apps.  The runtime error template is part of your project (generated for you, of course), so you can customize to your heart's content which is handy as well.

More important, I think, is that you get far better tool support with Groovy/Grails.  That lets you catch a lot of potential errors in the IDE rather than at runtime, especially if you leverage static typing where appropriate.  Regardless of how good the debugging tools are, not having to do it at all is always better.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Since Grails is all Java-backed, you can use all your standard Java tools (e.g. Eclipse debugger) to debug your apps.  The runtime error template is part of your project (generated for you, of course), so you can customize to your heart's content which is handy as well.</p>
<p>More important, I think, is that you get far better tool support with Groovy/Grails.  That lets you catch a lot of potential errors in the IDE rather than at runtime, especially if you leverage static typing where appropriate.  Regardless of how good the debugging tools are, not having to do it at all is always better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brunt</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60348</link>
		<dc:creator>Mike Brunt</dc:creator>
		<pubDate>Tue, 12 Feb 2008 15:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60348</guid>
		<description>Barney, thanks for the comprehensive post GRAILS-GROOVY certainly seem worthy of a closer look and I will do so, time permitting.  Do you have any thoughts on how easy or hard debugging is?  I spend much of my time troubleshooting and fixing applications and ColdFusion  has always had great debugging information?</description>
		<content:encoded><![CDATA[<p>Barney, thanks for the comprehensive post GRAILS-GROOVY certainly seem worthy of a closer look and I will do so, time permitting.  Do you have any thoughts on how easy or hard debugging is?  I spend much of my time troubleshooting and fixing applications and ColdFusion  has always had great debugging information?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sammy Larbi</title>
		<link>http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60326</link>
		<dc:creator>Sammy Larbi</dc:creator>
		<pubDate>Tue, 12 Feb 2008 12:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/#comment-60326</guid>
		<description>Great post.  After my first look at Grails I thought it was so similar to Rails that I didn't need to look further in.  This post, coupled with Sean Corfield's two recent posts about Groovy and Grails has made me rethink that position.

I'll be digging deeper into it at some point.</description>
		<content:encoded><![CDATA[<p>Great post.  After my first look at Grails I thought it was so similar to Rails that I didn't need to look further in.  This post, coupled with Sean Corfield's two recent posts about Groovy and Grails has made me rethink that position.</p>
<p>I'll be digging deeper into it at some point.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
