We ran into an interesting issue today working with Spock, Grails and the executor plugin.
The executor plugin allows you to move tasks that might be long running into the background of your application.
In this post, I will show you how to unit test spock interactions wrapped inside the runAsync methods provided by the plugin.
1. Read the Groovy books
Groovy is the heart of Grails, but it is surprising how easy it is to get by writing code the Java way.
I think it was four months after I started writing code in Grails that I started looking at the Groovy books, and they definitively helped me improve the code I was writing tremendously.
Many of the posts on the web ( like this one, or this one )describe how to get started with the Resources plugin from scratch. However, chances are that your project already uses UI-performance. How easy is it to migrate an existing project to use Resources?
In this post, I would like to document the steps we took to migrate our Grails project from the UI-performance plugin to the new resources plugin.
Secret Escapes is a great place to work for. Our team is multi-cultural and fun, we use the latest tools in the Grails ecosystem, and we work very well together.
However, I always found it difficult to present this to job applicants. Our initial job postings where hastily copied from other job postings and failed to present our culture of sharing and collaboration.
We recently had an opening for a Junior Grails Developer, and I thought it would be interesting to have the team help me come up with a new job spec that would reflect the company they would be working with.
After a couple of hours, we came up with a new job description that we think presented our development team much better.
In the old spec, we focused a lot on the technology side of things. For developers working in the Java world, having the ability to play with Grails and Groovy is certainly very appealing. But this alone would not convince me to send my CV over to a new company. We tried to make it very clear about the type of people we wanted and the type of team we are. Continue reading
Our team has been looking at making our functional tests better by improving the way in which we use Geb.
In this post, I want so summarize some useful configuration parameters for working with Grails, Geb and IntelliJ idea.
Springsource/VMWare promotes two different application frameworks, Spring Roo and Grails.
As a Grails developer, Spring Roo seems to be more heavily promoted and easily integrated into other deployment platforms than Grails.
Anecdotally, Roo also has a much nicer shell than Grails.
So how does Roo really compare to Grails? Given the lowered barrier of deployment for Roo, would it make sense to use Roo for new projects instead of Grails?
In this series of posts, I’m going to try going through the Spring Roo 1.1. Cookbook by Packtpub and try port the recipes in the book to Grails.
This would allow me to see any advantages offered by Roo over Grails. Continue reading