Category Archives: groovy

Grails – Render method & Markup builder

During Graemes’ demo of Grails at javasummercamp he briefly pointed out the fact that one can implicitly use the Groovy MarkupBuilder (Similar to the Markaby DSL for Ruby) within the render method of an action for generating markup. Which makes … Continue reading

Posted in grails, groovy, java | 2 Comments

Groovy and the safe dereference operator

When going through view code generated by Grails I noticed heavy use of the question mark operator when referencing properties. After browsing around I discovered that it is called the ‘safe dereference operator’ Sounds more complex then it is, it … Continue reading

Posted in grails, groovy | Leave a comment

IntelliJ IDEA 7m2: Groovy/Grails support

From the corner of my eyes I noticed something in the latest IntelliJ release: a Groovy and Grails plug-in. The screenshots on the Jetbrains website showing of Smart type inference, Cross-resolution between Groovy and Java classes and Smart code navigation … Continue reading

Posted in grails, groovy, intellij, java | Leave a comment

Grails – associations

After going through the Grails documentation I decided to get my hands dirty and actually try and build something. ‘Todo’ style applications aren’t too interesting, but quite useful to test basic stuff. Getting started After installing Grails I moved on … Continue reading

Posted in grails, groovy, java | 1 Comment

Battle of the Geeks: Groovy!

At the end of September Finalist will organize an event called: Battle of the Geeks. Main concept of the battle is to convince the audience of the usefulness coolness of the tool/framework which you are presenting. Initially I was asked … Continue reading

Posted in fun, groovy | 4 Comments

3 weeks of DIY

During my three week holiday I’ll be constructing a room and vestibule on our second floor. A new staircase, boiler and eventually a dormer will be fitted by contractors. Occasionally I’ll be posting pictures of the progress on my Flickr … Continue reading

Posted in DIY, groovy, java | 1 Comment

Spring and scripting languages… don’t go together?

Today I had a look at using the excellent groovy scripting language to create a dynamic solution for determining the keys to flush in our distributed caching setup. Since determining which keys to flush when an object is updated/created/deleted is … Continue reading

Posted in groovy, java, spring2 | Leave a comment