Welcome Drupal 8

Michael - Schnitzel
Head Technology Amazee Labs


our journey
April 2014
amazeelabs.com in Drupal 8 Alpha
2 Languages
September 2014
drupal.com in Drupal 8 Beta
1 Language (yet)
January 2015
sgg-ssup.ch in Drupal 8 Beta
4 Languages
June 2015
gottardo2016.ch
Drupal 8 Beta - 5 Languages




Currently
Moar!
Why Drupal 7?
TL; DR;
It works!
It's great!
You have to be creative
Nobody want's go back to Drupal 7
Editors
We didn't tell them ;)
And they didn't realize
They really like the new layout
REAL Previews
Multilingual
Everything!
Translatable out of Core
29 Modules
29 Modules
4 Core Modules
Entity Translation
Let's meet the team!


1200+ People
1300+ Issues
How does it work?
Everybody can bring ideas
1 Initiative Lead

Gábor Hojtsy
Core commiters
Alex Bronstein (effulgentsia)
Jess (xjm)
Alex Pott (alexpott)
Nathaniel Catchpole (catch)
Jennifer Hodgdon (jhodgdon)
Angie Byron (webchick)
Dries Buytaert (Dries)
Sitebuilding
Feels right & complete
Block instances & Custom Block Library are confusing
A lot of contrib missing
be creative
Custom Block + Entity References
=
Nodequeue!
Drupal 7 Sitebuilders pick it up in 2 hours
Configuration Management
The thing we've all waited for
it works!
but:
No help on how to use
- no workflow for dev > staging > prod
Merge CMI changes
Needs to happen in Git
export before pull!
really frustrating
let's fix!
use it
learn it
write about it
an example
"staging"
Backend
OOP all the way!
it's great
- Entity API
- Plugins
- Services
No IDE?
No Drupal 8.
No Debugger?
No Drupal 8.
Most examples found online are obsolete
drupal.org/project/examples
Non Drupal Developers
Can start work right away
Frontend
Twig <3
No need for
Contrib Base Theme
base themes from Core:
classy, stable, none
Hidden Superpower:
Extends & Blocks
Task
Remove the H1 on Frontpage
<div class="layout-container">
<main class="layout-main" role="main">
{{ messages }}
{{ page.help }}
<div class="layout-content">
{{ page.highlighted }}
{% block page_title %}
{{ title_prefix }}
{% if title %}
<h1>{{ title }}</h1>
{% endif %}
{{ title_suffix }}
{% endblock %}
{{ tabs }}
{{ page.content }}
</div>{# /.layout-content #}
</main>
</div>{# /.layout-container #}
page.html.twig
{% extends 'themes/sgg8/templates/page.html.twig' %}
{% block page_title %}
{% endblock %}
page--front.html.twig
Upgrades
before beta9:
hard
after beta9:
Head2Head
drupal.org/project/head2head
-
patches for each Head
-
beta2beta
after beta15:
update.php in Core
RC Updates
almost nothing at all
Contrib
We're getting there
Drupal 8
Contrib Tracker
Fixing a module?
Contribute it back!
Migration
not done yet
marked "experimental"
easy migration
D7 Nodes -> D8 Nodes
200 lines custom code
Future
Semantic Versioning
8.0.0
8.0.1, 8.0.2, ...
Patch Releases
- bugs
- no new features
- every month
8.1.0, 8.2.0, ...
Minor Releases
- New Features & Improvements
- With Backwards compatibility
- Every 6 months
9.0.0
Major Release
- Removes Backwards compatibility
- not yet defined when
You should all start using it
- if its a new site
- or if only need to migrate some content
- if you don't need heavy contrib modules
</session>
<questions>
Welcome Drupal 8! South Africa
By Michael Schmid
Welcome Drupal 8! South Africa
- 1,689