Groovy
Coding Interview in Groovy
Nice post of groovy algorithm which compares Java and Groovy code in the context of a programming interview question.
Grails
CORS in Grails 3
A couple of weeks ago I needed Grails 3 to accept a request via CORS (cross-origin resource sharing). I though an interceptor was the way to go and found this @bcswartz post
However, this approach does not work for some cases. Do not dispare, @david_tinker the creator of the CORS plugin for Grails 2 shows how to do it in Grails 3. It involves the creation of a servlet filter and registering this filter in resources.groovy
Custom GSP Tags, Grails' best kept secret
@daveklein praises the goodness of GSP. I agree with him. Sometimes we forget how testable Custom GSP are and how cleaner they can make our code.
David GGX talk's Custom Tags - The unsung heroes of the Grails Framework is scheduled on Tuesday at 16:00 . I you read this post before going to the talk, it may be like watching Game of Thrones TV Series before reading the books. You have been warned!
▶ Grails under the Hood
@jeffscottbrown explains in this video various pieces of Grails. Among other things you will learn about closure's delegate and learn how Grails does its constraints magic in command objects and domain classes.
Moreover, he demos how to do an AST Transformation 😱 Go deep in Grails!
Ratpack
Ratpack 101
A couple of weeks ago during Code Motion Madrid 2015 I could attend to @alvaro_sanchez's workshop : Ratpack 101. Normally I don't link to workshops because they are tough to follow without the speaker help. However he has created a set of exercises with such a level of explanation that you can do the workshop without his assistance.
If you are in GGX he hosts this workshop on Tuesday 11:00 Track 2. Don't miss, it you will get a lot of extra value with his explanations!
Comment
Excuse the self promotion. But If you are coming to Groovy Grail eXchange 2015 download the Android app which I have developed in Groovy and you can organize your conference.
I am talking about how the app is built today at 14:00, Track 2. If you are in GGX come to say hello.
Groovy Calamari