Object Oriented theming with Pinto [Lightning talk]


Traditional Drupal theming can lead to several maintenance issues in the long term.
While Twig debugging helps to track down specific templates, pinpointing how certain pieces of data make their way onto a page can be tricky. Pinto eliminates all this guesswork by encapsulating theming logic into reusable PHP classes.
This new module, written by PNXer Daniel Phin, dramatically improves the developer experience and velocity for theming sites. In fact, we now use it in all of our new projects.
In this lightning talk, learn how the brand-new Pinto module can elevate your Drupal theming to the next level.
We’ll touch on some of the common issues with traditional Drupal theming that Pinto bypasses, the basics of setting it up, plus example components and rendering Pinto Theme objects.
While Twig debugging helps to track down specific templates, pinpointing how certain pieces of data make their way onto a page can be tricky. Pinto eliminates all this guesswork by encapsulating theming logic into reusable PHP classes.
This new module, written by PNXer Daniel Phin, dramatically improves the developer experience and velocity for theming sites. In fact, we now use it in all of our new projects.
In this lightning talk, learn how the brand-new Pinto module can elevate your Drupal theming to the next level.
We’ll touch on some of the common issues with traditional Drupal theming that Pinto bypasses, the basics of setting it up, plus example components and rendering Pinto Theme objects.