21 things i learned with Twig & Drupal

mortendk

A hands on Drupal8 Theming Twig extravaganza 
 

Theming in Drupal8 was a massive shift from phptemplate to twig, but its more than changing the syntax. We changed the way of thinking about Drupal theming. Drupal twig theming is easy to learn, powerful, flexible and overall as awesome as warm coffee on a rainy day. The downside is that all the things you learned in Drupal now have to be relearned - Yes it's by design.

Over the last 4 years we (the frontend drupaltwig group) we got one burning question from the Drupal community.

“How I do this right the first time ? ”  

The session will be a hands on, based on all the things I learned from designing the system with the drupaltwig team (aka the "twigtwams") and when building Drupal8 themes. We want to make sure you get Drupal8 theming right the first time. The examples will be mixed with background info & all the secret dirty stories from the last 10+ years of Drupal theming & where we go in the future.

  • The secret plan behind it all, understand the concept & why we changed everything in Drupal8
  • Template building: understanding the template suggestions & how to organise 120+ template files.
  • Base theme(s) - do you need em?
  • "Modern" CSS structures & templates, how it all fits together.
  • Developer Tools & how to make your life easier
  • CSS selectors & markup that goes to 11
  • and all the tips, tricks & dirty secrets that can fit into a 45 minutes

Audience level:
The session is for web designers, frontenders & developers that wanna know how we designed the frontend in D8. A little bit if knowdledge of twig is preferred.

Takeaway:
You should be prober equipped to get down & dirty with Drupal theming in Drupal8. 

Session video

The session is based on the talk i gave at frontend united 2016:
https://youtu.be/UmLkVV_R69Q?list=PL7xqy2B8uXNK5L7ROxqY_CxKCVPE2IAJx and the keynote at Drupalcamp Athens 2016

Session Track

Front End

Experience Level

Intermediate

Drupal Version

When & Where

Time: 
Wednesday, 28 September, 2016 - 15:45 to 16:45
Room: 
Auditorium