Re:Building Domain Driven Microservices
by about3fitty on Tuesday July 07, 2020 @02:17AM
(#23756253)
I’ve been using DDD with Django/DRF and as a mid level, I’m confused as to why we aren’t leaning on native Django more and writing less boilerplate. I don’t know if this is a common complaint though.
[ Parent
| on HN ]
Re:Building Domain Driven Microservices
by yeswecatan on Tuesday July 07, 2020 @02:24AM
(#23756291)
Do you have any examples how you accomplish this? Do you have separate domain models which are decoupled from Django's models? Do you use the repository pattern?
Re:Building Domain Driven Microservices
by about3fitty on Wednesday July 08, 2020 @06:29PM
(#23774911)
I’m hesitant to give examples unfortunately but yes to the above and lots of what we do is bespoke whereas we could leverage Django for a lot of it. How are you putting it together? Independent Python classes that exist outside of most of Django core?