I am using codeigniter for three of my websites. I use a seperate install for each as I am under the belief that as they grow they will each need there own server, and this setup just seems easier.
I am developing the adming backend for these three sites, and decided the best way to do this would be a fourth CI install on a completely different server/domain for security.
This way each morning I can login, see all the stats and admin tasks required for all of my sites, and I can conduct them from one place.
The problem with this is a requirement for duplicate code.. code from the models of each of my sites needs to in part be duplicated in the admin site.
Less than ideal, but does this really matter? Is there a better way around?
Thanks
CodeIgniter 2.* allows third-party packages, that can be anywhere on the server. If you have all your sites on different servers it could be a problem, but if you have them on one, you can use the to have shared code. Third-party packages are similar to modules, but do not have any routing.
For further information refer to this topic by Phil Sturgeon and to CodeIgniter user guide