Archive for August, 2007

Grails 0.6 Released

Today Graeme and the Grails team have released a significant new version of Grails: 0.6.
One of the more interesting bits added in this release is the addition rich conversation support (Spring Web Flow under the hood) called Grails Flow. Apart from Grails flow the release notes contain the following updates:

Joint Groovy/Java Compilation
Support for Spring scopes […]

In previous projects I mostly skipped writing tests for sending mail. Mostly due to the fact that there is a dependency on a working SMTP server. This time I decided to invest some time in finding a solution for this problem.
It didn't have to look very far to find Wiser. Wiser is a very simple [...]

Grails - Soap

Since working with, or creating WebServices is something webdevelopers will probably do regularly (or stumble upon in the very near future) I decided to have a look at Grails' support for SOAP.
First thing I wanted to see was how to expose a Grails service via Soap. Due to the excellent documentation at the Grails website [...]

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 writing an RSS feed for you application really easy:
PLAIN TEXT
GROOVY:

def feed = {

  def results [...]

Yesterday I visited Proficts' Java Summercamp called "Rails en Grails en Java: Nieuwe talen op de JVM". Which in essence should have been a small seminar
on the topic of new languages on the JVM. In reality Charles Nutter presented JRuby, and its' current state and Graeme Rocher did a presentation on Groovy and Grails.
Both presentations [...]

Grails templating & Ajax

Grails' templating system is cool. There is no doubt about it. It's what I wanted JSP2.0 tagfiles to be. In essence they're not so different from tagfiles in practice their versatility is a fair bit higher.
Templates in Grails reside in the views folder of your project, and are plain gsp files prefixed with an underscore [...]

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 [...]

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 [...]

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

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 [...]




About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


Acme Anvile at CommunityOne Keynote sea_lion Stage being build in the nearby park Joshua Bloch at JavaOne2008 Rudie Golden Gate Scribbled Sun Logo Java + You on a cab smashmouth golden_gate_warning_sign javaone2008 keynote Okke en Rudie Charles Nutter & Guillaume Laforge nearby hotel Hotel room javaone 2008 goodybag Cable Car line Stretched Limo alcatraz Moscone Center - JavaOne
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.