Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Shared SS Codebase .. please advise...


Go to End


2 Posts   1581 Views

Avatar
Rawbit

Community Member, 52 Posts

2 April 2009 at 7:01am

Edited: 02/04/2009 7:43am

I'm looking to turn SilverStripe into a 'Shared code base'. That is, for all of my projects/clients that will use SilverStripe all pull from one code location on my server. The ultimate advantage being when newer versions and bugfixes are released - I don't have to go to 100 locations to patch - I can simply do it in one place.

Anyone have some suggestions on how to approach this? I have done this before on another cms, but I want to adhere to SilverStripes architecture as close as possible. Right now am considering creating a new folder in the root called 'sites' that would have a folder for each client/project and the folder name would be their domain name (this is how I've approached this before). Then I'm wondering would it make sense to have a 'mysite' and 'themes' folder in each of these client folders.

Anyone have any suggestions on this?

It looks like this is close: http://doc.silverstripe.com/doku.php?id=modules:subsites but its only for subdomains, that and I don't want my client sites to manage their site in the same place as other clients. It would be ok if just I could manage an interface like the Subsites module though, and they didnt have this tab.

Avatar
dab

Community Member, 50 Posts

2 April 2009 at 11:12am

Edited: 02/04/2009 11:13am

You may keep cms, sapphire and jsparty in main folder, and upgrade them when you need. You may use links to this folders from your ss site folder. So when you upgrade version in main folder - all your linked folders will be the same. Hope it will helpful.