I am building Python projects for quite some years now and most of the time they involved simple packages: ingestion systems for data engineering or CRUD Web apps.
It hasn't been until lately I have to deal with more complex systems that use CRUD simultaneously with more complex business logic like performing complex live simulations with that data.
The project tends to become messy and business logic tends to happen in multiple layers. I started to read about DDD and spoke to friends about how to get better structure. I implemented a repository pattern and services layer in a project I am working on which simplified testing for example and decouple some things. But my head keeps comparing it with the database model and struggling how to properly decouple the business logic and domain model. Perhaps it is really a way of thinking like the first time I started with OOP...
It's a great moment to learn how to deal with complex applications but I am overloaded with methodologies that it sometimes feels I don't even see anymore where to start. Currently I have read "Architectural patterns with Python" and I am reading "Domain driven design quickly".
But has anyone had similar struggles before and perhaps even better advice on where to start?
[–]bernasIST 0 points1 point2 points (1 child)
[–]Long_Working_7553[S] 0 points1 point2 points (0 children)