Generally, my development has only covered small to medium size companies and e commerce sites.
My next project will encompass say 30 sites - however, they'll have about 95% in common with each other. I want them to have 1 'brain' that means I can roll out changes, updates to the framework etc only once.
I wonder if the Stack Overflow family of sites do this (superuser, stackoverflow, serverfault etc).
My languages/platforms of choice are PHP 5.3, MySQL 5 and the Kohana Framework.
The brain should have
- 1 admin system that can handle every site
- all templates exist in the brain - however they have placeholders, for example, title, logo, etc
- A way so I can roll out any update to the global templates will automatically filter out to all the other sites.
I realise this would put a lot of stress on the brain, so I'd have to use server side caching a lot.
How would I have each domain access the brain, so for example:
http://www.mysite2.com/products/something
silently accessed http://www.mothership.com/mysite2/products/something
And would that be the best way to do it? Do you have any tips? Am I on the right track?
Feel free to ask me any more specifics.