Category: Grails
-
Integration tests of controllers in Grails
The documentation on doing integration tests of controllers is a bit thin. I had to ask on the mailing list about how to do some of the basics, so I thought I’d make a record of the results here. First of all, Grails distinguishes between unit tests and integration tests, in that integration tests involve…
-
A few 2GX notes
Late last night I returned home from the Groovy/Grails Experience (2GX) in Reston, VA. I met many wonderful people and learned tons of new things, which I’m sure will spawn blog posts over the next few weeks. Just to get started, though, I thought I’d mention a few random observations from the conference. Buy Scott…
-
Additional comment about GRAILS_HOME
Yesterday I commented on how I needed to change my GRAILS_HOME variable to point to the grails subdirectory of the grails-1.0 distribution. I did a bit more checking and discovered something interesting. I’ve been using the Windows installer for Grails. I like how it also installs links for all the JavaDoc documentation, how it includes…
-
Grails Home moved in 1.0
Like approximately 15,000 others, I downloaded and installed Grails 1.0 final in the couple of days after it was released. To my great surprise, however, I couldn’t get it to run properly any more, especially in either Eclipse or IntelliJ IDEA. I couldn’t get either IDE to understand Grails 1.0. I kept trying to set…
-
All I know I learned from GinA (and DGG)
Okay, maybe that’s an exaggeration, but I’ve been digging into Groovy in Action (GinA) and the Definitive Guide to Grails (DGG) more lately and keep finding nuggets that I apparently missed on my first few readings. (I’m trying not to be annoyed about that, btw. By this stage in my career, I know all too…
-
Looking forward to 2G X
Saturday my RSS reader brought a message saying that registration was now open for the Groovy/Grails Experience (called 2G Experience on the website, but I like the shorthand 2GX). Since it’s in the DC area, and I live in CT, I hesitated for a couple of hours. After all, I’m a one-person company, so even…
-
Groovy Dates are Ranges too
I have a Grails application that I use to keep track of training courses that I teach. For each course, I enter the start and end dates, among other information. It’s a pretty straightforward application that I’ve described here in several previous posts. I’ve gotten to the point now where I want to do more…
-
Moving My Google Maps Mashup to Grails, part two
I made a few improvements to my Google Maps mashup, and though they’re not as significant as the changes made in my previous posts, I still wanted to make a record of them. I discussed in my last post the problem I had exposing my domain objects as JSON strings. To summarize the problem: In…
-
Moving My Google Maps Mashup to Grails, part one
The Google Maps API is easy to use. The basic idea is to create a Map2 object (the former GMap2, now known as google.maps.Map2) and add Marker objects to it. The Marker objects then use InfoWindow objects to display all the information for that marker, which can either appear on load, or you can set…
-
Moving My Google Maps Mashup to Grails, part zero
I’m not quite ready to make it live on the web yet, but I’ve just about finished porting my Google Maps mashup to Grails. In earlier posts I’ve discussed how I built a Google Maps mashup showing the names and locations of all the courses I’ve taught over the last three years. In its earlier…