Welcome Guest, Not a member yet? Register   Sign In
Help with Application Architecture
#1

[eluser]webberoo[/eluser]
I have to build an admin panel for a small cluster of websites. Basically the structure of the sites is like this:

Landing Page
|
|__Site1
|
|__Site2
|
|__Site3

For a more detailed view see the attached jpg.

Each of the child sites share the same layout but are autonomous and live within the same domain ie domain.com/site1/

The way I was planning on implementing this design was by using code extinguisher to build the admin panels and then having a generic front controller template to generate the non admin side of the app.

Which would mean the file structure would be something like this:

root
-system
-codex1
-codex2
-codex3
-index.php
-backend1.php
-backend2.php
-backend3.php

As you can see this is a pretty messy application structure. This problem isn't a new one but seeing as I'm am new to this type of programming I'd appreciate some feedback on how some of you might go about building such an app.
#2

[eluser]webberoo[/eluser]
Really?

No one has any views on this?
#3

[eluser]sikkle[/eluser]
I think the way to go should be to just make the domain name be the key here. That will make you able to use one application, and just change the view file, so you gonna keep one controller dynamic and easy to maintain.

Someone else have another idea?

good luck.




Theme © iAndrew 2016 - Forum software by © MyBB