Drupal 8 for site builders

Preview:

DESCRIPTION

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

Citation preview

Site building · Kristof De Jaeger · 24 September 2013

Drupal 8 for site builders

Tuesday 1 October 13

KRISTOF DE JAEGER

✤ @swentel

✤ Drupal and Android developer

✤ Drupal core co-maintainer Field API

✤ Lead maintainer Display Suite

Tuesday 1 October 13

Tuesday 1 October 13

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

DRIES’S DREAM

Tuesday 1 October 13

ELIMINATE MIDDLE MAN

Tuesday 1 October 13

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

GET RID OF THE DEVELOPER

Tuesday 1 October 13

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

GET RID OF THE DEVELOPER

Tuesday 1 October 13

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

GET RID OF THE DESIGNER ?

Tuesday 1 October 13

GET RID OF THE DESIGNER ?

Tuesday 1 October 13

WHO’S LEFT ?

✤ Robert Douglas

Tuesday 1 October 13

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

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

LINES OF CODE IN DRUPAL 1.0

Tuesday 1 October 13

LINES OF CODE IN DRUPAL 1.0

4092

Tuesday 1 October 13

LINES OF CODE IN DRUPAL 8.X

Tuesday 1 October 13

LINES OF CODE IN DRUPAL 8.X

491794

Tuesday 1 October 13

Tuesday 1 October 13

IMPROVEMENTS IN D8

Tuesday 1 October 13

VIEWS

Tuesday 1 October 13

ADOPTION RATE

Tuesday 1 October 13

ADOPTION RATE

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

Tuesday 1 October 13

ADOPTION RATE

january 2011Drupal 7

july 2011 february 2012

november 2011views 1.0

june 17 2011views RC 1

Tuesday 1 October 13

ADOPTION RATE

Tuesday 1 October 13

“Ladies and gentlemen,

you can now use D7”

ADOPTION RATE

Tuesday 1 October 13

“Ladies and gentlemen,

you can now use D7”

18/11/11 - Daniel Wehner - Views maintainer

ADOPTION RATE

Tuesday 1 October 13

ADOPTION RATE

Tuesday 1 October 13

”You can now start to use D8”

ADOPTION RATE

Tuesday 1 October 13

”You can now start to use D8”

22/12/12 - Daniel Wehner - Views maintainer

ADOPTION RATE

Tuesday 1 October 13

Tuesday 1 October 13

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

VIEWS 1

Tuesday 1 October 13

VIEWS 1

Tuesday 1 October 13

VIEWS IN CORE - FRONTPAGE

Tuesday 1 October 13

VIEWS IN CORE - CONTENT MANAGEMENT

Tuesday 1 October 13

VIEWS IN CORE - FILES MANAGEMENT

Tuesday 1 October 13

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

FIELD API

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

✤ CMI

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

✤ dependency injection

✤ constraints

✤ plugins

✤ entity api

✤ OOP all the way

✤ namespaces

✤ CMI

✤ entity storage

PLETHORA OF NEW TECHNICAL STUFF

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

✤ link

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

✤ link

✤ email

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

✤ picture

NEW FIELD TYPES

Tuesday 1 October 13

✤ entity reference

✤ date

✤ link

✤ email

✤ telephone

✤ picture

✤ user picture is a field

NEW FIELD TYPES

Tuesday 1 October 13

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

VIEW AND FORM MODES

Tuesday 1 October 13

✤ UI to define them

VIEW AND FORM MODES

Tuesday 1 October 13

✤ UI to define them

✤ integrates with views

VIEW AND FORM MODES

Tuesday 1 October 13

✤ UI to define them

✤ integrates with views

✤ forms side

VIEW AND FORM MODES

Tuesday 1 October 13

✤ UI to define them

✤ integrates with views

✤ forms side

✤ hidden region - instead of hidden widget

VIEW AND FORM MODES

Tuesday 1 October 13

✤ 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

✤ 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

Tuesday 1 October 13

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

✤ All the field type modules in contrib

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

✤ 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

✤ 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

✤ 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

✤ 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

✤ 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

SNOWMAN

Tuesday 1 October 13

SNOWMAN

✤ distribution

✤ common use cases

✤ only Drupal core

✤ no movement, but the idea can still happen

Tuesday 1 October 13

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

BLOCKS AND LAYOUTS

Tuesday 1 October 13

BLOCKS AND LAYOUTS

Tuesday 1 October 13

CHANGES

✤ multiple instances

✤ improved UI

✤ custom fieldable blocks

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

SAY GOODBYE IN CONTRIB TOO

✤ fieldable panels panes

✤ beans

Tuesday 1 October 13

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

MULTILINGUAL

Tuesday 1 October 13

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

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

Tuesday (today!) - 13:00

North hall / Exove

Tuesday 1 October 13

WYSIWYG

Tuesday 1 October 13

CKEDITOR

✤ ships with core !

✤ tight integration with text formats

✤ inline image uploads

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

✤ wysiwyg module

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

✤ wysiwyg module

✤ insert module

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

✤ wysiwyg module

✤ insert module

✤ various stand alone wysiwyg modules

SAY GOODBYE IN CONTRIB TO

Tuesday 1 October 13

INLINE EDITING

Tuesday 1 October 13

EDIT MODULE

✤ content is also building

✤ integrates with Field API

✤ integrates with other properties: title, ...

✤ works on any page

Tuesday 1 October 13

Tuesday 1 October 13

Tuesday 1 October 13

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

LET’S ADD SOMETHING TO DRIES’S DREAM

Tuesday 1 October 13

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

Tuesday 1 October 13

Tuesday 1 October 13

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

“Don’t hack your active config”

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

“Don’t hack your active config”

Alex Pott - Core committer

CONFIGURATION MANAGEMENT

Tuesday 1 October 13

SAY GOODBYE IN CONTRIB TO

✤ features

✤ CTools exportables

✤ upgrade code

✤ and ...

Tuesday 1 October 13

NAPKINS

Tuesday 1 October 13

THE LITTLE GEMS

Tuesday 1 October 13

SERVICES - GOODBYE SERVICES

Tuesday 1 October 13

SERVICES - VIEWS SUPPORT

Tuesday 1 October 13

MULTIPLE UPLOAD - GOODBYE PLUPLOAD

Tuesday 1 October 13

NO UPLOAD BUTTON

Tuesday 1 October 13

TOUR MODULE

Tuesday 1 October 13

RESPONSIVE TOOLBAR

Tuesday 1 October 13

MODULES SEARCH

Tuesday 1 October 13

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

D8CX

Tuesday 1 October 13

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

DRUPAL 8 IS GOING TO ROCK

Tuesday 1 October 13

THANKS

Questions ?

Tuesday 1 October 13

Tuesday 1 October 13

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

Recommended