Posts
822
Comments
686
Trackbacks
1
cqrs for dummies
cqrs for dummies – cqrs guidance coming from microsoft

I don’t remember exactly how google groups work, so I don’t remember if you have to be a member of a group to lurk, but a post came out from Microsoft that they intend to release guidance on cqrs.  The thread is here. The roadmap for the guidance is here and a related post about how cqrs supposedly works with Azure is here. With my usual skill at people development, my response was: “Oh dear god. Nothing can possibly go wrong with that.” A lot of stuff then went on in the thread.  A lot of...

posted @ Wednesday, November 02, 2011 10:10 PM | Feedback (2)
Repost: CQRS is too complicated……not

Rob Ashton has a good post up about how the complaint that CQRS is too complicated isn’t really valid.  It’s a good summary.

posted @ Wednesday, September 28, 2011 7:06 PM | Feedback (0)
cqrs for dummies – 4 of N – the event publishing layer

Series link here. As a reminder of what I’m talking about, here’s the picture from Mark: What I’m going to be talking about is section #4 from Mark’s picture, and in particular, I’m going to be going over a number of concepts including: Eventual Consistency Event Handler per view model Persisting internal events and publishing external events inside a transaction Publishing architecture Eventual Consistency In a previous post, I talked in detail about what Eventual...

posted @ Wednesday, May 25, 2011 11:43 PM | Feedback (0)
cqrs for dummies – example – when returning a value from a command makes sense

In a previous post, I talked about why I have broken from tradition and created command handlers that returned a value.  I want to give a brief example of where that makes sense. ELT is a legitimate software development project There are many times when I develop software that involves heavy UI usage and/or involves something like a domain in the sense of DDD. However, there are many other times when I’m doing something else, and that is when I am developing ETL software.  ETL ( Extract Transform Load) is definitely less ‘sexy’ but is often a...

posted @ Saturday, May 14, 2011 11:36 PM | Feedback (0)
cqrs for dummies – example – comments on an incredibly simple implementation of the command part of cqrs

In a previous post, I laid out an incredibly simple implementation of the command part of cqrs.  I specifically left out any comments, so consider this the planned addendum to that post. Why a code sample/example and why now? As a general rule, on my blog, I tend to explicitly refrain from posting code.  Why? It varies from day to day, but I tend to read between 50-100 blog posts a day (note to self: there’s a reason why you don’t get enough done in a day.  Address.).  Among the bloggers I read daily include Ayende.  Now,...

posted @ Tuesday, April 26, 2011 7:18 PM | Feedback (0)
cqrs for dummies – example – an incredibly simple implementation of the command part of cqrs

Without comment, the interfaces: namespace Infrastructure.Command {     public interface ICommand {}     public interface ICommand {}     public interface Handles where T : ICommand     {         void Handle(T command);     }     public interface Handles where T: ICommand     {         TReturnValue Handle(T command);     }     public interface ICommandBus     {         void Register(Handles handler) where TCommand : ICommand;         void Publish(TCommand...

posted @ Monday, April 25, 2011 7:28 PM | Feedback (0)
cqrs for dummies – an interlude – has it all been a waste of time?

Now that I have completed the long project that has sucked up a huge amount of time (which was necessary because it was important to the client, and because it pays the bills), I have returned much of my attention to one of my own projects, which might hopefully help pay some of the bills down the road and which involves an oddly opinionated version of CQRS. As it happens, Udi Dahan has written a post entitled “When to avoid CQRS” that suggests I shouldn’t be putting in the effort.  Some of the key snippets here: “It looks...

posted @ Sunday, April 24, 2011 11:17 PM | Feedback (8)
cqrs for dummies – an interlude – Greg Young’s sample app

Greg has posted that he has created a sample app for CQRS, which you can find here. It is indeed called “SimplestPossibleThing” and it’s pretty accurate, but it is good code to review.  I especially like “InfrastructureCrap.DontBotherReadingItsNotImportant.cs", I mean, come on, what else would you look at first. Seriously though, it’s important to see a simple implementation of all of the main components.  Check it out.

posted @ Tuesday, August 31, 2010 1:33 PM | Feedback (0)
cqrs for dummies – an interlude – notes from Greg Young’s USA Weekend Class

Greg Young has been doing a number of EventBrite Live Meeting type sessions over the last month. I haven’t been able to attend any of them, but Jeff Doolittle posted a summary (if you can call a 17-page PDF a summary) of the latest one. Good stuff, check it out.

posted @ Thursday, August 26, 2010 12:24 PM | Feedback (2)
cqrs for dummies – 3 of n – the event store layer

Series link here. As a reminder of what I’m talking about, here’s the picture from Mark: What I’m going to be talking about is section #3 from Mark’s picture, and in particular, I’m going to be going over a number of concepts including: Domain events Write-only event store, or “Accountants don’t use erasers” Compensating actions Automatic audit log Replaying Events Data mining Event Sourcing The general nature of Domain Events ...

posted @ Tuesday, August 10, 2010 8:46 PM | Feedback (2)
Full cqrs for dummies Archive