A First Run with Component Theming: Missteps, Learnings, and Success

"The world needs more people who are two days into learning something writing about the problems of people who are one day in."

--Patrick McKenzie (https://twitter.com/patio11/status/803825771349426176)

Drupal 8 gives us the opportunity to explore new front end development patterns that were prohibitively difficult in Drupal 7. I used my own site rebuild to explore component theming in Drupal 8. In this talk, I'll explore what diving down this rabbit hole was like for someone new to this workflow.

We'll start with explaining why component design tools are so important to building responsive sites. I'll explain the concept of component theming and why it's useful. From there, we'll take a look at two specific examples from my site rebuild, one using Views and one using Paragraphs. I'll point out my missteps, what I did to fix them, and why I'm excited about component theming in Drupal 8. We'll end with a list of resources for you to explore component theming as well as how to get involved with the community.

We'll work to answer the following questions:

  1. What is a component? (A self-contained grouping of HTML, CSS, and JS that looks and behaves the same no matter its location on the page.)
  2. Isn't component theming hard in Drupal? (Well, kinda, but it's worth it. Isn't anything hard the first time you do it?)
  3. Won't I need to be an expert in a bunch of new technologies before I can even get started? (Surprisingly, no.)
  4. Aren't Photoshop mockups good enough to define a design? (No, they can't account for the multiple variables of responsive design.)
  5. I haven't yet explored Twig, Pattern Lab, SASS...I'm definitely not qualified to even try, right? (You are actually in a great spot!)
wheatpenny
Experience Level: 
Any
Track: 
Front End: Themes, Design, UX, UI, etc