CodeIgniter Forums
Are an admin area or user area considered as differents apps ? - 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: Are an admin area or user area considered as differents apps ? (/showthread.php?tid=40993)



Are an admin area or user area considered as differents apps ? - El Forum - 04-25-2011

[eluser]Rushino[/eluser]
Hello,

Was wondering... in codeigniter how do you do area or sections ? Are an admin area or user area considered as differents apps or should be in the same app ?

Are sessions and connection stuff are able to be cross used from an app to another ?

Thanks.


Are an admin area or user area considered as differents apps ? - El Forum - 04-25-2011

[eluser]oppenheimer[/eluser]
Check out this blog post by Phil Sturgeon:

<a href="http://philsturgeon.co.uk/blog/2009/07/Create-an-Admin-panel-with-CodeIgniter">http://philsturgeon.co.uk/blog/2009/07/Create-an-Admin-panel-with-CodeIgniter</a>


Are an admin area or user area considered as differents apps ? - El Forum - 04-25-2011

[eluser]Rushino[/eluser]
Thanks a lots dude very helpful.


Are an admin area or user area considered as differents apps ? - El Forum - 04-25-2011

[eluser]Eric Barnes[/eluser]
In my opinion you should have one app and then just use whatever auth system you want to restrict things. If you start building two apps that do the same thing you are basically going into a maintenance nightmare.


Are an admin area or user area considered as differents apps ? - El Forum - 04-25-2011

[eluser]InsiteFX[/eluser]
As Eric Barnes methioned above, One app with a frontend and a backend only for Admin.

InsiteFX


Are an admin area or user area considered as differents apps ? - El Forum - 04-26-2011

[eluser]Rushino[/eluser]
Alright. Thanks this make sense a lots.