Latest posts

Switched to Disqus

I’ve switched from the WordPress comment system to Disqus. The old comments will hopefully get imported pretty soon.

Griffin.Decoupled: The queries

This article will show you how you can build your queries with the help of Griffin.Decoupled. Griffin.Decoupled is a small framework which helps you build…

Introducing Griffin.Decoupled

I recommend that you read my other post first, since it describes the rationale behind Griffin.Decoupled. This post will only demonstrate how you use the…

When is a logger a dependency?

There is some discussion about whether loggers should get injected into your classes (dependency injection) or if you should use the logger facade (like…

Writing decoupled and scalable applications

This article is the first in a series of three articles. Its purpose is only to introduce you to domain events and commands. The next article will show you…

Service locator is not an anti pattern

(This article has been rewritten since it didn’t seem like I managed to communicate my thoughts properly)

Dealing with exceptions, Logging and displaying error messages

I’ve got a client which is really firm that the user should know what went wrong when exceptions are thrown. So we are displaying error messages like

Why Domain Driven Design (DDD) is so great

This article aims to describe why I think that DDD aids you tremendously in creating robust and flexible applications.

Small temp file helper for integration tests

I’m writing some integration tests and needed to be able to create/cleanup temp files during the test. So I’ve created a small helper for that (so that the…

Griffin.Container: Register services using your own attribute

As you might know, I recommend that you register most classes using the [Component] attribute. However, you might not want to add an external dependency to…