Book Image

Drupal 8 Development: Beginner's Guide - Second Edition

By : Neeraj Kumar, Tassos Koutlas, Samuel Keen, Edward Crompton, Krishna Kanth, Rakesh James, Malabya Tewari, Kurt Madel
Book Image

Drupal 8 Development: Beginner's Guide - Second Edition

By: Neeraj Kumar, Tassos Koutlas, Samuel Keen, Edward Crompton, Krishna Kanth, Rakesh James, Malabya Tewari, Kurt Madel

Overview of this book

<p>Drupal is one of the most popular platforms with which to develop websites. With more and more organizations looking to build engaging digital experience for their stakeholders, the Drupal Content Management System offers a mobile-first platform with native support for integrations, better performance, and scalability. The new version brings significant changes to its module development and theme creation techniques, improving performance and refining the development experience.</p> <p>This book will help you develop your own website using Drupal 8 in a step-by-step manner. You’ll start off by setting up your development environment, enabling you to begin writing custom code for a Drupal-powered website through PHPStorm. You will learn about configuration management and creating custom content types before exploring the HTML5 features included with Drupal 8.</p> <p>You will then get familiar with Drupal 8’s mobile-first features, explore the built-in WYSIWYG and in-line editing capabilities of Drupal 8, and enhance the overall authoring experience. Later, you will create and enhance a Media Entity Lightbox module, before taking an in-depth look at the Views module.</p> <p>We then cover some advanced search concepts and walk you through the installation and integration of the Java-based Apache Solr search engine. Finally, you will explore and configure the built-in support for REST and extend its support by installing the RESTful module. By the end of the book, you will have created a recipe sharing website while gaining a solid understanding of development best practices for Drupal 8.</p>
Table of Contents (20 chapters)
Drupal 8 Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

A new recipe for our site


In this chapter, we are going to create a new recipe: Thai Basil Chicken. If you would like to have more real content to use as an example, and feel free to try the recipe out!

  • Name: Thai Basil Chicken

  • Description: A spicy, flavorful version of one of my favorite Thai dishes

  • RecipeYield : Four servings

  • PrepTime: 25 minutes

  • CookTime: 20 minutes

  • Ingredients :

    • One pound boneless chicken breasts

    • Two tablespoons of olive oil

    • Four garlic cloves, minced

    • Three tablespoons of soy sauce

    • Two tablespoons of fish sauce

    • Two large sweet onions, sliced

    • Five cloves of garlic

    • One yellow bell pepper

    • One green bell pepper

    • Four to eight Thai peppers (depending on the level of hotness you want)

    • One-third cup of dark brown sugar dissolved in one cup of hot water

    • One cup of fresh basil leaves

    • Two cups of Jasmin rice

  • Instructions:

    • Prepare the Jasmine rice according to the directions.

    • Heat the olive oil in a large frying pan over medium heat for two minutes.

    • Add the chicken to the pan and then pour on soy sauce...