Explicit error handling in commands

by Harald Schult Ulriksen

This post looks at how we can make it absolutley clear that exceptions may occur when executing commands. Also, we wish to force the developer to a least think of what to do. If we look at the previous posts on this blog by Yngve on the topic of commands…

Implementing the C(ommand) in CQRS

by Yngve Bakken Nilsen

In this post I'll show how easily you can implement the Command-part of CQRS in your application. If you don't know what CQRS (or Command Query Responsibility Separation for "short") is, you can read about it over at Martin Fowler, but the short story is that you want to separate…

Implementing Domainevents in your application

by Yngve Bakken Nilsen

Disclaimer: This is not some invention by me. The code I'm presenting is written by me, but inspired by the work of others. I'm not taking credit for this approach, but simply conveying the principle :) Make sure to check out my post on Commands as well for a nice supplement…