In the previous post, we implemented a really simple file-based repository that used the pickle module. As we didn’t use a database, we didn’t have
Repository pattern – why do we need it? The main goal of the repository pattern is to abstract the logic used for retrieving (loading) and
In the previous post, we discussed the implementation of Value Objects. This time let’s focus on a different kind of Domain Objects – Entities. The
A Value Object is one of the fundamental building blocks of Domain-Driven Design. It is a small object (in terms of memory), which consists of