Mario Hernandez

Mediacurrent

Mario is the Head of Learning at Mediacurrent with over 10 years of public speaking and training experience. He is a regular speaker and trainer at tech conferences including Drupal Camps in Los Angeles, San Diego, San Francisco, Washington DC, and others.  Mario is a co-host of the Mediacurrent podcast where guest speakers discuss open source solutions.

In addition to being the Head of Learning, Mario is a Senior Front-End Developer working on some of the world’s most popular brands. Mario has vast experience in all things Front End as well as Drupal.  He developed the very successful Component-Based Development training workshop which has been conducted at DrupalCons throughout America and Europe. Mario's strengths are training clients and their development teams through custom-tailored curriculums.

Advanced techniques for components integration with Drupal (morning)

Session Category User Interface & Design Front End Room Other Audience N/A
Component-integration with a Drupal website is one of the most difficult process to grasp when developing with the component-based approach.  There are so many scenarios for how values from Drupal fields should be retrieved.  Drupal doesn't make things easier either since in most cases Drupal will not render just the value of a field but instead provides a full array for a field.  In addition, retrieving field values from Drupal may require multiple Twig templates and these also vary depending on the entity type you are working with (i.e. blocks, views, nodes, paragraph types, media, etc.).  You will be surprised to learn that sometimes the problem with integrations may be the result of how components are built.