Grails

Groovy Delegation Pattern Using invokeMethod and propertyMissing methods

Following DRY is practised religously in my current project. Recently, I identified a case where code repetition had long been ignored. We used to pass either a domain object or a command object in the view model. Due to this, many domain methods had to be duplicated in the command object. This was probablematic because […]

Imran Mir
Imran Mir
Read