Archive for the 'grails' 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 [...]
Referencing spring beans from a Grails tag
0 Comments Published by peter August 16th, 2007 in grails, spring, textile.Today I had a short look at referencing Spring beans from Grails. Since Grails is build on top of Spring this was actually 100% simpler then expected. Grails controllers and taglibs are autowired by name on startup.
Just for the fun I create a simple tag which depends on a Spring bean for converting textile markup [...]
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 [...]
Book: The definitive guide to Grails
0 Comments Published by peter August 14th, 2007 in book, grails.Today I received some formal backing for my investigations into the Grails framework. The mailman delivered 'The Definitive Guide to Grails' by Graeme Keith Rocher which I asked Finalist to order for me (hey, can't win battles without books).
I've read the first couple of paragraphs, and flipped through the book... looks really useful on [...]
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 [...]



















