By karanar, on March 30th, 2010%
What I enjoy with frameworks like Grails or Rails is that they are taking care of all the object relational mapping for me. So, I can really concentrate on the domain object model and the framework will care about the underlying work. Fortunately, when needed, I can still “talk” to the database directly. Also, with the . . . → Read More: Grails many-to-many & Join table
By karanar, on March 18th, 2010%
Grails has an incredible amount of very useful features, amongst those the dynamic methods on domain objects. When we generate the scaffolding for a controller for a domain object we get the default list method in the controller which uses the list method on the domain object. The list method takes params as argument containing max, . . . → Read More: createCriteria() & withCriteria()