I am looking to reduce redundancies in code shared across entire web sites. I have tinkered with several frameworks but cannot think of any that allow you to EASILY separate the framework code from the site code while sharing it to multiple sites at the same time.
What PHP frameworks can do this easily?
EDIT – I am trying to determine which frameworks are the easiest to share.. I was already guessing that nearly all could be shared, but which frameworks are geared towards sharing? It sounds like Yii recommends placing the framework code outside the site code, that is a good start.
If someone is sharing the same framework code across sites already, I would love to know about that.
Many can do this. For instance
YIIis supposed to be installed OUTSIDE of your www-root directory (httpdocs,/var/www/or something like that). You can use several sites to point to that base dir.Any framework (or part) that does not need specific settings for your site can be shared among multiple sites I guess.