Grails

Importing Domain Constraints

Following DRY is at the heart of grails. While saving domain objects in our project, we used to copy the domain class constraints to the Command Objects (pretty ugly as it is), until we found that we can import constraints directly from the domain classses using importFrom() method in Grails 2.0 [java] class VenueCO { String name ...

by Imran Mir
Tag: grails 2.0
04-Apr-2012

Grails

My Top 9 Features from Grails 2.0

The groovy world is abuzz about the latest release from the Grails Stable, Grails 2.0, which packs a lot more punch than its predecessors, which by themselves were productivity enhancers and wonderful to develop our web applications with. The new version brings with itself a lot of changes compared to the previous releases and...

by Vivek Krishna
Tag: grails 2.0
18-Jan-2012