To understand DDD better, I am trying to create the Domain Layer of an online class application. I have a concept of a Student
, Tutor
and Session
Tag : domain-driven-design
I’m very new in DDD and I was following one of the videos of GohperCon to structure of my Golang App using DDD with Hexagonal Architecture. At the lowest (deepest) layer is the storage
that can be Memory, JSON, S..
Ive been tossing this around in my head for awhile. But I’m working on a project that consists of an Order, that has a OrderStatus. There is quite a bit of logic that revolves around the status and changing ..
Closed 6 years ago
I am considering how to set precise boundaries of bounded contexts. Considering that a bounded context is a solution space, sometimes it is very difficult to set what exactly is your solution ..
High-level explanation I have an object with some methods: public class Foo { public void Bar() { } public void Baz() { } } These methods cannot be executed unconditionally, there is some validation to be done. I’d also like to expose these conditions to a client (user) in some way. I could do this ..
Where I work we’ve got wallets with transactions (i.e. every transaction belongs to a single wallet). Currently we’re working on an addition of transfers between wallets. As a part of this, a new Transfer
concept has been added to the ubiquitous language dicti..
Normally we have some code that is common for many (if not all) derived classes. An example would be a generic repository (where I could have a generic Add, Remove, Count, Max, Load etc, or a generic model (example, a common business rule to get a unique value for a new entity based on property type, or a generic save method,..
I’m working in this sc..