Conscious Uncoupling -Drupal 8 meets Metalsmith
By Werner Glinka
Drupal 8 is a great back-end content management system that can be used to feed data to all sorts of clients.
This case study describes a project that uses a headless Drupal 8 installation that feeds content to a local Metalsmith-based static-site build process. Server data are used to build pages dynamically at build time using Metalsmith as the site generator and the Nunjucks template engine.
The result combines all the benefits of a static website and the backend data management prowess of Drupal.
This use case is unique in that Drupal is used only to manage content in the backend and then to provide the content to the build process via an API.
In this session we will look closer at the project setup and development workflow.
Learning Objectives & Outcomes:
Simple Drupal 8 headless setup with JSON API
Development tools to implement the API
Metalsmith setup
https://2018.tcdrupal.org/session/conscious-uncoupling-drupal-8-meets-metalsmith
Drupal 8 is a great back-end content management system that can be used to feed data to all sorts of clients.
This case study describes a project that uses a headless Drupal 8 installation that feeds content to a local Metalsmith-based static-site build process. Server data are used to build pages dynamically at build time using Metalsmith as the site generator and the Nunjucks template engine.
The result combines all the benefits of a static website and the backend data management prowess of Drupal.
This use case is unique in that Drupal is used only to manage content in the backend and then to provide the content to the build process via an API.
In this session we will look closer at the project setup and development workflow.
Learning Objectives & Outcomes:
Simple Drupal 8 headless setup with JSON API
Development tools to implement the API
Metalsmith setup
https://2018.tcdrupal.org/session/conscious-uncoupling-drupal-8-meets-metalsmith