M
M
magary42016-09-17 18:33:04
symfony
magary4, 2016-09-17 18:33:04

Simple Symfony project plus DDD?

I want to deal with DDD for a long time and start using it. According to the books where everything is too abstract, somehow it doesn’t work out very well,
if there is any simple project where you can see the implementation of this very DDD and understand the advantages of this approach?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dzubchik, 2016-09-22
@dzubchik

I recently encountered a similar problem, now we are trying to apply DDD practices in a symfony project. I advise you to look at the repositories:
https://github.com/codeliner/php-ddd-cargo-sample
https://github.com/dddinphp/blog-cqrs
https://github.com/TheBigBrainsCompany/symfony-cqr..
And also read articles and books :

  • Eric Evans - Domain Based Design
  • Vaughn Vernon - Implementing Domain-Based Design Methods (very cool book, more specific than the first one)
  • williamdurand.fr/2013/08/20/ddd-with-symfony2-maki... /
  • https://carlosbuenosvinos.com/doctrine-25-ddd-enti... /

X
xfg, 2016-09-18
@xfg

I didn’t see a simple one, ddd is still for enterprise solutions that can hardly be simple. Of all that I have seen, this example in Java is the most adequate https://github.com/citerus/dddsample-core
It seems like this example was checked by Eric Evans himself, the author of ddd. I myself am not familiar with Java, but at least from the example you can understand what should be approximately in the application, domain and infrastructure layers https://github.com/citerus/dddsample-core/tree/mas...
It may also be useful www.yiiframework.ru/forum/viewtopic.php?f=34&t=38264there I myself ask more experienced developers about ddd. Have a bunch of questions. The problem is further complicated by the fact that when you read SO, the view on the same things often diverges or the idea remains not completely clear and this confuses even more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question