blog rss feed

Grails and the power of code by convention.

Author: Dave Cherry last modified
Keywords: grails convention

Only now after several weeks of using grails do I really understand the power of convention. I've got a website up and running in development test phase; forgetting how quickly I got it working, which in itself is worthy of a mention.

Generally, I find the code very manageable, I look at xyzController in the controllers folder, I know its views will be in a directory xyz under views. Domain objects are again easily located and the dynamic CRUD support makes database interaction very straightforward. Another benefit is anyone who has used grails before has a much better chance of picking up the code, as they know where to look for things.

Ajax support again is good, with simple cases handled by tag libraries instead of javascript, outputting xml from a controller is very, very easy. 

Looking at other articles, it looks that even mapping a legacy database on grails is fairly easy too.

Please leave a comment



Search

Blog calendar

blog: previous month March 2010 blog: next month
su mo tu we th fr sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31