The Kaptain on … stuff

Posts Tagged ‘Programming

14 Aug, 2009

Griffon support in latest Intellij EAP

Posted by: TheKaptain In: Development

The IDE world just started to look a little greener for Griffon programmers. Today’s latest early access version of JetBrains IntelliJ version Maia has initial support for Griffon! It appeared on the JetBrains blogroll a couple of weeks ago, and indeed may have showed up in an earlier release, but today was the first time […]

09 Aug, 2009

Using the TestNG DataProvider with Groovy

Posted by: TheKaptain In: Development

TestNG is a great tool for testing in Java, and it works even better with a little Groovy thrown in. Just lately I’ve had a lot of success using the DataProvider pattern. A DataProvider method in TestNG can return either a two dimensional Object array or an Iterator over each of the test parameters. A […]

26 Jul, 2009

StreamingMarkupBuilder for Groovy-er xml

Posted by: TheKaptain In: Development

Been having an awful lot of fun lately playing with the Groovy StreamingMarkupBuilder. I’m not a big fan of xml in general, but it’s definitely got its uses(configuration and web service data interchange to name just a couple). StreamingMarkBuilder makes it really very painless to create complex xml structures without a whole lot of hassle. […]

22 Jul, 2009

I am a Procedural Programmer

Posted by: TheKaptain In: Development

I had occasion today to reflect on what I’ve learned in the last few years developing software and it occured to me, not much has really changed since I first struggled with Lisp and Scheme in university. I still don’t completely “get” functional programming! Wrapping my head around all those brackets in any derivative of […]

Over the last year I’ve done a lot of work with JBoss Seam, and while it’s not Grails it’s also not that bad for a web framework. Facelets is the view technology of choice, and it’s certainly better than many alternatives, but at the heart it is still xml and all those brackets make me […]

19 Apr, 2009

Groovy and Glazed Lists with Grape

Posted by: TheKaptain In: Development

So today while I was cleaning out the garage, I finally got a chance to the listen to the Java Posse podcast on Google Collections and GlazedLists. Google Collections has come in handy a few times, the MultiMap extension most notably. It solves essentially the same kind of problem that I described way back in […]