SFDUG - Sept 10, 2020 - Best practices for Integrating components with Drupal

preview_player
Показать описание
Best practices for Integrating components with Drupal
Building reusable components in a design system such as Pattern Lab is only half the job. The second half is to seamlessly integrate those components with Drupal. There are several approaches to accomplishing this in a Drupal 8 website, in this short workshop I will walk you through integrating components using the Presenter Template approach while adhering to Drupal's best practices for caching, render arrays, and performance. We will make use of Twig's template suggestions, ensure our components provide mechanisms for leveraging Drupal's attributes, title_prefix, and title_suffix. By the end of this workshop, you will have a component fully integrated and rendered in Drupal with a single source of truth for markup, styles, and JavaScript, all coming from Pattern Lab.

About the speaker:
Mario is the Head of Learning at Mediacurrent with over 10 years of Drupal and Front-End experience.

About the sponsor:
Kanopi Studios - They design, build and support websites for clients who want to make a positive impact.

Where: OnLine
Рекомендации по теме