Welcome Guest, Not a member yet? Register   Sign In
Path organization
#1

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.
Reply


Messages In This Thread
Path organization - by fagnerdin - 01-21-2022, 12:39 PM
RE: Path organization - by kenjis - 01-23-2022, 12:27 AM
RE: Path organization - by fagnerdin - 01-25-2022, 11:11 AM
RE: Path organization - by fagnerdin - 01-25-2022, 11:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB