Multiple sites, same codebase?

#7
[eluser]Adam Griffiths[/eluser]
[quote author="jbawarren" date="1218528614"]Thanks for your replies. Adam, how do you suggest I abstract the differences from the common Controller functions? Would it be a sub-controller? So, if restaurant extends Controller, then would differences extend restaurant? I'm just trying to get an idea of a best practice for this type of thing.[/quote]

That's how I would do it. Just extend the restaurant controller for each site.


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.