CodeIgniter Forums
A back office and several sites - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: A back office and several sites (/showthread.php?tid=50046)



A back office and several sites - El Forum - 03-12-2012

[eluser]Unknown[/eluser]
Hi.

I'm doing a manager for several sites but I don't know how to store them.

I have the front and the back office in my "application" folder.

I want to centralize every sites like that :
- /application
- /sites
-- /site_1
--- /css
--- /images
--- index.php

Is it a good idea or I have to put the "sites" folder in "application" or other ?

Thank you in advance.


A back office and several sites - El Forum - 03-14-2012

[eluser]Jan_1[/eluser]
If I do get you right have a look for "HMVC". So you can sort in folders as modules.


A back office and several sites - El Forum - 03-14-2012

[eluser]Unknown[/eluser]
Thank you for your response.

In fact, with no response, I thought about it differently and here I got:
- /application
-- /fr
-- /uk
-- /admin
-- /sites

I will generate all the sites on the fly with caching.

I do not know if this is the best way to do it but I think it's easiest to update...

What do you think ?