Monthly ArchiveJanuary 2009
Habanero & Humour 27 Jan 2009 09:53 am
Habanero Book(s) on the way
About a year ago we sent around a joke email about Habanero’s international adoption, which I thought would be nice to have on record. The joke gets reversed, however, because we are well into the middle of the first Habanero book. We’ve designed it as a reference tool for programmers wanting to enhance their skills by learning agile development techniques, including several software foundations like n-tier architecture, security, de-coupling and other critical concepts. These concepts are illustrated using Habanero, with hands-on examples of their implementation. Look out for a free draft copy released on the Habanero website this year.
Continue Reading »
Databases 21 Jan 2009 10:35 am
MySQL: Create Column If It Doesn’t Exist
The scenario is simple: create one sql statement that creates a column only if it doesn’t exist. I’ve done a fair amount of research on how to pull this off in MySQL, but it seems the verdict is out that it can’t be done in one swoop. SQL Server seems to support it, but I was certainly blanking out in MySQL.
Continue Reading »
Habanero 09 Jan 2009 06:17 pm
A mad week in the Habanero labs
Chillisoft have been stepping up their commitment to the Habanero project over the last few months. The concept of where the framework is going has been thrown back and forth with keen conversations over coffee, over pizza, overtime and overcrowded. Well it gets that way sometimes! There’s a bubbling enthusiasm, and the general sense of the staff at Chillisoft is that we want to be part of a project that is revolutionary.
Continue Reading »
C# 08 Jan 2009 11:57 am
Watermarks in iText PDF: Tips & Tricks
Having battled away with watermarks in iText (com.lowagie.text) for several hours, I’ve compiled a post on a few things you need to watch for. The attached C# code was compiled with .Net 2.
Continue Reading »
Humour 07 Jan 2009 12:07 pm
The unfortunate side effect of Reverse Relationships
As a general good practice, when we build domain models using Habanero, we provide two-directional relationships. As an example, a Car has a Wheels relationship to the Wheel object. On the Wheel class, we add a return Car relationship back to the Car that the Wheel belongs to. It provides some general convenience when you have been given a Wheel object and need to know about its cars. Understandably there might be times when a object really does not need to know which object uses it, but there’s no harm done really.
Continue Reading »
