drupal 8, tricks and tips learned from the first 6 months

21
6 months into Drupal 8 Iztok Smolic, AGILEDROP

Upload: iztok-smolic

Post on 16-Jan-2017

427 views

Category:

Technology


1 download

TRANSCRIPT

6 months intoDrupal 8

Iztok Smolic, AGILEDROP

Drupal 8 is production ready.

What we’re excited about

Views in core

Configuration management

True multilingual support

Fieldable entities everywhere

WYSIWYG (CKEditor) in core

Responsive back-end

What we’re not so excited about

Quick edit, aka Spark

Block system

Tricks & tips

Read warnings!Things tend to get deleted too easily!

Example: When removing a field from a content type, Drupal tries to clean up and will delete Views and other components using the field in question.

Content translations, translatable fields● Now you have to manually select each field to be translatable:

Modules we’ve used so far● Admin menu is dead, long live Admin toolbar (drop down enabled navigation)● Devel + Devel Kint - for debugging PHP and Twig● Pathauto - for generating friendly URLs● Metatags - for SEO metadata● Inline Entity Form - entity reference widget● Field Group - improving UX for site editors● Paragraphs - building rich landing pages

What we hope to see soon

Drupal Commerce for Drupal 8● Multi store architecture (multi-domain stores, multi-seller scenarios, fulfillment

centers, etc.)● Redesigned product architecture (simpler Add to Cart form generation, field

inheritance, faster product creation)● Price is now an object that knows how to apply a tax rate, discount, fee to itself● Rewritten tax handling to better support VAT and changing tax rates● Lighter API for payment gateways to allow maximum flexibility

Panels● Panels (https://www.drupal.org/project/panels) ● Page manager (https://www.drupal.org/project/page_manager)● Layout API (https://www.drupal.org/project/layout_plugin)