Articles tagged with Ddd

Fighting the primitive obsession with Value objects

My previous post on read models intended to address something different, but I decided to focus on read model part and leave the other topic for a different one. There's one thing which I dislike in the implementation. Using primitives to calculate the scores.

How to build a read model with Rails Event Store Projection

Recently I faced interesting challenge in one of our customer's application. Imagine that you take a test after which you get a personalised reports about your skills level. Existing mechanism for that was time and resource consuming. People had to wait for e-mail delivery with PDF-generated report several hours due to several constraints, which I would prefer not to dive into.

Use ActiveAdmin like a boss

ActiveAdmin is widely used administration framework in Rails applications. This post explains how to hook more sophiscicated domain logic into it.

Ultimate guide to 3rd party calls from your Aggregate

If you ever wondered how to make 3rd party API call from Aggregate and not clutter it with dependencies, you may find this post interesting.

How to setup development work with RailsEventStore and mutant

As Arkency we’re making our efforts to inculcate Domain Driven Design into Rails community. You should be familiar with Rails Event Store ecosystem. We use it in our customers’ projects with success since quite some time.

What taking care of your teeth has in common with programming?

I don’t need to tell you why brushing your teeth and going to a dentist with a regular time manner is an important thing.

One more step to DDD in a legacy rails app

Recently I picked up a ticket from support team of one of our clients. Few months ago VAT rates have changed in Norway - 5% became 10% and 12% became 15%. It has some implications to platform users — event organizers, since they can choose which VAT rate applies to products which they offer to the ticket buyers. You'll learn why I haven't just updated db column.