Archive for the 'groovy' Category
Groovy and the safe dereference operator
0 Comments Published by peter August 17th, 2007 in grails, groovy.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 just makes sure that consequent methodcalls are only executed when the object on which it is [...]
IntelliJ IDEA 7m2: Groovy/Grails support
0 Comments Published by peter August 15th, 2007 in grails, groovy, intellij, java.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 assistance with structure view, class and usage make me want do download and use IntelliJ [...]
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 to creating a new application:
grails create-app ptodo
This creates a fully working webapplication, very similar to the basic [...]
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 to pitch Spring. I like Spring... but is it cool enough to convince Ruby/Rails zealots that [...]
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 account.
Oh, and being the nerd I am... I couldn't get any of the free CAD programs [...]
Spring and scripting languages… don’t go together?
0 Comments Published by peter March 6th, 2007 in groovy, java, spring2.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 tied to quite a complex set of rules I figured that the capability of dynamically [...]



















