Jump to ratings and reviews
Rate this book

Drupal 8 Theming with Twig: Master Drupal 8's new Twig templating engine to create fun and fast websites with simple steps to help you move from concept to completion

Rate this book
Key FeaturesCreate beautiful responsive Drupal 8 websites using TwigQuickly master theme administration, custom block layouts, views, and the Twig template structureA step-by-step guide to the most common approaches in web designBook DescriptionDrupal 8 is an open source content management system and powerful framework that helps deliver great websites to individuals and organizations, including non-profits, commercial, and government around the globe. This new release has been built on top of object-oriented PHP and includes more than a handful of improvements such as a better user experience, cleaner HTML5 markup, a new templating engine called Twig, multilingual capabilities, new configuration management, and effortless content authoring. Drupal 8 will quickly become the new standard for deploying content to both the web and mobile applications. However, with so many new changes, it can quickly become overwhelming knowing where to start and how to quickly.

Starting from the bottom up, we will install, set up, and configure Drupal 8. We'll navigate the Admin interface so you can learn how to work with core themes and create new custom block layouts. Walk through a real-world project to create a Twig theme from concept to completion while adopting best practices to implement CSS frameworks and JavaScript libraries. We will see just how quick and easy it is to create beautiful, responsive Drupal 8 websites while avoiding the common mistakes that many front-end developers make.

What you will learnNavigate the Drupal 8 Admin interfaceBuild custom block layouts with reusable and fieldable blocksCreate subthemes based on the Bartik and Classy base themesConstruct a responsive theme with Twitter BootstrapWork with the new Twig PHP templating engineConfigure Drupal for Twig debuggingEnable preprocessing of Twig variablesDevelop a theme from scratch following a step-by-step project outlineAbout the AuthorEver since Chaz can remember, he has been picking up a crayon, a pencil, a pen, or a computer, whether to draw a picture, write a poem, share an article, or develop the next great website. Looking back at these qualities, it's the reason why he chose to use those passions to give back to the open source community. His journey has opened doors to great experiences as a consultant, instructor, trainer, author, web developer, technical architect, Drupalist, and most importantly, a father. However, he could be none of these without first being a student and learning from life, love, and a passion for education, community development, and of course, science and technology.

The sum of these things has allowed Chaz to share his experiences as an active member of the Drupal community, having participated in developing Lynda.com Drupal training videos, authoring multiple Drupal books for Packt Publishing, and giving back his knowledge by contributing numerous articles and presentations at NYCCamp, BadCamp, and DrupalCon, and bringing top-notch Drupal expertise to his clients' work.

However, his greatest journey is still in front of him as he continues to learn new creative ways to architect open source websites, write about the next best things, and laugh with his colleagues along the way.

Table of ContentsSetting Up Our Development EnvironmentTheme AdministrationDissecting a ThemeGetting Started – Creating ThemesPrepping Our ProjectTheming Our Homepage&l

546 pages, Kindle Edition

Published March 23, 2016

9 people are currently reading
16 people want to read

About the author

Chaz Chumley

2 books

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (20%)
4 stars
9 (60%)
3 stars
3 (20%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Joseph.
27 reviews
January 19, 2022
The book itself is pretty good but the code samples provided on github are incomplete making it impractical to follow along.

That said the lessons can be applied to any theme so I simply followed along in bartik.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.