Multi-Headed Drupal

by Larry Garfield

Thursday 23 August 2012

@Crell

What we do

Multi-Headed Drupal

Case study

Drupal University

I hate my life...

How do we do that?

Let us count the ways...

The purpose of this session is to confuse you with options, then unconfuse you with guidelines

Not rules, more like guidelines

Separate sites

Separate sites

Separate sites

Benefits

Drawbacks

Features.module

Install profiles

Install profiles

+

Features

=

Distributions

Distributions

Example: Field Museum Microsites

Multi-site

Multi-site

/
  sites/
    default/
      settings.php
    www.drupal.edu/
      settings.php
    biology.drupal.edu/
      settings.php
    

Multi-site

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
    

Multi-site

Benefits

Drawbacks

If you have one server admin team...

... use Multi-site

If you have many server admin teams...

... use Separate sites

Example: Washington University St. Louis

But you probably don't mean multiple sites anyway...

Domain Access

Domain Access

Domain Access: Basics

Domain Access: Basics

Domain Access: Settings overrides

Domain Access: Themes

Domain Access: Themes

Domain Access: Timezones

Domain Access: Node editing

Domain Access: Node editing

Domain Access: Node editing

Domain Access

Benefits

Drawbacks

Example: Environment America

Organic Groups

Organic Groups

Organic Groups: Access control

Organic Groups: Integration

Organic Groups: Group nodes

Organic Groups: Permissions

Organic Groups

Organic Groups

Benefits

Drawbacks

Example: Mystery University (in progress)

Talk about Organic Groups. Example: Can't talk about it, but CSUN.

Single-site

Just because it's different sites now doesn't mean it has to be

Just because you call it a "site" doesn't mean it is

What does "site" mean?

What does "site" mean?

Access control: Workbench Access

Variable themes: Options

Single-site

Benefits

Drawbacks

Example: Mt. Holyoke College

Mix and Match

Multi-site can host any combination of sites

Example: Barnard College

Decisions, decisions...

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 administration Domain Access, OG, Single-site
Shared content Domain Access, OG, Single-site
Per-department ACL Single-site, OG
Department autonomy Separate installs, multi-site (maybe OG)
Per-department Views Separate installs, multi-site (maybe OG)
Staggered migration Separate installs, multi-site, Domain Access, proxy server shenanigans
Per department theme Separate installs, Multi-site, Domain Access, OG
Inexperienced site admins Separate installs, Single-site

Remember what we said about guidelines

What did you think?

Locate this session on the DrupalCon Munich website

http://munich2012.drupal.org/program/sessions/multi-headed-drupal

Thank you!