Space - the Final Straw
, tagged:
programming
php

Many projects I see are organised in a way seemingly advocated by the frameworks they use. This approach is generally:
src/ Command/ CleanOrdersCommand.php Controller/ PlaceOrderController.php Form/ SubmitCartForm.php Entity/ Order.php This is a good way to get started. Right!? You have a command, put it in the Command directory. You have a Doctrine Entity, put it in the Entity folder. Easy!
The problem with this approach is that
It’s not a good way once you have more than a trivial number of concepts… …projects always evolve to have more than a trivial number of concepts1… …the structural architecture of the project does not evolve… …because it’s following best practices dummy!
Read more...








