Decouple your Twig from PHP and make Frontenders happy!



There are quite a lot of talks recently around decoupling (via API) and component libraries (Pattern Lab). But this session is different, it's about:

  1. Decoupling Twig and PHP.
  2. Rendering Twig templates on node.js server — native Frontend environment.
  3. Using Fractal as a component library.

As you would already imagined, that allows us to create, render and test our components w/o any PHP! Pure Twig running in pure node.js but still compatible with Drupal — sounds like a dream.

Come on our session, enjoy the power of Twig+Fractal+node.js and become 100% freshly baked decoupled Frontender!

Session Track

Front End

Experience Level


Drupal Version

When & Where

Tuesday, 26 September, 2017 - 13:00 to 14:00
Lehar 4