Jan
24
2009
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 [...]
Tags: agile, database, migrations
Jan
20
2009
A very nice summary of differenct contract/payment models from Alistair Cockburn can be found here.
Tags: agile, contracts
Jan
17
2009
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 [...]
Tags: database, design, domain driven design
Jan
16
2009
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 [...]
Tags: mocking, tdd, test data, unit testing
Jan
16
2009
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 [...]
Tags: bdd, cucumber, jruby, maven, ruby
Jan
10
2009
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 [...]
Tags: redesign, refactoring
Jan
03
2009
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 [...]
Tags: agile, database, dbdeploy, evolutionary-databases, Java, migrations
Jan
03
2009
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 [...]
Tags: agile, database, evolutionary-databases, refactoring