YAML, What is it good for?

jrockowitz

YAML is a simple and easy to learn markup language that was used to help solve the difficult problem of Configuration Management for Drupal 8.

While building the MSKCC.org website, which was an early adopter of Drupal 8, YAML was used to solve some very preplexing problems. This presentation will introduce everyone to YAML and show how it was used to solve three challenges faced by the MSKCC.org website and the now Drupal community.

This presentation will be broken into three parts, each part will introduce a concept, describe a problem, and present a solution which will be in the form of a module/API contributed back to the Drupal community.

The modules that are being contributed back to Drupal are...

_Config
A simple API that makes is easy to keep custom configuration inside custom modules.
https://www.drupal.org/project/_config

YAML block
Provides a base block that allows a block's configuration settings to be edited using YAML.
https://www.drupal.org/project/yamlblock

YAML form
A lightweight, fast, developer centric, FAPI based form builder and submission manager for Drupal 8.
https://www.drupal.org/project/yamlform

This session is for…

Content editors, site builders, and developers building and maintaining Drupal 8 websites. Some concepts will be developer specific, but presented so that content editors and site builder will understand the fundamental use cases behind the solution, even if they don't understand the code. Everyone will see how "YAML is simple to learn and easy to edit" and no one will be left behind.

Attendees will walk away with…

  • A better appreciation and understanding of YAML.
  • Ideas on how to use YAML within their custom and contrib modules.
  • An introduction to a YAML based form builder for Drupal 8.

About the presenter

Jacob Rockowitz, is a consultant who has worked for Memorial Sloan Kettering (MSK) for the past 15 years, worked with Drupal for the past 7 years, and with the help of Phase2 Technologies pushed MSK to become an early adopter of Drupal 8.

Session Track

Site Building

Experience Level

Intermediate

Drupal Version