Headless Drupal

by Bene Lóránt

2. Problems

Site installation and configuration management

  • configuration staging
  • site UUID
  • shortcut UUID
  • default language

Solution

  • installation profile, with default language YML included
  • database cloning

Restricting the BO

  • creation of custom theme
  • show 404 for anonymous user on all pages except login
  • certain anonymous calls need to be performed

Solution

  • making use of the Event Dispatcher component of Symfony2

Sitemap Generation

  • paths on the website belong to the Front, so sitemap generation through contrib can't be done

Solution

  • use third-party library(composer-managed):
  • generate the custom sitemap

Services

  • lack of clear documentation for services as defined and understood by D8

XLS Views Export

  • the D7 module's implementation is wrong
  • needs third-party library:
  • Views Plugins have to be created

OOP Form Building

  • D7 form builders are often unreadable
  • Implemented custom FormBuilder service

Useful links

Questions?

Thanks!

Headless Drupal

By benelori

Headless Drupal

  • 465