Warsztaty ze Sławkiem Sobótką na temat ewolucji domeny podczas wprowadzania nowych reguł biznesowych dotykajacych dwa istniejące już Bounded Con... Ekhem, Autonomiczne Modele :D
Problemem Spaghetti Code jest brak wiedzy o możliwych alternatywach. Zadaj sobie szczere pytanie: Jesteś w stanie zdefiniować architekturę jakiegokolwiek modułu Twojego systemu?
I can recommend You a great descibed glossary of Bounded Context Relationships, meaning integration patterns. Each contains simple example, why to use it, and pros/cons of usage. ddd-practitioners.com/home/glossary/…
ContextMaps allows your team make mature decisions about how get data from another module/BoundedContext. Maps are used in DDD but also useful in simpler apps without DDD. You can use contextmapper.org to do such Maps. github.com/ContextMapper/…
Did you know... Discovering business boundries is more important than creating an aggregate?
Missing or bad Strategic DDD is a root cause of most of software problems. Without business knowledge you cannot create good: Modules, Modules Integration/Communication, Aggregates. #DDD
Did you know... ChatGPT can generate tests for you using several testing frameworks?
Just type business rules, and ask him to generate tests using PHPUnit/behat/Codespec. Along with tests you can also get a generated service with complete business rules!
👉 Entity = Identifiable, has behaviors, transactionable (Product, User) 👉 Aggregate = Entity + has root, aggregates other entities, has boundaries, encapsulates business rules (Order and Products, Cart and LineItems) #DDD#aggregate
Spys/Fakes do the same job - testing-tips.sarvendev.com/#/?id=fake. Take a look - same test, less code, cleaner code = happier developer! 👊 #php#testing#protip