Drupal 8

28
Programatica 2012 - Drupal 8 Drupal 8 hook_future_alter() 1 Friday, November 16, 12

description

Talk given at Programatica 2012 about the new features in Drupal 8.

Transcript of Drupal 8

Page 1: Drupal 8

Programatica 2012 - Drupal 8

Drupal 8hook_future_alter()

1

Friday, November 16, 12

Page 2: Drupal 8

Programatica 2012 - Drupal 8 2

Alexandru BadiuDemotix

Gabriel Dragomirwebikon

Friday, November 16, 12

Page 3: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Friday, November 16, 12

Page 4: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Drupal 7.0

Jan 5, 2011

Friday, November 16, 12

Page 5: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Drupal 7.0

Jan 5, 2011

Development begins

Mar 10, 2011

Friday, November 16, 12

Page 6: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Drupal 7.0

Jan 5, 2011

Development begins

Mar 10, 2011

Feature freeze

Dec 1, 2012

Friday, November 16, 12

Page 7: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Drupal 7.0

Jan 5, 2011

Development begins

Mar 10, 2011

Feature freeze

Dec 1, 2012

Code freeze

Feb 1, 2013

Friday, November 16, 12

Page 8: Drupal 8

Programatica 2012 - Drupal 8 3

Timeline

Drupal 7.0

Jan 5, 2011

Development begins

Mar 10, 2011

Feature freeze

Dec 1, 2012

Code freeze

Feb 1, 2013

Drupal 8.0

Aug, 2013

Friday, November 16, 12

Page 9: Drupal 8

Programatica 2012 - Drupal 8 4

Schimbari majore

Pentru end-useri si clienti

Mobile

Editare de continut

Pentru site builders

Localizare

Layouts

Friday, November 16, 12

Page 10: Drupal 8

Programatica 2012 - Drupal 8 5

Initiative majore

Pentru designeri, front end devs

HTML 5, Twig etc

Pentru programatori

Symfony

Servicii web

Configuration management

Friday, November 16, 12

Page 11: Drupal 8

Programatica 2012 - Drupal 8 6

Mobile

Friday, November 16, 12

Page 12: Drupal 8

Programatica 2012 - Drupal 8 7

Initiative majore

Friday, November 16, 12

Page 13: Drupal 8

Programatica 2012 - Drupal 8 8

Responsive design

Friday, November 16, 12

Page 14: Drupal 8

Programatica 2012 - Drupal 8 9

Performanta frontend++

Friday, November 16, 12

Page 15: Drupal 8

Programatica 2012 - Drupal 8 10

Editare de continut

Friday, November 16, 12

Page 16: Drupal 8

Programatica 2012 - Drupal 8 11

Spark

Friday, November 16, 12

Page 17: Drupal 8

Programatica 2012 - Drupal 8 12

Localizare D7

Friday, November 16, 12

Page 18: Drupal 8

Programatica 2012 - Drupal 8 13

Localizare D8

Friday, November 16, 12

Page 19: Drupal 8

Programatica 2012 - Drupal 8 14

InconsistentaO pagina contine blocuri, variabile de tema si zona de continut.

Construire de la mic la mareBlocurile nu au informatii despre “contextul” (pagina) actuala.

Blocuri nereutilizabile

Layouts

Content Area

Block region

Block region

Block region

Block

Block

Block

Block

Block

Site Title Primary Links

Secondary LinksLogo

Block region

PageTitle

Friday, November 16, 12

Page 20: Drupal 8

Programatica 2012 - Drupal 8 15

Construire de la mare la micContextul actual este disponibil blocurilor.

Toate elementele de continut sunt blocuri

Blocuri individualeBlocurile sunt generate individual si suporta caching ESI.

Layouts

Who's online block

Custom block

Advert block

Menu block

View block

Content block

Custom block

Custom text block

View block

Field block

Custom block

Field block

Field block

Advert block

Arguments

HTTP Req. Request SelectPass to Kernel Display

controller

Friday, November 16, 12

Page 21: Drupal 8

Programatica 2012 - Drupal 8 16

Responsive layouts

Friday, November 16, 12

Page 22: Drupal 8

Programatica 2012 - Drupal 8 17

Panels in core

Views in core

Page manager

Sistem de plugin-uri (CTools)

Layouts

Friday, November 16, 12

Page 23: Drupal 8

Programatica 2012 - Drupal 8 18

HTML 5

Markup mai curat

HTML 5 FAPI

Componente standard

TWIG in loc de Phptemplate

Markup

Friday, November 16, 12

Page 24: Drupal 8

Programatica 2012 - Drupal 8 19

Symfony

Friday, November 16, 12

Page 25: Drupal 8

Programatica 2012 - Drupal 8 20

Servicii web

Friday, November 16, 12

Page 26: Drupal 8

Programatica 2012 - Drupal 8 21

Configuration management

Live

Save

textSetting 1Setting 2 label

Database Database

Dev

TESTtest test test test test test test test test test test test test test

node/4admin/config/foo

WelcomeThis is real content on the live site that end users are viewing

node/4

Save

old textSetting 1Setting 2 label

admin/config/foo

Friday, November 16, 12

Page 27: Drupal 8

Programatica 2012 - Drupal 8 22

Configuration managementLive

Save

textSetting 1Setting 2 label

Active store(e.g.

Database)

Active store(e.g.

Database)

Dev

TESTtest test test test test test test test test test test test test test

node/4admin/config/foo

WelcomeThis is real content on the live site that end users are viewing

node/4

Save

old textSetting 1Setting 2 label

admin/config/foo

File storage

File storage

$node->uuid = '0a8f293...'; $node->uuid = '98a7bd...';

ALERT!Important announcement about something.

ALERT!Important announcement about something.

Friday, November 16, 12

Page 28: Drupal 8

Programatica 2012 - Drupal 8 23

MultumimIntrebari?

Friday, November 16, 12