Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

It works! It’s great! M. Schnitzel, Head of Technology, Amazee Labs

Slide 3

Slide 3 text

Drupal 8 
 improvements for end-users & clients

Slide 4

Slide 4 text

Authoring improvement: 
 WYSIWYG in Core

Slide 5

Slide 5 text

Authoring improvement: 
 In-place editing

Slide 6

Slide 6 text

Authoring improvement: 
 In-place editing

Slide 7

Slide 7 text

Authoring improvement:
 New content creation page

Slide 8

Slide 8 text

Authoring improvement:
 Preview on the frontend

Slide 9

Slide 9 text

It’s mobile-first

Slide 10

Slide 10 text

Responsive themes, images, breakpoints

Slide 11

Slide 11 text

Mobile-friendly administration

Slide 12

Slide 12 text

Mobile-first “overlay”

Slide 13

Slide 13 text

Restyled administration interface 


Slide 14

Slide 14 text

Multilingual improvements in Drupal 8

Slide 15

Slide 15 text

source: http://www.drupal8multilingual.org/

Slide 16

Slide 16 text

Community translation downloads

Slide 17

Slide 17 text

Language data tracking expanded

Slide 18

Slide 18 text

Translation on (almost) everything

Slide 19

Slide 19 text

More info Installing and Choosing Modules for Multilingual in Drupal 8 https://www.drupal.org/node/2415945 Multilingual demo install https://www.drupal.org/project/multilingual_demo Workshop video http://www.drupal8multilingual.org/workshop Initiative site http://www.drupal8multilingual.org/

Slide 20

Slide 20 text

Drupal 8 improvements for site builders

Slide 21

Slide 21 text

Fieldable blocks Everything is an entity and (almost) everything is fieldable

Slide 22

Slide 22 text

Everything is in blocks

Slide 23

Slide 23 text

Place multiple copies of any block

Slide 24

Slide 24 text

New field types Date/Datetime Entity Reference …plus, Link, Phone, Email, Comments!

Slide 25

Slide 25 text

Form displays: customize the look and feel of data entry forms built in view modes ui too

Slide 26

Slide 26 text

Views in Core

Slide 27

Slide 27 text

Drupal 8 improvements for designers and themers

Slide 28

Slide 28 text

Killed support for IE 6 & 7 
 (and most of 8)

Slide 29

Slide 29 text

HTML5 Form Elements

Slide 30

Slide 30 text

New front-end libraries

Slide 31

Slide 31 text

Native Schema.org Output

Slide 32

Slide 32 text

Twig Example: node.html.twig {{ title_prefix }} {% if not page %} {{ label }} {% endif %} {{ title_suffix }} {% if display_submitted %} {{ author_picture }} {% endif %}
{{ content|without('links') }}
{% if content.links %} {% endif %} 1. HTML5 tags 2. {{ print a variable }} 3. {% logic(stuff) %}

Slide 33

Slide 33 text

Twig blocks & extends Twig Blocks are not Drupal Blocks! {# Extending the page template to override the title #} {% extends 'themes/THEMENAME/templates/page.html.twig' %} {% block title %} Nice New Title for the whole world to see. {% endblock %} https://www.newmediadenver.com/blog/twig-extending-templates

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

CSS is SMACS & BEM based #id not used (for styling) / removed 90% of the div removed libs (eg. jQuery) aren’t loaded by default better accessibility

Slide 36

Slide 36 text

More info Theming session in DCBarcelona by mortendk https://events.drupal.org/barcelona2015/sessions/drupal-8-theming-0 Backend of the front-end (DCBarcelona, laurii) https://events.drupal.org/barcelona2015/sessions/drupal-8-theme-system http://drupal.org/theme-guide/8 drupal.org/coding-standards/css

Slide 37

Slide 37 text

Decoupled Drupal http://buytaert.net/the-future-of-decoupled-drupal http://zensations.at/blog/headless-drupal-cake-lie

Slide 38

Slide 38 text

Drupal 8 improvements for developers

Slide 39

Slide 39 text

Keep calm and drush cr

Slide 40

Slide 40 text

Configuration management dev stage production

Slide 41

Slide 41 text

sync sync

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

Drush integration for automation

Slide 44

Slide 44 text

Configuration management in Drupal 8 (Drupalaton 2013) https://videotorium.hu/hu/recordings/details/ 6837,Configuration_management_in_Drupal_8 Configuration management in Drupal 8 (Drupalaton 2015) https://www.youtube.com/watch? v=OVFQDdTRCeM&list=PLB89p5xo_6ST7DM69sJVEPRIA9hrS6h2- &index=5 http://nuvole.org/blog/2015/aug/10/drupal-8-configuration-management- beware-pitfalls More info

Slide 45

Slide 45 text

Features? “In Drupal 8, Features will return to it's original mission of bundling functionality rather than just managing configuration.” – M. Potter, Features maintainer https://events.drupal.org/barcelona2015/sessions/features-drupal-8

Slide 46

Slide 46 text

Getting off the island* * http://www.garfieldtech.com/blog/off-the-island-2013

Slide 47

Slide 47 text

HttpFoundation HttpKernel Dependency Injection EventDispatcher Routing Yaml Symfony framework

Slide 48

Slide 48 text

Not invented here 
 "Proudly Found Elsewhere" Much more modern, object-oriented code (classes, inheritance, interfaces, etc.) Embracing latest PHP standards (e.g. PSR-4*, namespaces, traits) Using many “best of breed” external libraries: Composer, PHPUnit, Guzzle, Zend Feed Component… Non-Drupal developers can start work right away * http://www.php-fig.org/psr/psr-4/

Slide 49

Slide 49 text

Entity API Plugins Services

Slide 50

Slide 50 text

Plugin System Bart Feenstra: The Drupal 8 plugin system: extensibility for all https://www.youtube.com/watch? v=IoxEtvydKuc&list=PLB89p5xo_6ST7DM69sJVEPRIA9hrS6h2-&index=7 Drupal 8 Plugin Deep Dive (DCBarcelona) https://events.drupal.org/barcelona2015/sessions/drupal-8-plugin-deep-dive

Slide 51

Slide 51 text

Web services other systems or framewor ks desktop Android applicati ons other Drupal sites Flash compone nts iPhone applicati ons kiosk applicati

Slide 52

Slide 52 text

GETting data out of Drupal: 
 RESTful Web Services module

Slide 53

Slide 53 text

GETting data into Drupal: Guzzle $client = \Drupal::httpClient(); $config = \Drupal::config('3rdparty.settings'); // Format arguments for passing in URL. $arg = urlencode($argument); // Pull data from 3rd party's REST API. $api_key = $config->get('api_key'); $request = $client->get("http://3rdparty.com/ $arg/?key=$api_key"); // Get the response and do something with it. $response = $request->send(); $json = $response->json(); ...

Slide 54

Slide 54 text

Hack core without hacking core Override services

Slide 55

Slide 55 text

No IDE? No debugger? No Drupal 8!

Slide 56

Slide 56 text

drupal.org/project/examples or check core’s code

Slide 57

Slide 57 text

API documentation https://www.drupal.org/developing/api/8 Symfony for Drupal developers https://events.drupal.org/barcelona2015/sessions/symfony-drupal- developers Dependecy injection https://events.drupal.org/barcelona2015/sessions/dependency-injection what-why-how-when More info

Slide 58

Slide 58 text

Catch all of the improvements! https://www.drupal.org/list-changes/drupal

Slide 59

Slide 59 text

Performance

Slide 60

Slide 60 text

Performance Making Drupal fly - The fastest Drupal ever is here! https://events.drupal.org/barcelona2015/sessions/making-drupal-fly-fastest-drupal-ever-here The future of decoupled Drupal http://buytaert.net/the-future-of-decoupled-drupal https://www.youtube.com/watch?t=41&v=JwzX0Qv6u3A BigPipe Smart Caching

Slide 61

Slide 61 text

What about the upgrade path? Instead of an upgrade path, Drupal 8 have a migration path! Some Drupal 6 migrations already in core, more in the works, see https:// groups.drupal.org/imp https://dev.acquia.com/blog/seamless- migration-drupal-8-make-it-yours

Slide 62

Slide 62 text

What’s this 8.0.0 talk? Drupal 8 will use semantic versioning Drupal 8.1.0 will include new features and/or APIs New releases will be (mostly) backwards compatible New 8.x releases every 6 months (planned) No need to wait years for new things Bugfixes in minor releases, eg. 8.1.5

Slide 63

Slide 63 text

What about contributed modules? Check status of contrib module upgrades at: drupal.org/project/contrib_tracker To avoid upgrade pain, stick to well-vetted contributed modules over custom code. Other tips: www.acquia.com/blog/getting-your- site-ready-drupal-8

Slide 64

Slide 64 text

And my own modules? To start the upgrade of you own code, use drupal.org/project/drupalmoduleupgrader If you need to or want to start your module fresh, see drupal.org/project/console Creating Drupal 8.x modules https://www.drupal.org/node/1915030

Slide 65

Slide 65 text

No content