3 ms·
DTO everywhere and interfaces with only one implementation? And Domains. Because after reading 2 blog posts we're now doing Domain Driven Design!
by arkh 6y ago
DTO everywhere and interfaces with only one implementation? And Domains. Because after reading 2 blog posts we're now doing Domain Driven Design!
- onli 6y agoThat sounds like a different kind of pain ;) In my case it was just abstraction everywhere. Want to change one element on a site? Edit these 6 controller classes located in different subdirectories without any sense or order. Then find the template, just that there is no clear template, just PHP objects emitting HTML, JS and CSS code, so back to searching through the code. Oh, defining new functionality? Good luck finding out how to register it. It was just a ridiculously confused "MVP" pattern application for what amounted to a simple web app.