Domain Driven Design Django
Palestra de luciano ratamero no xii encontro pythonrio se seu código legado tá ficando tenso se você quer um código mais modular ou simplesmente quer começar a testar seu back e front de uma.
Domain driven design django. From the sources on net i understood it is way of segregating your domain objects and database objects but i don t understand the difference between two. I am confused about domain driven design approaches. Using django as the vessel to implement domain driven design and a new way to structure django projects. It focuses on the domain which is the knowledge or the activity that the software needs to model and support.
16 5k 22 22 gold badges 112 112 silver badges 182 182 bronze badges. For an example lets take the code of polls example in django tutorial there are two models polls and choice. Share improve this question follow edited feb 9 16 at 9 55. This styleguide tries to tackle two big problems.
Django the domain driven design way. Domain driven design ddd for short is a technique to write software. Getting introduced to some software engineering buzzwords to impress. This styleguide combines domain driven design principles and django s apps pattern to provide a pragmatic guide for developing scalable api services with the django web framework.
From the sources on net i understood it is way of segregating your domain objects and database objects but i don t understand the difference between two. Thinking in domains and contexts. Asked nov 28 10 at 8 57. Reasoning about the architecture of a project in a decoupled pluggable and readable way.
This question is a bit subjective but. Domain driven design in dynamic languages. 645k 145 145 gold badges 1216 1216 silver badges 1349 1349 bronze badges. During the development concepts from the domain will be incorporated with the help of business experts and engineers.
Add a comment 1 answer active oldest votes. I am confused about domain driven design approaches. This is an attempt to collect all info about domain driven design the world knows in dynamic languages python ruby php etc. Not only ddd but all worthy info about layered and clean architecture with separation of business logic from infrastructure and framework code.
What django can bring to this is focus. The idea is to move django app related stuff under infrastructure folder so ideally an app folder structure would be. This is a proof of concept to model django apps on a domain driven design way. For an example lets take the code of polls example in django tutorial there are two models.