Hello everyone!
I know and understand that the organization of folders is by convention, but I would like a technical explanation of which scenario to use according to the organization that I show below:
About CI4..., does it make sense to create a folder for each system, even if it is a distributed system for different areas of the company, but which can request common calls?
For example:
Scenario 1:
date/www/sites/
| -- system1/app/[controllers, Model, Views]
| -- system2/app/[controllers, Model, Views]
| -- system3/app/[controllers, Model, Views]
Scenario 2:
date/www/sites/
| -- general_system/app/
| -- controllers/
| -- system1.php
| -- system2.php
| -- system3.php
| -- Views/
| -- system1.php
| -- system2.php
| -- system3.php
What would be the best practice, scenario 1 or scenario 2?
Thank you all, see you later.