-
MyEclipse + JPA + Spring + Hibernate = DAO (mostly)
I just about have my Google Maps mashup working. When it’s deployed, it’ll show markers for each location where I’ve taught a course. Eventually I’ll filter them by year, connect them to home with polylines, and maybe more. As a mashup, it’s not the most interesting application ever written, but it’s given me a good…
-
Trivial Geocoding with Google and Groovy
I’m building a simple Google Maps mashup that will show where I’ve given classes over the past few years. It’s not much, but it’s an easy demonstration of the technology and, even better, an easy way for me to learn the Google Maps API and to play with Groovy some more. As for Google Maps,…
-
Quick Google Maps test
Google maps claims you can add a map to any web page in three clicks. I thought I’d give it a try here. I’m planning to build a mashup featuring all the places I go to teach classes, but I’ll start small. Here’s the code Google tells me to paste in here. View Larger Map…
-
Groovier Box Scores
I made a couple more fixes to my box scores script to make it a bit groovier. First is a trivial one, but it’s much more in the Groovy idiom than in Java. I replaced def cal = Calendar.getInstance() with def cal = Calendar.instance Groovy automatically uses the getter if you access a property of…
-
Groovy Box Scores (minor correction)
I noticed running the Groovy code I posted the other day that I accidentally reversed home and away. It’s not critical, because I still got the URL right, but it’s better to be right. The fix was just to switch the groups: away = m.group(1) home = m.group(2) and then to update the ${away} and…
-
Groovy Box Scores
Long ago I decided the best thing about Ruby on Rails was Ruby. Ruby is a great language, with a friendly community and lots of samples to learn from. Still, it’s quite a radical change from Java, which is the language where I am most comfortable. That brought me to Grails, on a journey I’ve…
-
Green Monster time
Xander and I had our trip to Fenway today, with my first time ever sitting on the Green Monster. The weather was great (low 80s, partly cloudy, with a nice breeze), the seats were excellent (Section 5, Row 1, Seats 9 and 10 — basically middle of the front row), and the Sox scored six…
-
It’s not all Gagne’s fault
I’ll keep this short and sweet. Yes, if it wasn’t for Eric Gagne, the Red Sox probably would have swept all three games against the Orioles rather than lose two of three. Yes, the Yankees are playing video game baseball right now and may win no matter what we do. But somebody please, please explain…
-
I got Potterred
Here I am, minding my own business, digging into Struts 2.0, when an owl from Amazon.com delivered a package on my doorstep on Saturday. There was a book inside. To be honest, it wasn’t completely unexpected. I stopped reading the Harry Potter series after book 5, because I really didn’t like the extended scenes of…
-
Moving from Groovy to Grails
When I first heard about Ruby on Rails late in 2005, I got very excited about it and was eager to learn more. Over the Xmas/New-Years break I purchased both the so-called “pick-axe” book (Programming Ruby, by Dave Thomas) and the Agile Web Developer’s Guide to Rails (by Dave Thomas and David Heinemeier Hansson). I…