GoG

Deja vu feeling with ASP.NET MVC

Deja vu feeling with ASP.NET MVC

The Ruby/Groovy, Rails/Grails experience will give you a deja vu feeling with any new technology, framework, language that you work with these days. One such framework that kept reminding me of Grails is ASP.NET MVC 3. Starting from the folder […]

Few useful utilities in GORM

You will always learn something new, whenever you work with Grails. It doesn’t fail to surprise you everytime. Last week’s client visit made me sit up and notice few more useful methods in GORM. failOnError:true.An useful property when applied while […]

DSL with Groovy, another one

In one of the earlier posts we created a simple query using Groovy DSL. Let’s implement another example as shown below using the DSL capabilities of Groovy. Let’s create User.groovy with the code shown below. //User.groovy Calculator.compute { addition 2,3 […]

A DSL query in Groovy

DSL, Domain Specific Languages is a fascinating subject. Reams of articles have been written on this topic. Groovy provides a fluent syntax to create DSLs. Let’s use the meta-programming and closure concepts and build a simple DSL. Say you have […]

Multiple data sources in Grails 2.0

One of my favourite features in Grails 2.0 is the support for configuring multiple data sources. I remember playing with the spring resources to configure multiple data sources in one of my client assignments. Grails 2.0 brings in a built-in […]