Category Archives: Architecture

Event Sourcing applied – the Repository

In my last few posts I started by revisiting the architectural pattern Event Sourcing and looked into how we can apply this pattern. I first discussed implementation of the aggregates and then of the application services. In this post I … Continue reading 

Also posted in Fixie, Testing | 13 Comments

NDC talk on SOLID in slices not layers video online

The talk I gave at NDC Oslo 2015 is up on SOLID architecture in slices not layers: https://vimeo.com/131633177 In it I talk about flipping this style architecture: To one that focuses on vertical deliverable features: Enjoy!

| 13 Comments

Event Sourcing applied – the application service

In my previous posts I revisited Event Sourcing (ES) and introduced in detail how I apply ES when implementing the aggregates of a domain model. In this post I want to talk about the application services that are the hosts … Continue reading 

| Leave a comment

Event sourcing revisited

Event Sourcing (ES) over the last few years has become one of my favorite architectural patterns when implementing a complex line of business (LOB) application or a complex component making part of a LOB application. Attention – paradigm change! It … Continue reading 

| Leave a comment

DDD – The aggregate

In my last posts I revisited domain driven design (DDD), applied it to a concrete domain and shed some light onto special scenarios (here and here) and how one could possibly solve them using DDD. In this post I want … Continue reading 

| Leave a comment

DDD – Special scenarios, part 2

In my last post I discussed possible solutions for two specific problems when using DDD. In this post I want to analyze more Collaboration of aggregates Aggregates in DDD are very self centric or self focused. An aggregate does not … Continue reading 

| Leave a comment

CQRS with MediatR and AutoMapper

CQRS is a simple pattern – two objects for command/queries where once there was one. These days just about every system I build utilizes CQRS, as it’s a natural progression from refactoring your apps around the patterns arising from reads … Continue reading 

Also posted in AutoMapper, CQRS, MediatR | 60 Comments

DDD applied

Introduction In my last post DDD revisited I talked about what is important when using domain driven design (DDD) as an architectural pattern. I have had the pleasant surprise that this post was event mentioned on InfoQ. Today I want … Continue reading 

| Leave a comment

CQRS Workshop – Retrospective

Introduction Today I had the honor of leading the first of a series of workshops at ClearMeasure. The topic of this workshop was CQRS. After a brief introduction into the topic the attendees were working in teams of 2 to … Continue reading 

| Leave a comment

CQRS applied

In this post I have discussed CQRS, an architectural pattern from a high level perspective. CQRS is one of my favorite patterns when it comes to complex line of business applications. Let’s discuss CQRS on a specific sample. Imagine we … Continue reading 

| Leave a comment