drupal 9 and backwards compatibility: why now is the time to upgrade to drupal 8

Post on 28-Jan-2018

2.366 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Drupal 9 and Backwards

CompatibilityWhy now is the time to upgrade to Drupal 8

Angie @webchick Byron

Office of the CTO

©2017 Acquia Inc. — Confidential and Proprietary2

3

Agenda

– Brief overview of Drupal

– History/evolution of Drupal releases

– Drupal 8, 9, and the future

– Practical advice for site builders

©2017 Acquia Inc. — Confidential and Proprietary4

©2017 Acquia Inc. — Confidential and Proprietary5

#1: Flexible framework

©2017 Acquia Inc. — Confidential and Proprietary6

#2: Amazing community

©2017 Acquia Inc. — Confidential and Proprietary7

#3: Cutting edge of technology

©2017 Acquia Inc. — Confidential and Proprietary8

Drupal 8: Overview

Graphic courtesy of

themesnap.com

©2017 Acquia Inc. — Confidential and Proprietary9

Modern, Object-Oriented PHP

• Cleaner

• Well structured

• Improved consistency

• Testable

• Design patterns

©2017 Acquia Inc. — Confidential and Proprietary10

Improved Theming

• Twig library

• Simplified syntax

• Separation of logic + presentation

• Improved Security

• Template Inheritance and Overrides

©2017 Acquia Inc. — Confidential and Proprietary11

htt

ps:/

/ww

w.s

lide

sh

are

.net/

phili

pnort

on42

/

Configuration Management

©2017 Acquia Inc. — Confidential and Proprietary12

You can build REAL sites, out of the box.

©2017 Acquia Inc. — Confidential and Proprietary13

You can build REAL sites, out of the box.

©2017 Acquia Inc. — Confidential and Proprietary14

Maturing contrib ecosystem

©2017 Acquia Inc. — Confidential and Proprietary15

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

©2017 Acquia Inc. — Confidential and Proprietary16

Numerous success stories.

©2017 Acquia Inc. — Confidential and Proprietary17

A history of Drupal release management

©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

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

©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

©2017 Acquia Inc. — Confidential and Proprietary21

*With* Backwards Compatibility!

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

©2017 Acquia Inc. — Confidential and Proprietary22

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

©2017 Acquia Inc. — Confidential and Proprietary23

Innovation through “experimental” modules

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.

©2017 Acquia Inc. — Confidential and Proprietary25

Drupal 9

©2017 Acquia Inc. — Confidential and Proprietary26

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

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

©2017 Acquia Inc. — Confidential and Proprietary27

Putting into practice

©2017 Acquia Inc. — Confidential and Proprietary28

#1: Know the release schedule.

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

©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

©2017 Acquia Inc. — Confidential and Proprietary30

#2: Keep abreast of forthcoming changes.

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

©2017 Acquia Inc. — Confidential and Proprietary31

#2: Keep abreast of forthcoming changes.

https://groups.drupal.org/core

©2017 Acquia Inc. — Confidential and Proprietary32

#3: Understand what backwards-compatibility means.

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

©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

©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

©2017 Acquia Inc. — Confidential and Proprietary35

But, these things don’t happen without help!

©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…

©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

©2017 Acquia Inc. — Confidential and Proprietary38

But I’m still on Drupal 7!

©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.

©2017 Acquia Inc. — Confidential and Proprietary40

Monitor the contributed modules you need.

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

©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

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

©2017 Acquia Inc. — Confidential and Proprietary43

top related