CodeIgniter Forums
multiple applications sharing models - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: multiple applications sharing models (/showthread.php?tid=42004)



multiple applications sharing models - El Forum - 05-23-2011

[eluser]jmb727[/eluser]
I want to develop my own CMS using CodeIgniter and I've got two application folders, for the frontend and backend respectively.

Code:
admin/
   backend/
   .htaccess
   index.php
frontend/
system/
user_guide/
index.php

Backend/ and Frontend/ are application directories.

Is this the best way to achieve this? also, i imagine the backend and the frontend applications sharing certain components & resources (css files, models, maybe other stuff to), how could i achieve this?

Thanks.


multiple applications sharing models - El Forum - 05-23-2011

[eluser]Frank Wong[/eluser]
Maybe using simlinks for certain directories such as models, would work for you?