Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Say, you (by you I mean an abstract guy, any guy in your team) have experience of writing and building java web apps, know about filters, servlet mappings and so on, and so on.

Also, let us assume you know pretty well any sql db, no matter which one exactly, whether it mysql, oracle or psql.

At last, let pretend we know Groovy and its standard libraries, for example all that JsonBuilder and XmlSlurper stuff, so we don't need grails converters.

The question is - what are benefits of using grails in this case. I'm not trying to start flame war, I'm just asking to compare - what are ups and downs of grails development compared to pure groovy one.

For instance, off the top of my head I can name two pluses - automatic DB mapping and custom gsp tags. But when I want to write a modest app which provides small API for handling some well defined set of data, I'm totally OK with groovy's awesome SQL support. As for gsp, we does not use it at all, so we are not interested in custom tags as well.

share|improve this question

1 Answer 1

Our relatively large Grails app makes no use of the automatic DB mapping (prejudice, don't ask) but still I think that Grails offers a lot of useful features over pure Groovy. The single most important aspect is the automatic mapping from URLs to controllers, actions, GSP pages.

Another aspect is tool support; right now, for whatever reason, Netbeans supports Grails projects, but apparently doesn't seem to support pure Groovy projects.

share|improve this answer
    
it might sound like we don't like grails, but we also use it pretty heavily ) As for URL mappings, yes, totally agree. –  shabunc Nov 29 '11 at 23:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.