Hey everyone, I'm working on a test project in PHP and trying to follow good OOP practices. I've separated my concerns using DTOs, a repository, and a validator, but I want to make sure I'm on the right track. Here are a few things I'm wondering about:
- Am I structuring my classes correctly (e.g., DTOs, Controller, Repository)?
- Is my validation logic in the right place, or should it be handled differently?
- Any improvements in terms of error handling and data transformation?
- Other best practices I might be missing?
https://github.com/richard9004/TvSeriesApiApp/tree/master
I’d love any insights or suggestions from experienced PHP developers!
submitted by /u/RichardMendes90
[link] [comments]
from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/DMalYqG