Book Image

Drupal 8 Blueprints

By : Alex Burrows
Book Image

Drupal 8 Blueprints

By: Alex Burrows

Overview of this book

Drupal is an open source content management framework that can be used for developing websites and simplifying online management of content for users. This book is a must-have for web developers who are looking to create professional-grade websites using Drupal 8. While building 7 different Drupal websites, we will focus on implementing the out of the box features that come with Drupal 8 and see how we can make some complex sites with minimal custom code. Focusing completely on Drupal 8, this book will help you leverage the new Drupal 8 features such as creating a different types and layouts of content using configuration to build in core with its built-in web services facilities, and effortless authoring using the new CKEditor with an effortless and efficient industry standard approach. The book starts with getting started with the development environment of Drupal. Each chapter will start with a brief overview of the site to be built and the required features. Then, we will proceed to create customized modules and themes and integrate third-party plugins. Lastly, you will learn about "headless" Drupal that uses RESTful services that would help you to display content outside of Drupal By the end of the book, you will be able to implement the knowledge gained to build your own custom websites using Drupal 8.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.Packtpub.com
Customer Feedback
Preface
Free Chapter
1
Introduction and Getting Set Up
3
Get Fundraising with Drupal
5
List Properties with Drupal
6
Express Your Event with Drupal
7
Get Teaching with Drupal

Preface

Drupal is a very powerful open source content management system (over 1,000,000 websites run on Drupal). There have been eight versions of Drupal, and in my opinion, the latest is the greatest by far. Drupal 8 has been been redeveloped from the core to have more features, which means that far less coding is needed than before. This book is for anyone, especially those new to Drupal. It will guide you through making seven types of website without much custom code at all. The following is a quote from the official website of Drupal:

"What is Drupal? Drupal is the #1 platform for web content management among global enterprises, governments, higher education institutions, and NGOs. Flexible and highly scalable, Drupal publishes a single website or shares content in multiple languages across many devices. Technology and business leaders transform content management into powerful digital solutions with Drupal… backed by one of the world’s most innovative open source communities."

What this book covers

Chapter 1, Introduction and Getting Set Up, shows how to get started with development locally and how to get set up for Drupal.

Chapter 2, Telling Your Own Story with Drupal, describes how to create your very own blog.

Chapter 3, Get Fundraising with Drupal, is about creating a fundraising website that donations can be made to.

Chapter 4, Recruit Using Drupal, presents a way to show the jobs that are available and apply for jobs.

Chapter 5, List Properties with Drupal, explores how to create a website showing properties for sale.

Chapter 6, Express Your Event with Drupal, focuses on how to create a website for an event, and show sessions, tracks, and a schedule.

Chapter 7, Get Teaching with Drupal, covers the use of videos to teach.

Chapter 8, Go Static with Drupal, outlines how to use Drupal to work with a static frontend.

What you need for this book

To get started with Drupal, you will require a local development environment, as we will cover in Chapter 1, Introduction and Getting Set Up.

In order to create code, you will need a text editor. The recommended ones are as follows:

Who this book is for

The book is for people who have used or installed Drupal before, have some understanding of how websites work, and have some PHP knowledge.

It is a step-by-step guide on creating seven types of website, exploring how powerful Drupal 8 is without having to write too much custom code.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "To get panels, simply type composer require drupal/panels drupal/page_manager."

A block of code is set as follows:

name: Blueprint
description: Bespoke theme for Drupal 8 Blueprints
type: theme
core: 8.x
base theme: bootstrap
# Regions

Any command-line input or output is written as follows:

drush dl bootstrap

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Select System info from the Administration panel."

Note

Warnings or important notes appear in a box like this.

Note

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book-what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail [email protected], and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors .

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the color images of this book 

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/Drupal8Blueprints_ColorImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books-maybe a mistake in the text or the code-we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at [email protected], and we will do our best to address the problem.