Drupal 9 Module Development, 3rd Edition

Sub-title: 
Explore modern development practices for building professional modules and themes for Drupal sites
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2020-08
Page count: 
493
ISBN-13: 
9781800204621

Learn

Develop custom Drupal 9 modules using expert techniques
Master numerous Drupal 9 subsystems and APIs as you develop modules
Get to grips with modeling, storing, manipulating, and processing data for effective data management
Display data and content cleanly and securely using the Drupal 9 theme system
Test your business logic to prevent regression
Stay ahead of the curve and write PHP code by implementing best practices

About

Drupal is an open source content management system that empowers millions of independent developers and organizations with end-to-end website solutions. Updated to include the new functionalities introduced in Drupal 9, this third edition of the Drupal Module Development guide will help you to stay on top of code deprecation and the changing architecture of Drupal with each new release.

The book starts by introducing you to the Drupal 9 architecture and its subsystems before showing you how to create your first module with basic functionality. You’ll explore the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. This Drupal guide will take you through different kinds of data storage before helping you to create custom entities and field types and leverage the Database API for lower-level database queries. You’ll also learn how to introduce JavaScript into your module, work with various file systems, and ensure that your code works on multilingual sites. Finally, you’ll work with Views, create automated tests, and write secure code.

By the end of the book, you’ll have learned how to develop custom modules that can provide solutions to complex business problems and, who knows, maybe you’ll even contribute to the Drupal community!

Features

  • Explore a plethora of Drupal 9 APIs and get the best out of them using PHP programming
  • Create modules for efficient data management, security, and much more in your Drupal sites
  • Discover best practices for transitioning from legacy Drupal 7 and Drupal 8 APIs to Drupal 9

Decoupled Drupal in Practice

Sub-title: 
Architect and Implement Decoupled Drupal Architectures Across the Stack
Authors: 
Publisher: 
Apress
Publication date: 
2018-12
Page count: 
520
ISBN-13: 
9781484240717

Gain a clear understanding of the most important concepts in the decoupled CMS landscape. You will learn how to architect and implement decoupled Drupal architectures across the stack—from building the back end and designing APIs to integrating with front-end technologies. You'll also review presenting data through consumer applications in widely adopted technologies such as Angular, Ember, React, and Vue.js.

Featuring a foreword by Drupal founder and project lead Dries Buytaert, the first part of this book chronicles the history of the CMS and the server–client divide, analyzes the risks and rewards of decoupled CMS architectures, and presents architectural patterns. From there, the book explores the core and contributed landscape for decoupled Drupal, authentication mechanisms, and the surrounding tooling ecosystem before delving into consumer implementations in a variety of technologies. Finally, a series of chapters on advanced topics feature the Drupal REST plugin system, schemas and generated documentation, and caching.

Several projects point to a decoupled future for Drupal, including the Contenta CMS and work to modernize Drupal's JavaScript using React. Begin learning about these and other exciting developments with Decoupled Drupal today.

What You’ll Learn

  • Evaluate the risks and rewards of decoupled Drupal and classify its architectures
  • Authenticate requests to Drupal using OAuth, JWT, and Basic Authentication
  • Consume and manipulate Drupal content via API through HTTP requests
  • Integrate with other consumer applications for native mobile and desktop as well as set-top boxes (Roku, Apple TV, Samsung TV)
  • Add new resources to Drupal's REST API using the REST plugin system
  • Generate API documentation that complies with the OpenAPI (Swagger) standard

Drupal 8 Quick Start Guide

Sub-title: 
Get up and running with Drupal 8
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2018-10
Page count: 
128
ISBN-13: 
9781789340310

Learn

  • Create and customize Drupal structures, such as menus, tags, and content categories
  • Extend Drupal's capabilities with add-on modules
  • Administer site users, their roles, and the actions to which they are granted access
  • Understand user roles and permissions
  • Create, edit, and publish content
  • Use Views for custom content selection and display
  • Expand your audience with custom RSS feeds
  • Configure a home page with meaningful sections for a better UX

About

Drupal is a powerful content management platform, ?exible enough to accommodate almost any content requirements. This ?exibility comes with a cost: complexity. Drupal 8 Quick Start Guide will clear your path from installation to a building usable site in minutes, and to a customized site in one sitting.

You will begin with installation of Drupal and going through the main sections of the Drupal UI. Then, you will create a content type that describes its content, which simplifies the act of creating and editing the actual content later. You will learn about user roles, using real-world examples. This will help you to learn how to design roles, and how to assign appropriate permissions to them. Next, you will learn to use the WYSIWYG editor, configure it for other roles, navigate the various fields on the content creation form, and publish content.

To begin to appreciate the ?exibility and expandability of Drupal, you will make use of popular content-focused modules that extend Drupal's power. You will learn how to expand your market to other readers directly and through other sites by configuring content and UI translations and creating a View that provides an RSS feed. Finally, you will put everything together by customizing the home page for your new website.

Features

Build a great Drupal website easily
How to structure, create and maintain different types of content
Design roles for secure editing of your site

Decoupling Drupal

Sub-title: 
A Decoupled Design Approach for Web Applications
Authors: 
Publisher: 
Apress
Publication date: 
2017-11
Page count: 
84
ISBN-13: 
9781484233207

Implement a headless/decoupled Drupal design to build easily maintainable web applications. This book begins by showing you CMS workflows and best practices to give you the basics you need for working with decoupled Drupal. As part of this process, Decoupling Drupal reveals the advantages of using content management systems and explains that decoupled Drupal is the answer to various problems faced in creating and maintaining enterprise applications.
Decoupling Drupal will show you how administering Drupal monolithically to design web applications can be a challenge. You’ll see how the maintainability of your application reduces exponentially over the years. In contrast, a decoupled design enables an easy handshake between the front-end and back-end applications, meaning you can implement services in a short amount of time and scale them quickly.
The final part of the book covers the impact of decoupling on functional and non-functional requirements and the use of Drupal 8 modules to address the requirements of decoupling. This involves solving the problems that occur at different stages of CMS evolution in an organization.

What You Will Learn

  • Discover the principles of headless/decoupled design
  • Implement Drupal in a real-time environment
  • Work with the Drupal modules normally used in a decoupled design
  • Use Drupal to complete back-end tasks
  • Integrate a Pantheon cloud-solution for headless Drupal
  • Acknowledge the use of CMS in your day-to-day IT life

Drupal 8 Development Cookbook, 2nd Edition

Sub-title: 
Harness the power of Drupal 8 with this recipe-based practical guide
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2017-09
Page count: 
430
ISBN-13: 
9781788290401

Learn

  • Extend Drupal through contributed or custom modules and themes
  • Develop an internationalized website with Drupal's multilingual tools
  • Integrate third-party front-end and back-end libraries with Drupal
  • Turn Drupal into a web services provider using REST
  • Create a mobile-first responsive Drupal application
  • Run SimpleTest and PHPUnit to test Drupal
  • Understand the plugin system that powers many of Drupal 8's new APIs to extend its functionality
  • Get to grips with the mechanics of the configuration management system and the ability to import and export site configuration

About

Began as a message board, Drupal today is open source software maintained and developed by a community of over 1,000,000 users and developers. Drupal is used by numerous local businesses to global corporations and diverse organizations all across the globe. With Drupal 8’s exciting features it brings, this book will be your go-to guide to experimenting with all of these features through helpful recipes.

We’ll start by showing you how to customize and configure the Drupal environment as per your requirements, as well as how to install third-party libraries and then use them in the Drupal environment. Then we will move on to creating blocks and custom modules with the help of libraries. We will show you how to use the latest mobile-first feature of Drupal 8, which will help you make your apps responsive across all the major platforms. This book will also show you how to incorporate multilingual facilities in your sites, use web services and third-party plugins with your applications from inside Drupal 8, and test and deploy your apps.

Features

Discover the enhanced content authoring experience that comes with Drupal 8 and how to customize it
Take advantage of the broadened multilingual and tools of the new version to provide an internationalized website
This step-by-step guide will show you how to deploy from development, staging, and production of a website with Drupal 8's brand new configuration management system

Mastering Drupal 8

Sub-title: 
Mastering Drupal can lead to a mighty website - discover what Drupal 8 can really do with hidden techniques, best practices, and more!
Publisher: 
Packt Publishing
Publication date: 
2017-07
Page count: 
456
ISBN-13: 
9781785885976

Learn

  • Discover how to better manage content using custom blocks and views
  • Display content in multiple ways, taking advantage of display modes
  • Create custom modules with YAML and Symfony 2
  • Easily translate content using the new multilingual capabilities
  • Use RESTful services and JavaScript frameworks to build headless websites
  • Manage Drupal configuration from one server to another easily

About

Drupal is an open source content management system trusted by governments and organizations around the globe to run their websites. It brings with it extensive content authoring tools, reliable performance, and a proven track record of security. The community of more than 1,000,000 developers, designers, editors, and others have developed and maintained a wealth of modules, themes, and other add-ons to help you build a dynamic web experience.

Drupal 8 is the latest release of the Drupal built on the Symfony2 framework. This is the largest change to the Drupal project in its history. The entire API of Drupal has been rebuilt using Symfony and everything from the administrative UI to themes to custom module development has been affected.

This book will cover everything you need to plan and build a complete website using Drupal 8. It will provide a clear and concise walkthrough of the more than 200 new features and improvements introduced in Drupal core. In this book, you will learn advanced site building techniques, create and modify themes using Twig, create custom modules using the new Drupal API, explore the new REST and Multilingual functionality, import, and export Configuration, and learn how to migrate from earlier versions of Drupal.

Features

The most up-to-date advanced practical guide on Drupal 8 with an in-depth look at all the advanced new features such as authoring, HTML markup, built-in web services, and more
If you are looking to dive deep into Drupal 8 and create industry-standard web apps, then this is the ideal book for you
All the code and examples are explained in great detail to help you in the development process

Pages

Subscribe with RSS Subscribe to RSS - Electronic