1-3 March 2019

City, University London

Turning a Drupal 8 site into an HTML Static Site

Prerequisites

Should have an awareness of Drupal configuration and installation of modules. In addition there should be an awareness of complimentary products and technologies such as AWS Lambda and Elasticsearch, and there should be an appreciation of deployment techniques. 

Session details

The idea of creating a static HTML version of a website for production use is gaining significant traction in the industry. Doing this removes the joint attack vectors of PHP and MySQL on the site, and means there is no requirement to slavishly keep up to date with Drupal security patches. Content can still be created using Drupal in a secure non-public facing environment such as a VPC or a sandbox, then the static pages can be deployed to the production server. 

The Drupal module Tome has made all this possible. Nigel shows how to use this module, and how to counteract some of the difficulties faced by choosing this architecture. Since the production website will have no Drupal backend, an alternative search mechanism will be required, and Nigel shows how to leverage Elasticsearch server and JavaScript client as a replacement to Drupal core search.

Similarly, without a Drupal backend, a Contact form requires a different approach. Nigel shows how AWS serverless products such as Lambda, Gateway API and SES can be used as a replacement for a 'Contact Me' form. 

Note: This is effectively a presentation on a sequence of blogs I am writing entitled Drupal 8 as a Static Site. It is still work in progress but will be completed over the Xmas break.  

Speaker(s)
Skill Level
Session Track

Keynote speakers

Preston So

Acquia

TBC

Sally Young

Lullabot / Drupalize.me

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh