Platform.sh
Presented by Larry Garfield (@Crell)
implements Huggable
Stop me if you've heard this one...
How can we square that circle?
Not rules, more like guidelines
And there's even a Drupal 8 version (That's a good thing!)
/
sites/
default/
settings.php
www.drupal.edu/
settings.php
biology.drupal.edu/
settings.php
sites/sites.php
$sites['www.drupal.edu'] = 'main';
$sites['fapi.api.drupal.edu'] = 'fapi';
$sites['multisite.building.drupal.edu'] = 'multisite';
$sites['fundraising.drupalassociation.com'] = 'da_fundraising';
/
sites/
sites.php
default/
settings.php
www.drupal.edu/
settings.php
fapi/
settings.php
da_fundraising/
settings.php
If you have one server admin team...
... use Multi-site
If you have many server admin teams...
... use Separate sites
Modern deployment practices mitigate the first
You probably don't mean
multiple sites anyway...
Do you even need multiple "sites"?
Just because it's different sites now doesn't mean it must be
Just because you call it a "site" doesn't mean it is
What does "site" even mean?
hook_custom_theme()
Multi-site can host any combination of sites
If you want... | Probably means... |
---|---|
Multiple core versions | Separate installs |
Different content types | Separate installs, multi-site |
Single user base | Domain Access, OG, Single-site |
Subdomains | Separate installs, multi-site, Domain Access |
One domain | OG, Single-site |
Simplified server admin | Domain Access, OG, Single-site |
Shared content | Domain Access, OG, Single-site |
Per-department ACL | Single-site, OG |
Department autonomy | Separate installs, multi-site (less so OG) |
Per-department Views | Separate installs, multi-site (less so OG) |
Staggered migration | Separate installs, multi-site, Domain Access, proxy server? |
Per department theme | Separate installs, Multi-site, Domain Access, OG |
Inexperienced site admins | Separate installs, Single-site |
Remember: guidelines
Director of Runtimes and Integrations Platform.sh
Continuous Deployment Cloud Hosting
Stalk us at @PlatformSH
Thanks to Palantir.net for helping develop these slides