x all the things: total content control

95
THE LEADER IN DRUPAL PLATFORM DESIGN AND DEVELOPMENT Sunday, November 4, 12

Upload: phase2

Post on 10-May-2015

498 views

Category:

Documents


3 download

DESCRIPTION

Tim Cosgrove and Joe Turgeo

TRANSCRIPT

Page 1: X All the Things: Total Content Control

THE LEADER IN DRUPAL PLATFORM DESIGN AND DEVELOPMENT

Sunday, November 4, 12

Page 2: X All the Things: Total Content Control

X ALL THE THINGSTOTAL CONTENT CONTROL

JOE TURGEON X TIM COSGROVE

Sunday, November 4, 12

Page 3: X All the Things: Total Content Control

WHO THIS IS FOR• Developers

• Project Owners

• Multilingual Site Creators

• Content Developers

• Site Builders

Sunday, November 4, 12

Page 4: X All the Things: Total Content Control

THE LEADER IN DRUPAL PLATFORM DESIGN AND DEVELOPMENT

Sunday, November 4, 12

Page 5: X All the Things: Total Content Control

@arithmetric

[email protected]

Solutions Architect

JOE TURGEON

@timcosgrove

[email protected]

Software Architect

TIM COSGROVE

Sunday, November 4, 12

Page 6: X All the Things: Total Content Control

THE CLIENT

Sunday, November 4, 12

Page 7: X All the Things: Total Content Control

Sunday, November 4, 12

Page 8: X All the Things: Total Content Control

“BRAND Z”• Large multinational consumer products company

• $9.7 billion in sales annually

• Nearly $1 billion in online sales

• Operates in about 150 countries, about 50 online

• Sites in about 30 languages

Sunday, November 4, 12

Page 9: X All the Things: Total Content Control

EXISTING WEB SOLUTION• Custom-written commerce engine

• Also serves static content

• No CMS of any kind

• Non-commerce pages static HTML

Sunday, November 4, 12

Page 10: X All the Things: Total Content Control

BRAND Z WANTSALL THE THINGS!

Sunday, November 4, 12

Page 11: X All the Things: Total Content Control

image:http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

Sunday, November 4, 12

Page 12: X All the Things: Total Content Control

DRUPAL-BASED PUBLISHING PLATFORM• Multi-market

• Multi-lingual

• Multiple brands

• Interfaces with existing ecommerce system

Sunday, November 4, 12

Page 13: X All the Things: Total Content Control

BRAND Z PLATFORM CONCEPT

Engli

sh: b

mwu

sa.co

m

Span

ish: b

mwu

sa.co

m/e

s

Germ

an: b

mw.

chFr

ench

: bm

w.ch

/frIta

lian:

bm

w.ch

/itBMW brand sites

BMW US site BMW Switzerland site

Mini brand sites

Engli

sh: m

inius

a.com

Span

ish: m

inius

a.com

/es

Mini US site

Engli

sh: m

ini.ca

Fren

ch: m

ini.ca

/fr

Mini US site

Sunday, November 4, 12

Page 14: X All the Things: Total Content Control

PLATFORM OBJECTIVES

Sunday, November 4, 12

Page 15: X All the Things: Total Content Control

ALL THE CONTENT!• Subject to workflow

• Able to be translated

• Able to be saved to multiple revisions, including drafts

Sunday, November 4, 12

Page 16: X All the Things: Total Content Control

image:http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

Sunday, November 4, 12

Page 18: X All the Things: Total Content Control

screenshot:https://www.bmwusa.com/Secured/Content/Forms/Login.aspx

Sunday, November 4, 12

Page 19: X All the Things: Total Content Control

BATCHED CONTENT MANAGEMENT• Preview whole groups of content updates together

• Publish, unpublish, and manage the workflow state of whole groups of content en masse

Sunday, November 4, 12

Page 20: X All the Things: Total Content Control

Sunday, November 4, 12

Page 21: X All the Things: Total Content Control

FLEXIBLE LAYOUTS• Select different templates to use for the same content type

• Allow users to define complex inputs for the output of structured content

• Allow users to build basic templates themselves and to reuse them

Sunday, November 4, 12

Page 22: X All the Things: Total Content Control

Sunday, November 4, 12

Page 23: X All the Things: Total Content Control

CONSISTENT, INTUITIVE UI• CMS users with only basic training

• CMS will be used worldwide

Sunday, November 4, 12

Page 24: X All the Things: Total Content Control

Sunday, November 4, 12

Page 25: X All the Things: Total Content Control

Sunday, November 4, 12

Page 26: X All the Things: Total Content Control

Sunday, November 4, 12

Page 27: X All the Things: Total Content Control

PLATFORM GOALS• Content layout is flexible

• All content is translatable

• Content is subject to workflow

• The CMS UI is consistent and intuitive

Sunday, November 4, 12

Page 28: X All the Things: Total Content Control

image:http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

Sunday, November 4, 12

Page 29: X All the Things: Total Content Control

LAYOUT ALL THE THINGS!

Sunday, November 4, 12

Page 30: X All the Things: Total Content Control

OBJECTIVES

Sunday, November 4, 12

Page 31: X All the Things: Total Content Control

MULTIPLE LAYOUTS IN CONTENT• Layouts are independent of content type

• Multiple layouts can be used in one content type

• Editors can define own layouts in CMS

Sunday, November 4, 12

Page 32: X All the Things: Total Content Control

Sunday, November 4, 12

Page 33: X All the Things: Total Content Control

SOLUTION: TEMPLATE FIELD• Allows a single field to contain many pieces of data

• Each template has HTML, optional CSS & JS

• Can be in code, or DB; can be overridden

• Because it’s a field, can be revisioned

Sunday, November 4, 12

Page 34: X All the Things: Total Content Control

Sunday, November 4, 12

Page 35: X All the Things: Total Content Control

Sunday, November 4, 12

Page 36: X All the Things: Total Content Control

Sunday, November 4, 12

Page 37: X All the Things: Total Content Control

Sunday, November 4, 12

Page 38: X All the Things: Total Content Control

Sunday, November 4, 12

Page 39: X All the Things: Total Content Control

OTHER BENEFITS• Allows node-specific layouts, even within one content type

• Layouts can be shared across content types

Sunday, November 4, 12

Page 40: X All the Things: Total Content Control

MULTIPLE LAYOUTS IN PAGES• Layout of a single content type may change significantly

from node to node or even revision to revision

• Layouts need to be attached to node for workflow, etc.

Sunday, November 4, 12

Page 41: X All the Things: Total Content Control

CONTROL OVER BLOCKS • Content editors need to create blocks freely

• Need to be able to place blocks as part of page content

• Need to be able to embed blocks in other content

Sunday, November 4, 12

Page 42: X All the Things: Total Content Control

SOLUTION: BLOCK REFERENCE• Insert blocks into nodes as field content

• In combination with a content block solution, allows reusable block content to be laid out in arbitrary layouts

Sunday, November 4, 12

Page 43: X All the Things: Total Content Control

Sunday, November 4, 12

Page 44: X All the Things: Total Content Control

Sunday, November 4, 12

Page 45: X All the Things: Total Content Control

SOLUTION: EMBEDABBLES • Allows block content to be placed into rich text contexts

• Effectively allows revisioning of block placement within that context

Sunday, November 4, 12

Page 46: X All the Things: Total Content Control

Sunday, November 4, 12

Page 47: X All the Things: Total Content Control

Sunday, November 4, 12

Page 48: X All the Things: Total Content Control

Sunday, November 4, 12

Page 49: X All the Things: Total Content Control

Sunday, November 4, 12

Page 50: X All the Things: Total Content Control

Sunday, November 4, 12

Page 51: X All the Things: Total Content Control

Sunday, November 4, 12

Page 52: X All the Things: Total Content Control

image:http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

Sunday, November 4, 12

Page 53: X All the Things: Total Content Control

TRANSLATE ALL THE THINGS!

Sunday, November 4, 12

Page 54: X All the Things: Total Content Control

OBJECTIVES

Sunday, November 4, 12

Page 55: X All the Things: Total Content Control

ALL CONTENT IS TRANSLATABLE• Body content, block content, menu items, form labels, and

any other visible text

• Related translations grouped and accessible from the source node

Sunday, November 4, 12

Page 56: X All the Things: Total Content Control

“SUBSCRIPTION” VS “LOCALIZATION”• Subscribed content adopts a specific piece of content from

another language

• Localized content begins as a copy from another language, but can be edited independently and diverge

Sunday, November 4, 12

Page 57: X All the Things: Total Content Control

EACH TRANSLATION IS DISTINCT• Translations may not be literal

• The version of content for a particular market/language should be managed separately from other markets/languages

Sunday, November 4, 12

Page 58: X All the Things: Total Content Control

Sunday, November 4, 12

Page 59: X All the Things: Total Content Control

Sunday, November 4, 12

Page 60: X All the Things: Total Content Control

Sunday, November 4, 12

Page 61: X All the Things: Total Content Control

SOLUTION: CONTENT TRANSLATION + I18N

Sunday, November 4, 12

Page 62: X All the Things: Total Content Control

Sunday, November 4, 12

Page 63: X All the Things: Total Content Control

SOLUTION: CUSTOM EXTENSION FOR SUBSCRIPTIONS + UI ENHANCEMENTS

Sunday, November 4, 12

Page 64: X All the Things: Total Content Control

Sunday, November 4, 12

Page 65: X All the Things: Total Content Control

SOLUTION: DOMAIN

Sunday, November 4, 12

Page 66: X All the Things: Total Content Control

Sunday, November 4, 12

Page 67: X All the Things: Total Content Control

SOLUTION: DOMAIN CUSTOM EXTENSION

Sunday, November 4, 12

Page 68: X All the Things: Total Content Control

POTENTIAL DRUPAL 8 IMPROVEMENTS • Integrate more functionality from i18n in core

• Make entities translatable

• Simplify UI for managing content translations

Sunday, November 4, 12

Page 69: X All the Things: Total Content Control

image:http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

Sunday, November 4, 12

Page 70: X All the Things: Total Content Control

REVISION ALL THE THINGS!

Sunday, November 4, 12

Page 71: X All the Things: Total Content Control

REVISIONS?• More like “versions”

• Keep old copies of content

• Ideally, work on multiple versions of content at once

Sunday, November 4, 12

Page 72: X All the Things: Total Content Control

WORKFLOW?• Drupal has “unpublished” and “published”

• Add more states, like “approved” or “needs edits”

• Control access to each of those states

Sunday, November 4, 12

Page 73: X All the Things: Total Content Control

CORE DRUPAL REVISIONS• Only saves previous copies

• Can’t edit two copies independently

• No working drafts

• Only applies to nodes

• Only core ‘workflow’ states

Sunday, November 4, 12

Page 74: X All the Things: Total Content Control

ALL THE THINGS? • Nodes

• Menus

• Block Content

• Block Placement

Sunday, November 4, 12

Page 75: X All the Things: Total Content Control

NODE ALL THE THINGS!• Can be translated

• Drupal takes care of basic revisions

• Basic workflow needs met

Sunday, November 4, 12

Page 76: X All the Things: Total Content Control

MENUS• Drupal Menus are not strictly content

• No publishing, unpublishing

• Behavior can be unpredictable and confusing for content editors

Sunday, November 4, 12

Page 77: X All the Things: Total Content Control

SOLUTION: MENU FIELD• Menu-like content as a field

• Translatable, revisionable

• Mirrors Drupal native menus

• Flexible menu content - rich text

Sunday, November 4, 12

Page 78: X All the Things: Total Content Control

Sunday, November 4, 12

Page 79: X All the Things: Total Content Control

Sunday, November 4, 12

Page 80: X All the Things: Total Content Control

SOLUTION: NODEBLOCK

Sunday, November 4, 12

Page 81: X All the Things: Total Content Control

SOLUTION: STATE FLOW • Highly configurable workflow solution

• API-driven, developer-friendly

Sunday, November 4, 12

Page 82: X All the Things: Total Content Control

have working draft here

Sunday, November 4, 12

Page 83: X All the Things: Total Content Control

REVISION TAGGING• Label each revision

• All content with that tag can be acted on

• Preview site with different tags

Sunday, November 4, 12

Page 84: X All the Things: Total Content Control

Sunday, November 4, 12

Page 85: X All the Things: Total Content Control

Sunday, November 4, 12

Page 86: X All the Things: Total Content Control

Sunday, November 4, 12

Page 87: X All the Things: Total Content Control

Sunday, November 4, 12

Page 88: X All the Things: Total Content Control

POTENTIAL DRUPAL 8 IMPROVEMENTS• Entities Everywhere

• Content Staging Intiative and Site Preview System

Sunday, November 4, 12

Page 89: X All the Things: Total Content Control

LESSONS

Sunday, November 4, 12

Page 93: X All the Things: Total Content Control

THANKS.

Sunday, November 4, 12

Page 94: X All the Things: Total Content Control

@arithmetric

[email protected]

Solutions Architect

JOE TURGEON

@timcosgrove

[email protected]

Software Architect

TIM COSGROVE

QUESTIONS?

Sunday, November 4, 12