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).
Disclaimer
I am a very opinionated software engineer. Well I'm a very opinionated person in general. I work for eBay/Marktplaats.nl, but everything written here is my own crazy ideas and not my employer's. This text might have some similarities to the disclaimer found at fupeg.blogspot.com.
Categories
Archives
Art
Friends
ICT
java
Static pages
Category Archives: groovy
Running your griffon application in fullscreen mode
I’ve been doing some development using Griffon lately. Griffon is a Grails like application framework for developing desktop applications in Groovy which lets you create Java Webstart applications without the hassle. It takes a clean MVC approach including nifty automatic … Continue reading
Posted in groovy
5 Comments
How Elvis showed me a neat way of using operators in Ruby
Recently the Groovy team introduced a new operator to the Groovy language. It is called the Elvis operator. There is one thing I particularly like about this operator. It’s name. To bad the Elvis operator is only a shortening of … Continue reading
Posted in groovy, ruby
5 Comments
Using propertyMissing to enhance Date (in Groovy)
In my previous post I had a go at dates and ranges in Groovy. I wasn’t to enthusiastic about the fact that it felt a bit verbose and Java-ish. So I took the opportunity to have a go at the … Continue reading
Posted in groovy
Leave a comment
Ranges with dates (in Groovy)
During my previous ramblings with Groovy I didn’t touch anything fancy in the Date/Calendar API; no need for it. But after reading a lengthy blogpost on the topic I just needed to have a look at it. Consider the following … Continue reading
Posted in groovy
9 Comments
Grails Video Plugin (flv transcoding & asset management)
During the years I’ve been involved in digital media related projects quite a bit. With the current dominance of flash video stuff has become a bit more straightforward; you don’t have to support multiple proprietary formats in parallel anymore. I … Continue reading
Posted in flash, grails, groovy, video
15 Comments
Grails and tests – Part II: Testing dynamic taglibs using XmlSlurper
A couple of days ago I wrote my first post on TDD using Grails. Now let’s move on to something more interesting: testing dynamic taglibs. In another post I showed how to create a simple tag. Which looked like this: … Continue reading
Posted in grails, groovy, testing
2 Comments
Grails and tests – Part I: Getting started with TDD
Writing tests for a Grails applications is really simple. In Groovy code actually compiles when non-existing methods of objects are referenced (as opposed to Java) which makes it possible exercise TDD (test driven development). Grails supports two types of tests … Continue reading
Posted in grails, groovy, testing
2 Comments
BOTG 2007
Yesterday I presented at the Battle of the Geeks 2007 organized by my employer. 4 presentations where given and people in the audience where asked to rate each presentation using special cards. (I translated this post to Dutch for the … Continue reading
Posted in botg, grails, groovy
Leave a comment
Groovy 1.1 beta 3: method missing
Groovy 1.1. beta 3 was announced a couple of days ago and includes some interesting additions to the groovy language, like a real method missing. Grails’ lead developer Graeme Rocher has a simple example of the way it works in … Continue reading
Posted in groovy
Leave a comment
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 … Continue reading