[eluser]zoeuf[/eluser]
Hello.
I am looking for information and "best practices" to create a complete website including a CMS.
Today, I have this website without CI, in the context of adding features, I decided to completely recode the website with this framework.
I'm fairly comfortable with CI, I trained myself to create a mini CMS in order to manage my current website.
I'm looking for a way to separate the data displayed to users and the CMS part of my website. What is the best way to do?
In my website, I have, for example, some articles.
I imagined create two controllers for those items : Articles.php and Cms_articles.php.
The views are then separated in two directories : one for the front-end and the other for the CMS.
Example: front/articles_display or cms/articles_display.
Is this the best way to manage my project?
Another question. On my current site, the CMS part is protected from access by a password in a htaccess file.
I don't know how to do that in the CI architecture. Is that possible?
Thank you.
Guillaume.