Transcript
Page 1: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

1

Drupal 9 and Backwards

CompatibilityWhy now is the time to upgrade to Drupal 8

Angie @webchick Byron

Office of the CTO

Page 2: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary2

Page 3: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

3

Agenda

– Brief overview of Drupal

– History/evolution of Drupal releases

– Drupal 8, 9, and the future

– Practical advice for site builders

Page 4: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary4

Page 5: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary5

#1: Flexible framework

Page 6: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary6

#2: Amazing community

Page 7: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary7

#3: Cutting edge of technology

Page 8: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary8

Drupal 8: Overview

Graphic courtesy of

themesnap.com

Page 9: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary9

Modern, Object-Oriented PHP

• Cleaner

• Well structured

• Improved consistency

• Testable

• Design patterns

Page 10: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary10

Improved Theming

• Twig library

• Simplified syntax

• Separation of logic + presentation

• Improved Security

• Template Inheritance and Overrides

Page 11: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary11

htt

ps:/

/ww

w.s

lide

sh

are

.net/

phili

pnort

on42

/

Configuration Management

Page 12: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary12

You can build REAL sites, out of the box.

Page 13: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary13

You can build REAL sites, out of the box.

Page 14: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary14

Maturing contrib ecosystem

Page 15: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary15

Drupal 8 is now the go-to release for most agencies

Page 16: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary16

Numerous success stories.

Page 17: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary17

A history of Drupal release management

Page 18: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary18

Overview

Drupal 5

Jan 2007 - Jan 2011

Drupal 6

Feb 2008 - Feb 2016

Drupal 8

Nov 2015 - Drupal 10

Drupal 7

Jan 2011 - Drupal 9

Page 19: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

19

Consequences

– “It’s done when it’s done” meant no one knew when to

expect new features / plan for migrations

– Little incentive for funded core dev = burnout

–Coupling new features with backwards compatibility breaks

limited innovation in core product

– “We’ll break your code, not your data” = people often stayed

on release until EOL, then faced painful upgrade path

Page 20: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary20

D8 Semantic Versioning: New capabilities every 6 months

Drupal 8.2.0

October 5, 2016

• Content Moderation*

• Settings Tray*

• Date Ranges

• REST API++

Drupal 8.3.0

April 5, 2017

• CKEditor++

• New Status

Report

Drupal 8.4.0

October 4, 2017

• Media API

• Layout API

• jQuery/Symfony

3

Drupal 8.5.0

March 7, 2018

Layout Builder?

Demo Install?

Workspaces?

Drupal 8.1.0

April 20, 2016

• Migrate UI*

• Big Pipe

• Tours

• JS Testing

Page 21: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary21

*With* Backwards Compatibility!

https://dri.es/making-drupal-upgrades-easy-forever

Page 22: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary22

Introducing “LTS” releases / “security fixes only” stage

Page 23: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary23

Innovation through “experimental” modules

Page 24: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

24

Benefits

– Predictable release schedule that both end users and core

developers can plan and organize around.

– Site builders can acquire powerful new functionality without

reinventing site.

– Opportunities to get end-user feedback and evolve features

over time (vs. being “stuck” with whatever shipped in 8.0.0).

– Drupal 9 becomes just a normal “minor” release, with

backwards-compatibility layers dropped.

Page 25: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary25

Drupal 9

Page 26: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary26

Drupal 9: When? Here are the pre-requisites:

https://www.drupal.org/node/2608062

Page 27: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary27

Putting into practice

Page 28: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary28

#1: Know the release schedule.

https://www.drupal.org/core/release-cycle-overview

Page 29: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary29

Supported release

Supported releaseDevelopmentAlp

ha

Bet

aRC

Supported releaseDevelopmentAlp

ha

Bet

aRC

Supported releaseDevelopmentAlp

ha

Bet

aRC

Y1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11 Y2 M2 M3 M4 M5 M6 M7 M8

Page 30: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary30

#2: Keep abreast of forthcoming changes.

https://www.drupal.org/list-changes/drupal

Page 31: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary31

#2: Keep abreast of forthcoming changes.

https://groups.drupal.org/core

Page 32: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary32

#3: Understand what backwards-compatibility means.

https://www.drupal.org/core/d8-bc-policy

Page 33: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary33

#4: Read the release notes for “gotchas.”

e.g. https://www.drupal.org/project/drupal/releases/8.4.0

Page 34: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary34

#5: Preview the goals for 8.5.0 and beyond

https://www.drupal.org/core/roadmap

Migrate Media Layout API-First Workflow

Outside-In Out-of-the-Box JavaScript

Framework

Automated

Updates

Page 35: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary35

But, these things don’t happen without help!

Page 36: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary36

#6: Get involved!

https://www.drupal.org/core/roadmap

• Stable migration path

• oEmbed (e.g. YouTube) support

• Media Library

• JSON API

• Automatic Updates /

Improved Composer Support

• Layout Builder

• Workspaces

• Full-Site Previews

• Demo Content + Theme

• React vs. Vue vs. Web

Components vs…

Page 37: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary37

#6: Get involved!

https://www.drupal.org/getting-involved

Design /

Theming

Automated

tests / QA

PHP

Accessibility

Peer Review

Project

Management

Documentatio

nArchitecture

HTML / CSSJS User

Experience

Testing

Page 38: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary38

But I’m still on Drupal 7!

Page 39: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary39

If it’s working for you, that’s fine! (Until Drupal 9.)

But if D8 offers features you want, consider earlier adoption.

Page 40: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary40

Monitor the contributed modules you need.

https://www.drupal.org/project/issues/contrib_tracker

Page 41: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary41

Test the migration path.

https://www.drupal.org/docs/8/upgrade/upgrading-from-drupal-6-or-7-to-

drupal-8

Page 42: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

42

So, don’t delay; try Drupal 8 today!

https://www.drupal.org/8

https://www.drupal.org/docs/user_guide/en/index.html

https://api.drupal.org/api/drupal

Page 43: Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8

©2017 Acquia Inc. — Confidential and Proprietary43


Recommended