Archive for January, 2009

Jan 24 2009

The new guy and his database

Published by Anders under Development

This is a followup to two previous articles about Agile databases and Migrations for Java. It tries to examplify some of the stuff I talk about in those two articles. Here we go again…
You won’t get a new developer each week, but the scenario will help illustrate how the tools I have been [...]

7 responses so far

Jan 20 2009

Agile Contracts overview

Published by Anders under Development

A very nice summary of differenct contract/payment models from Alistair Cockburn can be found here.

One response so far

Jan 17 2009

DDD and generic repositories

Published by Anders under Development, Java

Reuse is good. That’s what we learn, so we all strive to reuse code, but sadly sometimes we over generalize and try to be too clever. I have had the suspicion that creating generic repositories that takes criteria/queries as input parameters is one such over generalization. Some things, in fact a lot of things, are [...]

3 responses so far

Jan 16 2009

Setting up testdata with test data builders

Published by Anders under Java

Doing TDD has become a way of life for me. One the one hand tests are the security net that lets me refactor my code, but is also a restricting force when it comes to changing code. Experience has showed that when I refactor, I also break a lot of tests that’s not relevant for [...]

3 responses so far

Jan 16 2009

Ruby with Maven and a bit of Cucumber love

Published by Anders under Development, Java

A while back I was trying to do some initial tries at Ruby as a scripting language with JRuby. That means that I had a Java system, but needed to do some util scripting for the system, and wanted to avoid those pesky bash scripts. Because I had a Java system and Maven infrastructure in [...]

One response so far

Jan 10 2009

Redesign is not going to save you

Published by Anders under Development

This was really a ReTweet from Johannes, but my mind started working and it got sort of out of hand for a tweet. Both his comment and link was excellent:
Software tends towards more technical debt. Without the discipline to reverse this, we won’t succeed in a rewrite either. – Johannes Brodwall
The article that [...]

One response so far

Jan 03 2009

Migrations for Java

Published by Anders under Development, Java

If you are familiar with Ruby on Rails you know what Migrations are. The same thing can and should be done in Java, it’s just not that well known.
Why migrations? Because it enables you to automatically update any environment you have to the latest version. And this is done through source control closely tied to [...]

9 responses so far

Jan 03 2009

Agile databases

Published by Anders under Development, Java

Ferris sent me a message a little while back and asked if I had any input on handling databases, so it gave me a reason to sit down and try to write something about my experiences. I’m not too happy about the flow of these articles, but I figured it was better to get something [...]

5 responses so far