Persistency of DDD aggregate

Post in answer to a StackOverflow questions “SQLAlchemy and DDD” and “Persist POJOs in Python using a DDD approach”. You can find code used in this example here. DTO Having out DDD component I want to separation from DTO used by our aggregate and repository implementation. I introduce interface for DTO that will be delivered by … Read more

My structure for DDD component

Post in answer to a StackOverflow question. You can find code used in this example here. Package structure In component package I use this modules as starting point. migrations/ app.py commands.py events.py exceptions.py repository.py service.py entity.py Commands A command is always DTO and as specific, as it can be from a domain perspective. I aim to create … Read more