Multiple sites, same codebase?

#2
[eluser]Adam Griffiths[/eluser]
You could set folders in your controllers to be controllers/joescrabs, controllers/samsfish and controllers/megsbagles - then when accessing the site restaurants.com/joescrab you are "taken" to the joescrab folder, which would make use of the same models and possibly even the same views.

I know you said you didn't want too much duplication, but you could just put the differences in the controllers for each site into their own folder, and then use universal controllers in the controlers/ folder.

Just an idea.


Messages In This Thread
Multiple sites, same codebase? - by El Forum - 08-11-2008, 12:15 AM
Multiple sites, same codebase? - by El Forum - 08-11-2008, 03:20 AM
Multiple sites, same codebase? - by El Forum - 08-11-2008, 02:49 PM
Multiple sites, same codebase? - by El Forum - 08-11-2008, 09:10 PM
Multiple sites, same codebase? - by El Forum - 08-12-2008, 12:31 AM
Multiple sites, same codebase? - by El Forum - 08-12-2008, 03:56 AM
Multiple sites, same codebase? - by El Forum - 08-12-2008, 04:13 AM
Multiple sites, same codebase? - by El Forum - 08-13-2008, 08:26 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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