138
Site building · Kristof De Jaeger · 24 September 2013 Drupal 8 for site builders Tuesday 1 October 13

Drupal 8 for site builders

  • Upload
    swentel

  • View
    1.354

  • Download
    1

Embed Size (px)

DESCRIPTION

Slides from the Drupal 8 for site builders session at DrupalCon Prague.

Citation preview

Page 1: Drupal 8 for site builders

Site building · Kristof De Jaeger · 24 September 2013

Drupal 8 for site builders

Tuesday 1 October 13

Page 2: Drupal 8 for site builders

KRISTOF DE JAEGER

✤ @swentel

✤ Drupal and Android developer

✤ Drupal core co-maintainer Field API

✤ Lead maintainer Display Suite

Tuesday 1 October 13

Page 3: Drupal 8 for site builders

Tuesday 1 October 13

Page 4: Drupal 8 for site builders

OUTLINE

✤ Dries’s dream and a little Drupal history

✤ Big improvements in D8

✤ The little gems

✤ How’s contrib doing ?

✤ Q&A

Tuesday 1 October 13

Page 5: Drupal 8 for site builders

DRIES’S DREAM

Tuesday 1 October 13

Page 6: Drupal 8 for site builders

ELIMINATE MIDDLE MAN

Tuesday 1 October 13

Page 7: Drupal 8 for site builders

ELIMINATE MIDDLE MAN

“There is no reason open source software should be limited to technical users. (...) When was the last time you hired a web master to hand-craft your website and content using XHTML and CSS ?”

Tuesday 1 October 13

Page 8: Drupal 8 for site builders

GET RID OF THE DEVELOPER

Tuesday 1 October 13

Page 9: Drupal 8 for site builders

GET RID OF THE DEVELOPER

“My vision for Drupal is to do the same for the developers (role). I think there is a lot of room to eliminate the traditional web developer. Eliminating might be a bit too strong, but re-define the role of the web developer at least.”

Tuesday 1 October 13

Page 10: Drupal 8 for site builders

GET RID OF THE DEVELOPER

Tuesday 1 October 13

Page 11: Drupal 8 for site builders

GET RID OF THE DEVELOPER

“The way we try to accomplish this in Drupal is with a modular approach so users can build web sites quickly without having to do any programming. In other words, one does not have to be a true developer to build a feature rich and interactive website”

Tuesday 1 October 13

Page 13: Drupal 8 for site builders

GET RID OF THE DESIGNER ?

Tuesday 1 October 13

Page 14: Drupal 8 for site builders

GET RID OF THE DESIGNER ?

Tuesday 1 October 13

Page 15: Drupal 8 for site builders

WHO’S LEFT ?

✤ Robert Douglas

Tuesday 1 October 13

Page 16: Drupal 8 for site builders

WHO’S LEFT ?

“Eliminate the webmasters, programmers and designers, and who is left ?The core maintainers. Now we know your secret plan, Dries!”

✤ Robert Douglas

Tuesday 1 October 13

Page 17: Drupal 8 for site builders

ADD MORE POWER EVERY RELEASE

✤ add and use new technology

✤ move contrib to core

✤ contrib developers become core developers

✤ maybe even become core maintainers

Tuesday 1 October 13

Page 18: Drupal 8 for site builders

LINES OF CODE IN DRUPAL 1.0

Tuesday 1 October 13

Page 19: Drupal 8 for site builders

LINES OF CODE IN DRUPAL 1.0

4092

Tuesday 1 October 13

Page 20: Drupal 8 for site builders

LINES OF CODE IN DRUPAL 8.X

Tuesday 1 October 13

Page 21: Drupal 8 for site builders

LINES OF CODE IN DRUPAL 8.X

491794

Tuesday 1 October 13

Page 22: Drupal 8 for site builders

Tuesday 1 October 13

Page 23: Drupal 8 for site builders

IMPROVEMENTS IN D8

Tuesday 1 October 13

Page 24: Drupal 8 for site builders

VIEWS

Tuesday 1 October 13

Page 25: Drupal 8 for site builders

ADOPTION RATE

Tuesday 1 October 13

Page 26: Drupal 8 for site builders

ADOPTION RATE

Tuesday 1 October 13

Page 27: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

Tuesday 1 October 13

Page 28: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

Tuesday 1 October 13

Page 29: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011

Tuesday 1 October 13

Page 30: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011

Tuesday 1 October 13

Page 31: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

Tuesday 1 October 13

Page 32: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

Tuesday 1 October 13

Page 33: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

Tuesday 1 October 13

Page 34: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

Tuesday 1 October 13

Page 35: Drupal 8 for site builders

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

june 17 2011views RC 1

Tuesday 1 October 13

Page 36: Drupal 8 for site builders

ADOPTION RATE

Tuesday 1 October 13

Page 37: Drupal 8 for site builders

“Ladies and gentlemen,

you can now use D7”

ADOPTION RATE

Tuesday 1 October 13

Page 38: Drupal 8 for site builders

“Ladies and gentlemen,

you can now use D7”

18/11/11 - Daniel Wehner - Views maintainer

ADOPTION RATE

Tuesday 1 October 13

Page 39: Drupal 8 for site builders

ADOPTION RATE

Tuesday 1 October 13

Page 40: Drupal 8 for site builders

”You can now start to use D8”

ADOPTION RATE

Tuesday 1 October 13

Page 41: Drupal 8 for site builders

”You can now start to use D8”

22/12/12 - Daniel Wehner - Views maintainer

ADOPTION RATE

Tuesday 1 October 13

Page 42: Drupal 8 for site builders

Tuesday 1 October 13

Page 43: Drupal 8 for site builders

FANTASTIC BATTLE TESTER

✤ configuration management system

✤ plugins and annotations

✤ dependency injection

✤ routing system

✤ basically, everything that’s new or has changed in D8

Tuesday 1 October 13

Page 44: Drupal 8 for site builders

VIEWS 1

Tuesday 1 October 13

Page 45: Drupal 8 for site builders

VIEWS 1

Tuesday 1 October 13

Page 46: Drupal 8 for site builders

VIEWS IN CORE - FRONTPAGE

Tuesday 1 October 13

Page 47: Drupal 8 for site builders

VIEWS IN CORE - CONTENT MANAGEMENT

Tuesday 1 October 13

Page 48: Drupal 8 for site builders

VIEWS IN CORE - FILES MANAGEMENT

Tuesday 1 October 13

Page 49: Drupal 8 for site builders

SAY GOODBYE IN CONTRIB TO

✤ views (as a contrib module)

✤ views bulk operations - at least partly

✤ views_responsive_grid

✤ views_watchdog

✤ admin_views

✤ large parts of CTools

Tuesday 1 October 13

Page 50: Drupal 8 for site builders

FIELD API

Tuesday 1 October 13

Page 51: Drupal 8 for site builders

Tuesday 1 October 13

Page 52: Drupal 8 for site builders

Tuesday 1 October 13

Page 53: Drupal 8 for site builders

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 54: Drupal 8 for site builders

✤ dependency injection

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 55: Drupal 8 for site builders

✤ dependency injection

✤ constraints

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 56: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 57: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 58: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 59: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 60: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

✤ CMI

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 61: Drupal 8 for site builders

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

✤ CMI

✤ entity storage

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Page 62: Drupal 8 for site builders

Tuesday 1 October 13

Page 63: Drupal 8 for site builders

Tuesday 1 October 13

Page 64: Drupal 8 for site builders

NEW FIELD TYPES

Tuesday 1 October 13

Page 65: Drupal 8 for site builders

✤ entity reference

NEW FIELD TYPES

Tuesday 1 October 13

Page 66: Drupal 8 for site builders

✤ entity reference

✤ date

NEW FIELD TYPES

Tuesday 1 October 13

Page 67: Drupal 8 for site builders

✤ entity reference

✤ date

✤ link

NEW FIELD TYPES

Tuesday 1 October 13

Page 68: Drupal 8 for site builders

✤ entity reference

✤ date

✤ link

✤ email

NEW FIELD TYPES

Tuesday 1 October 13

Page 69: Drupal 8 for site builders

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

NEW FIELD TYPES

Tuesday 1 October 13

Page 70: Drupal 8 for site builders

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

✤ picture

NEW FIELD TYPES

Tuesday 1 October 13

Page 71: Drupal 8 for site builders

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

✤ picture

✤ user picture is a field

NEW FIELD TYPES

Tuesday 1 October 13

Page 72: Drupal 8 for site builders

FIELD UI✤ Display modes

✤ view modes

✤ form modes

✤ placeholders

✤ custom cardinality

✤ ‘field_’ prefix - hidden configuration

✤ fields are not reusable anymore across entity types

✤ entity based storage

✤ can have the same name on different entity types (e.g. body) Tuesday 1 October 13

Page 73: Drupal 8 for site builders

VIEW AND FORM MODES

Tuesday 1 October 13

Page 74: Drupal 8 for site builders

✤ UI to define them

VIEW AND FORM MODES

Tuesday 1 October 13

Page 75: Drupal 8 for site builders

✤ UI to define them

✤ integrates with views

VIEW AND FORM MODES

Tuesday 1 October 13

Page 76: Drupal 8 for site builders

✤ UI to define them

✤ integrates with views

✤ forms side

VIEW AND FORM MODES

Tuesday 1 October 13

Page 77: Drupal 8 for site builders

✤ UI to define them

✤ integrates with views

✤ forms side

✤ hidden region - instead of hidden widget

VIEW AND FORM MODES

Tuesday 1 October 13

Page 78: Drupal 8 for site builders

✤ UI to define them

✤ integrates with views

✤ forms side

✤ hidden region - instead of hidden widget

✤ user register

VIEW AND FORM MODES

Tuesday 1 October 13

Page 79: Drupal 8 for site builders

✤ UI to define them

✤ integrates with views

✤ forms side

✤ hidden region - instead of hidden widget

✤ user register

✤ contrib: inline entity form

VIEW AND FORM MODES

Tuesday 1 October 13

Page 80: Drupal 8 for site builders

Tuesday 1 October 13

Page 81: Drupal 8 for site builders

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 82: Drupal 8 for site builders

✤ All the field type modules in contrib

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 83: Drupal 8 for site builders

✤ All the field type modules in contrib

✤ some parts might still be in contrib, e.g. recurring dates

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 84: Drupal 8 for site builders

✤ All the field type modules in contrib

✤ some parts might still be in contrib, e.g. recurring dates

✤ references

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 85: Drupal 8 for site builders

✤ All the field type modules in contrib

✤ some parts might still be in contrib, e.g. recurring dates

✤ references

✤ view modes module

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 86: Drupal 8 for site builders

✤ All the field type modules in contrib

✤ some parts might still be in contrib, e.g. recurring dates

✤ references

✤ view modes module

✤ view modes part of Display Suite

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 87: Drupal 8 for site builders

✤ All the field type modules in contrib

✤ some parts might still be in contrib, e.g. recurring dates

✤ references

✤ view modes module

✤ view modes part of Display Suite

✤ all hidden field widgets modules

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 88: Drupal 8 for site builders

SNOWMAN

Tuesday 1 October 13

Page 89: Drupal 8 for site builders

SNOWMAN

✤ distribution

✤ common use cases

✤ only Drupal core

✤ no movement, but the idea can still happen

Tuesday 1 October 13

Page 90: Drupal 8 for site builders

GO TO EATON AND YOROY’S SESSION!INSTALL PROFILES FOR CORE: WE CAN DO IT

Wednesday - 17:00

Club H / Actency

Tuesday 1 October 13

Page 91: Drupal 8 for site builders

BLOCKS AND LAYOUTS

Tuesday 1 October 13

Page 92: Drupal 8 for site builders

BLOCKS AND LAYOUTS

Tuesday 1 October 13

Page 93: Drupal 8 for site builders

CHANGES

✤ multiple instances

✤ improved UI

✤ custom fieldable blocks

Tuesday 1 October 13

Page 94: Drupal 8 for site builders

Tuesday 1 October 13

Page 95: Drupal 8 for site builders

Tuesday 1 October 13

Page 96: Drupal 8 for site builders

Tuesday 1 October 13

Page 97: Drupal 8 for site builders

SAY GOODBYE IN CONTRIB TOO

✤ fieldable panels panes

✤ beans

Tuesday 1 October 13

Page 98: Drupal 8 for site builders

GO TO FREDERIC’S SESSION!BLOCKS FROM DROP.ORG TO DRUPAL 8 AND BEYOND

Wednesday - 10:45

Meeting Hall 1 - Commerce Guys

Tuesday 1 October 13

Page 99: Drupal 8 for site builders

MULTILINGUAL

Tuesday 1 October 13

Page 100: Drupal 8 for site builders

4 PILLARS OF CHANGE

✤ Language

✤ base language: everything has a language, delete english

✤ Interface

✤ built-in updates, friendlier interface

✤ Content

✤ entity translation in core, deprecating content translation module

✤ Config

✤ translation configuration, like say site name

Tuesday 1 October 13

Page 101: Drupal 8 for site builders

GO TO GABOR’S SESSION!MULTILINGUAL SITE TOOLS IN DRUPAL 8

Tuesday (today!) - 13:00

North hall / Exove

Tuesday 1 October 13

Page 102: Drupal 8 for site builders

WYSIWYG

Tuesday 1 October 13

Page 103: Drupal 8 for site builders

CKEDITOR

✤ ships with core !

✤ tight integration with text formats

✤ inline image uploads

Tuesday 1 October 13

Page 104: Drupal 8 for site builders

Tuesday 1 October 13

Page 105: Drupal 8 for site builders

Tuesday 1 October 13

Page 106: Drupal 8 for site builders

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 107: Drupal 8 for site builders

✤ wysiwyg module

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 108: Drupal 8 for site builders

✤ wysiwyg module

✤ insert module

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 109: Drupal 8 for site builders

✤ wysiwyg module

✤ insert module

✤ various stand alone wysiwyg modules

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

Page 110: Drupal 8 for site builders

INLINE EDITING

Tuesday 1 October 13

Page 111: Drupal 8 for site builders

EDIT MODULE

✤ content is also building

✤ integrates with Field API

✤ integrates with other properties: title, ...

✤ works on any page

Tuesday 1 October 13

Page 112: Drupal 8 for site builders

Tuesday 1 October 13

Page 113: Drupal 8 for site builders

Tuesday 1 October 13

Page 114: Drupal 8 for site builders

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

Page 115: Drupal 8 for site builders

LET’S ADD SOMETHING TO DRIES’S DREAM

Tuesday 1 October 13

Page 116: Drupal 8 for site builders

GET RID OF THE SYSTEM ADMINISTRATOR

✤ configuration is stored in files

✤ written while you configure the site

✤ has a UI to import and export

Tuesday 1 October 13

Page 117: Drupal 8 for site builders

Tuesday 1 October 13

Page 118: Drupal 8 for site builders

Tuesday 1 October 13

Page 119: Drupal 8 for site builders

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

Page 120: Drupal 8 for site builders

“Don’t hack your active config”

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

Page 121: Drupal 8 for site builders

“Don’t hack your active config”

Alex Pott - Core committer

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

Page 122: Drupal 8 for site builders

SAY GOODBYE IN CONTRIB TO

✤ features

✤ CTools exportables

✤ upgrade code

✤ and ...

Tuesday 1 October 13

Page 123: Drupal 8 for site builders

NAPKINS

Tuesday 1 October 13

Page 124: Drupal 8 for site builders

THE LITTLE GEMS

Tuesday 1 October 13

Page 125: Drupal 8 for site builders

SERVICES - GOODBYE SERVICES

Tuesday 1 October 13

Page 126: Drupal 8 for site builders

SERVICES - VIEWS SUPPORT

Tuesday 1 October 13

Page 127: Drupal 8 for site builders

MULTIPLE UPLOAD - GOODBYE PLUPLOAD

Tuesday 1 October 13

Page 128: Drupal 8 for site builders

NO UPLOAD BUTTON

Tuesday 1 October 13

Page 129: Drupal 8 for site builders

TOUR MODULE

Tuesday 1 October 13

Page 130: Drupal 8 for site builders

RESPONSIVE TOOLBAR

Tuesday 1 October 13

Page 131: Drupal 8 for site builders

MODULES SEARCH

Tuesday 1 October 13

Page 132: Drupal 8 for site builders

SAY GOODBYE TO CORE MODULES

✤ poll - http://drupal.org/project/poll

✤ trigger - http://drupal.org/project/trigger

✤ openid - http://drupal.org/project/openid

✤ blog - http://drupal.org/project/blog

✤ php - http://drupal.org/project/php

✤ profile - use profile 2

Tuesday 1 October 13

Page 133: Drupal 8 for site builders

D8CX

Tuesday 1 October 13

Page 134: Drupal 8 for site builders

DRUPAL 8 CONTRIB EXPERIENCE

✤ Already working - with bumps now and then

✤ Display Suite,

✤ Port under way

✤ Field group, Google analytics

✤ Unknown

✤ Page manager, token UI, path auto

Tuesday 1 October 13

Page 135: Drupal 8 for site builders

DRUPAL 8 IS GOING TO ROCK

Tuesday 1 October 13

Page 136: Drupal 8 for site builders

THANKS

Questions ?

Tuesday 1 October 13

Page 137: Drupal 8 for site builders

Tuesday 1 October 13

Page 138: Drupal 8 for site builders

THANK YOU!

WHAT DID YOU THINK?

Locate this session at the DrupalCon Prague website:

http://prague2013.drupal.org/schedule

Click the “Take the survey” link

Tuesday 1 October 13