Thursday, June 30, 2005

Continuous Integration

Continuous Integration Server Feature Matrix

Friday, June 10, 2005

Ruby is "geil"

I knew it. A programming language which does not stand in the way.

Ajax on Rails by Curt Hibbs -- XMLHttpRequest and Ruby on Rails are two hot topics in web development. As you ought to expect by now, they work really well together. Curt Hibbs explains the minimal Ajax you need to know and the minimal Ruby you need to write to Ajax-ify your Rails applications.

Tuesday, June 07, 2005

How complicated can be to create a Windows Form

http://www.codeproject.com/cs/miscctrl/resize_form.asp
In Qt, is a quarter the effort, and it requires no custom code to be written.

hmmm... (or grrrrr)

Monday, June 06, 2005

PicoContainer and GoodCitizen

The GoodCitizen part is overall available. ("gueltig")
http://www.picocontainer.org/Good+Citizen

C# Idiom: NullObject Interface

I'm going to start to publish/collect some ideas in C# programming.
Some or them might be patterns, or more granular, like idioms.

let' say we have a class Client which uses a class Server.
The interface which is used by Client, will be IServer

class Client
{
private IServer server;
}

class Server : IServer
{
...
}

in Order to have a function Client, we need a initialization with a valid IServer.
Let's make a minimalistic, null object, implementation of this interface:
sealed class NullServer: IServer
{
... //default, empty implementation of IServer
private NullServer()
{ }

public static readonly NullServer Instance = new NullServer()
}

class Client
{
private IServer server = NullServer.Instance;
}

- Now we can use the client, without the need to create a whole instance of the Server class.
- Using the IServer interface, the Client can be better tested, using a MockObject.

- The Client can be injected with a server interface in the constructor (PicoContainer-style),
or with a Setter (Spring-style).

Wednesday, June 01, 2005

C# Coding Guidelines

A discussion
http://blogs.msdn.com/ericgu/archive/2004/01/19/60315.aspx

A good one
http://developer.agamura.com/technotes

A very detailed one:
http://www.tiobe.com/standards/gemrcsharpcs.pdf