Multiple Sites with same controllers and classes but different views.

#1
[eluser]Unknown[/eluser]
Hi,

Newbie alert :cheese: have just come across codeigniter the other day and from reading alot of the documentation and watching the videos I like what I see and am keen to get started on redeveloping our sites using Codeigniter.

I wanted to ask first if any one can recomend the best way to go about structuring the sites so I can re-use the same controllers and code for each site without duplicating the code. So each site would have the same named views but the html in the views would differ.
The reason for this would be if I had to make a change to a controller or class I would only have to copy it once and not X times for each site. I guess I could do it with symbolic links under linux but was wondering if there was a better way ?

Any help or advice much appreciated.


Messages In This Thread
Multiple Sites with same controllers and classes but different views. - by El Forum - 11-10-2010, 04:26 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.