Skip to main content
2 events
when toggle format what by license comment
Aug 13, 2016 at 15:15 comment added Cherif BOUCHELAGHEM I agree for most of what you have written, just I want to say that the RAD part of the frameworks helps so much to prototype the application, for decoupling we can rely on Domain Modeling even if PHP is not well known with this, if we have an active record implementation as data source layer we can consider it as DTO as uncle bob said is another kind of DTO and an adapter can mediate between domain layer and the data source commands also are another kind of DTOs the best practice is to couple the forms to Command (DTO) not the entity, almost every framework has DI container so use interfaces.
Mar 21, 2016 at 3:24 history answered Songo CC BY-SA 3.0