DEV Community

Discussion on: My Favorite PHP books

Collapse
 
tofl profile image
Tom F.

Just a small question : If you create a website using the DDD concept, does it mean it's impossible to a framework like Symfony and it's you who have to write the whole code ?

Collapse
 
franiglesias profile image
Fran Iglesias • Edited

Not at all. The domain layer is old good PHP, but you can use Symfony to implement all sort of things at the infrastructure level. The key here is to apply the Dependency Inversion Principle.

Collapse
 
tofl profile image
Tom F.

Okay. As you probably guessed I don't know anything about DDD but I'll try to find some time to read about it.

Thread Thread
 
franiglesias profile image
Fran Iglesias

I would strongly recommend two of the books mentioned here as a good starting points: DDD in PHP and The Clean Architecture.