53
WHEN WILL DRUPAL DIE? Chris Shattuck @chris_shattuck [email protected]

When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Embed Size (px)

Citation preview

Page 1: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

WHEN WILLDRUPAL DIE?

Chris Shattuck @chris_shattuck

[email protected]

Page 2: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

WHEN WILLDRUPAL DIE?

Chris Shattuck @chris_shattuck

[email protected]

Page 3: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Darth Blogger

Page 4: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Darth Blogger

Page 5: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Backdrop

Page 6: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Backdrop

Page 7: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

?

Page 8: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

1 The Competition

(Project Realtime)

Page 9: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014
Page 10: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

http://plnkr.co

Page 11: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

http://vimeo.com/36579366 Live Coding - Bret Victor

Page 12: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

MEAN Stack

MongoDB Express.js Angular.js

Node.js

Page 13: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Drupal Stack

Apache MySQL

PHPJavaScript

jQuery Symfony

Page 14: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Apache (C++) MySQL

PHPJavaScript

jQuery Symfony

!

Node.js MongoDB JavaScript

Angular.js Express.js

SERVER

DATABASE

SERVER-SIDE LANGUAGE

CLIENT-SIDE LANGUAGE

CLIENT-SIDE FRAMEWORK

SERVER-SIDE FRAMEWORK

Page 15: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Apache (C++) MySQL

PHPJavaScript

jQuery Symfony

!

Node.js MongoDB JavaScript

Angular.js Express.js

SERVER

DATABASE

SERVER-SIDE LANGUAGE

CLIENT-SIDE LANGUAGE

CLIENT-SIDE FRAMEWORK

SERVER-SIDE FRAMEWORK

1

2

3

4

1

Page 16: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Woah, only one language?

Page 17: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Meteor

Page 18: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

(Meteor example)

Page 19: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014
Page 20: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Github vs. Drupal.org 100 pages of comments57 points of comparison

https://groups.drupal.org/node/313068

Page 21: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Realtime application building Realtime interaction DRY to the extreme

(Do not Repeat Yourself)

One language = Faster to learn 2-50x faster on the server

The Competition

Page 22: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Drupal

Project Realtime

Page 23: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

2 The Incumbent

(i.e. Drupal!)

Page 24: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

5…6…7…82007

20082011

2015

28% of Universitieshttp://w3techs.com/technologies/segmentation/tld-edu-/content_management

150 Governmentshttps://groups.drupal.org/government-sites

23 Fortune 500 Main Siteshttp://www.zyxware.com/articles/4351/list-of-fortune-500-companies-using-drupal-for-their-websites

!

Stable release cycles

Securit

y + bug fixes

Securit

y + bug fixes

Securit

y + bug fixes

Page 25: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

People use Drupal

People make

Drupal bette

r People tell us w

hat’s needed

Established audience = Feedback loop

Page 26: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Mature community (for the most part)

Camps, Cons, User Groups Drupal Association Governance Group

Initiatives Code of Conduct Working Groups

Page 27: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Add page programmatically

Create a list of content

Alter a form

Allow manipulation of your code

Share code with others

Use hook_menu()

Use Views

Use hook_form_alter()

Create an alter hook

Share a module on D.o

Best Practices

Page 28: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Node.js

Angular.js

Hype Cycle is (probably) Over

Page 29: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

TestBot

Patches require tests Over 500 tests run on every patch

Hours of man-hours saved each run 6000 runs made every month

http://qa.drupal.org

Page 30: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Stable releases Established audience Mature community

Automation Best practices

On the Plateau of Productivity

The Incumbent

Page 31: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Stable releases Established audience Mature community

Automation Best practices

On the Plateau of Productivity

Drupal

Realtime application building Realtime interaction DRY to the extreme

One language(faster to learn)

Project Realtime

Page 32: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Stable releases Established audience Mature community

Automation Best practices

On the Plateau of Productivity

Drupal

Realtime application building Realtime interaction DRY to the extreme

One language(faster to learn)

Project Realtime

CHANGE

Page 33: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

The problem with big changes is that they’re hard to understand.

Big changes probably have to be made to stay relevant.

Big changes won’t happen if the community doesn’t support it.

Page 34: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

1. OOP 2. 3rd Party Libraries

Controversial Changes in Drupal 8

Page 35: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

OOP?

Page 36: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Procedural Object-oriented

Procedural vs. Object-oriented

Page 37: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

OOP Benefits:1. Clearer interfaces

2. Unit testing 3. Greater complexity can be managed

4. Components are more re-usable 5. Community of users grows

Page 38: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

The cost of OOP

1. Re-training of the Drupal developer community

2. Added complexity in the short-term

Page 39: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

3rd Party Libraries

Page 40: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014
Page 41: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014
Page 42: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014
Page 43: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

composer.json file from Drupal 8

Page 44: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

3rd Party Library Benefits:

1. Less Drupal-specific code to manage 2. More sharing between communities

Page 45: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

The cost of 3rd Party Libraries

1. Dashing away of the work of core developers

2. Dependency on other communities 3. Changes have to be approved by

library owners

Page 46: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

The End User Workflow

Step 1: Copy and paste from example code until it works.

Step 2: Memorize certain patterns enough to write code from memory.

Step 3: Learn more about the underlying structures when needed.

Page 47: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Is Drupal Doomed?

Page 48: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

What is Drupal?Are we still Drupal if we use OOP?

Are we still Drupal if we use Symfony? Are we still Drupal if we convert all our PHP

to JavaScript and use Node.js? Are we still Drupal if it becomes much

harder to contribute?

Page 49: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

When will Drupal die?

Are big changes needed to manage Drupal’s growing complexity?

Are big changes needed to keep Drupal relevant to the users it currently serves?

Will we be able to make big changes with the support of the community in the future?

Page 50: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Drupal

Project Realtime

Page 51: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Drupal

Project Realtime

Dru

pal 8 Dru

pal 8

.1.0

Dru

pal 9

Page 52: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Chris Shattuck @chris_shattuck

[email protected]

Thank you, you’re awesome!

Page 53: When Will Drupal Die? Keynote talk from Bay Area Drupal Camp 2014

Chris Shattuck @chris_shattuck

[email protected]

Thank you, you’re awesome!