Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

CQRS – Designing domain events

CQRS – Designing domain events

Command-Query Responsibility Segregation (CQRS) is slowly but steadily gaining ground as an architecture that helps developers to develop scalable, extensible and maintainable applications. Events play a major role in this architecture, and the way you design these events greatly influence the extensibility of your application. In this post, I describe some CQRS event basics and […]

Read More

Rethinking architecture with CQRS

Rethinking architecture with CQRS

Many applications use some form of persistent storage to store its state. However, important information about this state is lost: why is the state as it currently is. Furthermore, a single model is used to store information that is retrieved for many different purposes, often resulting in extremely complex and bog-slow SQL queries. Command Query […]

Read More

Battling complexity in large web applications

Battling complexity in large web applications

Nowadays, companies are hardly ever satisfied with a mere web-presence. No, websites have become true applications in their own right. Instead of being a by-product, most businesses acknowledge that the web offers them a nice channel to do business. However, the demands from the business keeps growing as each company want to be better than […]

Read More

The misunderstanding of Domain Driven Design

There seem to be two mainstream approaches in Java application development: the domain driven approach, and the “fat service layer” or Transaction Script approach. As an architect, I’ve been investigating both methodologies by reading about both of them and applying them in real life enterprise projects. It is at the least amusing to see how […]

Read More