Chapter 5. Frontend for the Win

In this chapter, we will explore the world of frontend development in Drupal 8:

  • Creating a custom theme based on Classy
  • Using the new asset management system
  • Twig templating
  • Using the Breakpoint module
  • Using the Responsive Image module module

Introduction

Drupal 8 brings many changes with regard to the frontend. It is now focused on the mobile-first responsive design. Frontend performance has been given a high priority, unlike in the previous versions of Drupal. There is a new asset management system based around libraries that will deliver only the minimum required assets for a page that comes with Drupal 8.

In Drupal 8, we have a new feature, the Twig templating engine, that replaces the previously used PHPTemplate engine. ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.