book
IDDD_Samples
Our great sponsors
book | IDDD_Samples | |
---|---|---|
7 | 6 | |
3,255 | 3,646 | |
1.9% | - | |
3.5 | 0.0 | |
2 months ago | 8 months ago | |
Python | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
book
-
Can you suggest a Git repo using DDD
Repository
-
[ Design / Architecture ] Applying dependency inversion, Flask vs Django (from Cosmic book)
In chapter 2 of the Cosmic book, they talk about using Flask + SQLAlchemy in classic/imperative mode to enable the application of the dependency inversion principle (DIP).
-
How exactly to structure big projects?
I would recommend you using clean architecture. You can start with the cosmic book.
-
My developer journey so far. Advice is appreciated.
Continue with clean architecture in python
-
Persistence and domain model separation using SQLAlchemy ORM
If you find this subject interesting, here is full implementation: https://github.com/jorzel/opentable/. I also recommend great book and code repository that was inspiration for writing this post: https://github.com/cosmicpython/book.
- Where to pick up non-beginner object-oriented design & Python?
-
Why isn't Dependency Inversion as common in Python as it is in Java?
As the author, I encourage you to read it for free on github https://github.com/cosmicpython/book
IDDD_Samples
-
I don't understand the use of both Entities and Value Objects for one-to-one relationships in Vaughn Vernon's repository, can someone explain?
Here is the direct link:https://github.com/VaughnVernon/IDDD_Samples/blob/master/iddd_collaboration/src/main/java/com/saasovation/collaboration/domain/model/forum/Discussion.java
- Can you suggest a Git repo using DDD
-
Domain-Driven Design – art of writing a good code (production ready example)
"domain" is real domain that contains business logic, "ddd" should be extracted to a common library (according to this example https://github.com/VaughnVernon/IDDD_Samples/tree/master/idd... and this one https://github.com/dddshelf/ddd)
Regarding to other issues, could you add little bit more concrete details just to check and consider possible solutions.
-
How to handle JPA's id when mapping DTO -> Entity
I try to apply DDD in my microservices, and will use a UUID generated by code as the primary key (based on how Vaughn Vernon defines a nextIdentity method in his repositories). That way, an entity always has an ID as soon as it is created. I don't need to persist it first in order for it to have an ID, and you can already identify the entity and use it in maps (since it has a hashcode generated solely by the ID), or you can publish domain events. Some nice benefits...
-
Where to find a "By the book" example of java spring boot.
I would say this: link
What are some alternatives?
py-must-watch - Must-watch videos about Python
cas - Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
injector - Python dependency injection framework, inspired by Guice
spring-petclinic - A sample Spring-based application
opentable - Clean architecture python application sample, with domain layer protected
cwa-server - Backend implementation for the Apple/Google exposure notification API.
voucherapi
authentication-microservice-with-domain-driven-design - Microservice for authentication with Domain Driven Design and CQRS
cookiecutter - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
sample-dotnet-core-cqrs-api - Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
ddd - Domain Driven Design PHP helper classes