I want to create an E-commerce website. So it will have 2 sides. Front side of the Website & Back side (or Admin Panel). I want to create this using Codeigniter framewrok. How do I set up the folder structure of the site to maintain both sides of the site ?
The front side of the site url should be like
And the url of the back side should be like
Any suggestions?
Thanks in advance.
This is a pretty simple setup that coule be handled in different ways. I would also suggest what oso96_2000 suggested. I have just done what I would do with the views folder. In the views folder I would put a admin and public folder. inside each folder is a new folder for each controller and inside that is the view for each in the controller. Hope this makes sense.
and so on. then you would have to make sure you put some checks in to make sure the user has access to admin controllers