Search Results

Groovy Domain Specific Language Tutorial

August 17, 2008 – 8:42 pm

Although it may seem like an advanced topic, writing a simple Domain Specific Language (DSL) in Groovy is actually pretty easy. Groovy's dynamic nature and metaprogramming capabilities give developers all the tools they need to quickly and easily write their own DSL.

Putting Google Finance to REST with Ruby

July 23, 2008 – 2:43 am

RubyNation is just a week and a half away and in order to prepare myself I thought I'd brush up on some Ruby and Rails in the days preceding the conference. I don't use Ruby on a regular basis, but I'm a huge fan of dynamic languages so I'm ...

Groovy Metaprogramming – Creating Behavior on the Fly

July 8, 2008 – 12:07 am

In my previous post I talked about dynamically adding behavior to Groovy classes using either the ExpandoMetaClass or Categories. These techniques are especially useful if you know which methods you would like to add to your classes prior to actually writing any code. But what if you don't ...

Groovy Metaprogramming – Adding Behavior Dynamically

June 29, 2008 – 10:00 pm

I've been fascinated with languages like Ruby and Groovy ever since being exposed to their dynamic capabilities. I remember attending a No Fluff Just Stuff conference a few years ago and being awestruck while watching Dave Thomas build a full-blown Rails application within a matter of minutes. Dynamic ...