Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders...

86
Drupal 8 The insider's view

Transcript of Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders...

Page 1: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Drupal 8The insider's view

Page 2: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

About me

Kristof De Jaeger

● @swentel● Developer at Wunderkraut● Lead maintainer Display Suite● Field API co-maintainer Drupal 8

Page 3: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 4: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 5: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Contributing time

● 70% free time● 10% company ● 10% client ● 10% DA / events

Page 6: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Slide credits

● Angela Byron● Jen Lampton● Gabor Hojtsy● Dries Buytaert● Larry Garfield● Kristof De Jaeger

Page 7: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Agenda

● Drupal 8 timeline● What's planned for

○ End users and clients○ Site builders○ Designers and front-enders○ Developers

● How can you help ?

Page 8: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 9: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Drupal 8 timeline

● Jan 5 2011: Drupal 7● March 10 2011: Drupal 8 dev starts● December 2012: feature freeze● February 2013: feature freeze extended● June 30: code freeze● September: RC 1 ?● End of year: release ?

Page 10: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

May 16 2013

Page 11: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 13: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

End-users and clients

Page 14: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 15: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

Page 16: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Responsive mobile-first

Page 17: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Front-end performance

Page 18: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help

● Lead: John Albin Wilkins● Issue tag: mobile● http://groups.drupal.org/mobile● #drupal-mobile

Page 19: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Authoring experience

● Spark● Focus on site maintainers

Page 20: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 21: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Style guide

http://drupal.org/node/1751754http://groups.drupal.org/node/283223

Page 22: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

In-place editing

Page 23: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

New tool and shortcut bar

Page 24: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

CKeditor

Page 25: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Tour

Page 26: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Multiple upload

Page 27: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Multiple upload

Page 28: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Multiple upload

http://drupal.org/node/1683838

Page 29: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help ?

● Leads: Bojhan Somers & Roy Scholten● Issue tag: usability● http://groups.drupal.org/usability● #drupal-usability

Page 30: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Site builders

Page 31: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 32: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

Page 33: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

The plan

Page 34: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Changes

● Usability● Get interface and config from l.d.o● English is not 'special' anymore● Entity translation

○ sync of file/image fields■ but keep alt & title tags per language

○ Current problem:■ no workflow per language

Page 35: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 36: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help ?

● Lead: Gabor Hojtsy● Issue tag: D8MI● http://groups.drupal.org/i18n● #drupal-i18n

Page 37: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 38: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

● Inconsistency: blocks vs elements● Only one layout● Context● Multiple instances

Page 39: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 40: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 41: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Where are we ?

● Plugins● Multiple instances● Some context plugins

Page 42: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 43: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help ?

● Lead: Kris Vanderwater & Sam Boyer● Issue tag: scotch● http://groups.drupal.org/scotch● #drupal-scotch

Page 44: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 45: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

Page 46: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

18/11/11"Ladies and gentlemen, you can now use D7"

22/12/12"You can now start to use d8"

Daniel WehnerViews maintainer

Page 47: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Default lists and bulk ops

● /node● /admin/content/node● Bulk operations (basic)

Page 48: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 49: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Configurable fields

● entity reference● date & time● hidden widget● placeholders● format all the things (in progress)

Page 50: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Designers and front-enders

Page 51: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 52: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

HTML 5 Form elements

Page 53: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

http://twig.sensiolabs.org/

Twig

Page 54: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Why

● PFSE ● security

○ no PHP○ no SQL queries

● human readable● extendable● goodbye theme_()● templates all in one folder

Page 55: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Help needed

● 8.x-twig branch● Everything needs to be converted● If not, roll back!● http://drupal.org/node/1499460

Page 56: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 57: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

IE8 - now also dead!Here's the two options, assuming one route involves a degree of wtf:

1. Getting laughed at for dropping IE8 in (late) 2013, with most usage of the new release not going to pick up into 2014, and with Drupal 7 supporting IE8 until 2015/6

2. Getting laughed out for still supporting IE8 in 2018 (i.e. when Drupal 10 comes out) while making all mobile browsers slow for the five years beforehand on hundreds of thousands of sites.

http://drupal.org/node/1787146

Page 58: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Developers

Page 59: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Warning:Things are about to

get... geeky.

Page 60: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Web services - WSCCI

Page 61: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

The problem

Page 62: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 63: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Symfony framework

Page 64: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Where we are

● DIC & Dump○ Dependency injection container○ Drupal injection container

● Kernel● Routing system is in

○ many conversions needed○ title!

● Rest services (json, hal)

Page 65: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help ?

● Lead: Larry Garfield● Issue tag: WSCCI● http://groups.drupal.org/wscci● #drupal-wscci

Page 66: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Configuration management

Page 67: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

Page 68: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Problems to solve

variable_set/_get()

db_select()/db_update()

hook_update_n()$conf[''] = '';

drush fuctools_load_object()

napkins

Page 69: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

The plan

● config()○ Active & staging store

■ sites/default/files/config/active/staging

○ Configuration in YML● state()● settings()

Page 70: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Config settings

Page 71: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Config entities

Page 72: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 73: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Consequences

● system_settings_form is dead

'Hasta la vista magical dumping ground'

● Goodbye tables

Page 74: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

New rule

"Don't hack core" is replaced by "Don't hack your active config"

Alex PottDrupal Core and CMI maintainer

Page 75: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

But what about content ?

● rest module● http://drupal.org/project/restui

Page 76: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

How can I help ?

● Lead: Greg Dunlap● Issue tag: Configuration system● http://groups.drupal.org/cmi● #drupal-cmi

Page 77: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

More changes

● PSR-0 ● OOpify all the things

○ kill all hooks, even subscribers● Entity NG● Guzzle, phpunit, composer, doctrine● backbone.js, JQ 2.0

Page 79: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 80: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 81: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Magic

return $this->offsetGet(0)->__get($property_name);

"I heard you like magic so I put some magic in your magic so you could magic with your magic."

Nathaniel 'catch' CatchpoleDrupal Core maintainer

Page 82: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5
Page 83: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Performance

7.x HEAD: 61ms8.x HEAD: 222ms

Page 84: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Join us

● Office hours○ http://drupal.org/core-mentoring-hours○ Tuesdays and wednesdays in #drupal○ Holding hands

● Drupal corewindsprints○ http://drupal.org/core-windsprints○ Friday

● documentation, screencasts, php, javascript, integrators ...

Page 86: Drupal 8 8 - The...Agenda Drupal 8 timeline What's planned for End users and clients Site builders Designers and front-enders Developers How can you help ? Drupal 8 timeline Jan 5

Thanks!