As a rule, my development covers only small and medium-sized companies and e-commerce sites.
My next project will include 30 sites, however they will have about 95% in common with each other. I want them to have a "brain", which means that I can deploy changes, updates for the framework, etc. Only once.
I wonder if this makes the site collection of Stack Overflow (superuser, stackoverflow, serverfault, etc.).
My languages / platforms of choice are PHP 5.3, MySQL 5, and the Kohana Framework.
The brain must have
- 1 admin system that can process each site
- all patterns exist in the brain - however, they have placeholders, for example, name, logo, etc.
- The way that I can perform any update for global templates is automatically filtered out on all other sites.
I understand that this will greatly affect the brain, so I will have to cache a lot on the server side.
How would I get access to every domain in the brain, for example:
http://www.mysite2.com/products/something
access to silence http://www.mothership.com/mysite2/products/something
And is this the best way to do this? Do you have any tips? Am I on the right track?
Feel free to ask me more.
php mysql kohana
alex
source share