title: Codeigniter seperate front-end and back-end
body: <p>I'm currently learning myself the Codeigniter framework. I want to create a project that will have a front-end (which will be used by users) and a back-end (which would be used by administrators).</p>
  
  <p>I have looked through different articles, all of them suggest using HMVC to separate the public and admin controllers/views. I have also considered to create two separate projects, one for the public and one for the admin, both using the same database. </p>
  
  <p>I have tried to do research on which one of the methods mentioned above would be the best solution for a potentially large project, but could not come up with any sustainable answer.</p>
  
  <p>Is it possible that two separate CodeIgniter projects can access and use the same database simultaneously?</p>
  
  <p>Edit:
  The client project would mostly just query the database for results, whereas the admin project would be full CRUD.</p>
  
  <p>If indeed creating multiple projects would be the recommended way to go, the admin project would be running on a sub-domain i.e admin.example.com whilst the client project would be running on example.com</p>