Archive for the ‘Programming’ Category
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 capabitlities give developers all the tools they need to quickly and easily write their own DSL.
Posted in Programming | 3 Comments »
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 ...
Posted in Programming | No Comments »
July 16, 2008 – 11:07 pm
For a while now I've been interested in learning more about building and consuming REST based web services. Fortunately, many tech giants including Google and Yahoo expose much of their data and functionality through REST based APIs. These powerful APIs, combined with Groovy's concise, readable syntax make it ...
Posted in Programming | 2 Comments »
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 ...
Posted in Programming | 3 Comments »
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 ...
Posted in Programming | 2 Comments »
June 18, 2008 – 2:56 pm
Aspect Oriented Programming (AOP) is a technique that can be used to eliminate the repetition of cross-cutting concerns (logging, security, transaction management, etc.) in code. AOP is useful because it provides programmers with a single point at which code can be modified and take effect across an entire system, ...
Posted in Programming | No Comments »