Drupal at your Fingertips

Sub-title: 
Modern Drupal developer's quick code reference for version 10
Authors: 

Selwyn Polit
with contributions from the Drupal community

Publisher: 
self
Publication date: 
2024-01
Page count: 
100
ISBN-13: 
na

Drupal at Your Fingertips is a free living Modern Drupal reference book created to help developers quickly find code they need. It is a community effort including other developers' input. Please share it with your network.

Some of the chapters include:

  • Actions - Use the Drupal core actions module to control Drupal.
  • Batch and Queue - Digging into the Batch API and Queue subsystem to take on large tasks.
  • Blocks - Creating custom blocks, block types, block plugins, block forms, block visibility, block access, block regions, block templates, and block preprocess functions.
  • Caching - Understanding the cache system, cache tags, cache contexts, cache max-age, cache bins, cache backends, cache invalidation, cache rebuild, cache clear, cache warm, and cache performance.
  • Composer - Using Composer to manage dependencies and patches.
  • Configuration - Managing configuration files, configuration entities, configuration forms, configuration schema, configuration split, configuration import, configuration export, and configuration override.
  • Cron - Using hook_cron, sample crontab files, how to stop cron.
  • Debugging - Using debugging tools, debugging methods, debugging variables, debugging queries, debugging routes, debugging hooks, debugging events, debugging tests, and debugging performance.
  • Drush - Installing and using Drush, generating code, scaffolding modules, creating entities, updating database, debugging site, and running tests.
  • Forms - Creating and altering forms, form elements, form validation, form submission, form redirection, form states, form storage, form AJAX, form theming, and form API.
  • Hooks - Understanding the hook system, implementing hooks, altering hooks, invoking hooks, creating custom hooks, and debugging hooks.
  • Menus - Creating and altering menus, menu links, menu trees, menu blocks, menu templates, menu preprocess functions, and menu API.
  • Modules - Creating and altering modules, module structure, module dependencies, module installation, module uninstallation, module updates, module hooks, module events, and module testing.
  • Routes and controllers - Creating and altering routes, route parameters, route requirements, route options, route controllers, route access, route responses, and route API.
  • Services and Dependency injection - Understanding the service container, creating and altering services, service definitions, service arguments, service tags, service injection, service discovery, and service API.
  • Testing - Writing and running PHPUnit and Drupal Test Traits tests.
  • Twig - Using and extending Twig, Twig syntax, Twig filters, Twig functions, Twig variables, Twig templates, Twig debugging, Twig caching, and Twig API.
  • Update - Upgrading and patching Drupal and contrib modules.

Note. you can buy a pdf version from leanpub.

Learning Drupal 8

Sub-title: 
Create complex websites quickly and easily using the building blocks of Drupal 8, the most powerful version of Drupal yet
Publisher: 
Packt Publishing
Publication date: 
2016
Page count: 
328
ISBN-13: 
978-1782168751

About This Book

  • Build complete, complex websites with no prior knowledge of web development entirely using the intuitive Drupal user interface
  • Follow a practical case study chapter-by-chapter to construct a complete website as you progress
  • Ensure your sites are modern, responsive and mobile-friendly through utilizing the full features available in Drupal 8

Who This Book Is For

If you want to learn to use Drupal 8 for the first time, or you are transitioning over from a previous version of Drupal, this is the book for you. No knowledge of PHP, MySQL, or HTML is assumed or required

What You Will Learn

  • Set up a local “stack” development environment and install your first Drupal 8 site
  • Find out what is available in Drupal 8 core
  • Define content types and taxonomies—and find out when you should do so
  • Use the powerful Views module
  • Get hands-on with image and media handling
  • Extend Drupal using custom community modules
  • Develop the look and feel of your website using Drupal themes
  • Manage site users and permissions

In Detail

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs.

The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.

Learning test site

I would like to create a site of learning, based on book and "preset questions" where users can, in the same page:
1) Read the question
2) Enter their response into an editable field
3) Check out their answer in a field "previously hidden" and discovered through some mechanism like mouse-hover or a button "verify answer" to click.

Note: Users responses should not be saved to (1) allow the simultaneous use of multiple users and to (2) find the response-fields empty when they returns to the site

Google Summer of Code Archive

Both Drupal and contributed modules have benefited greatly from its long-time involvement with the Google Summer of Code program since 2005. This section is an archive of this past involvement.

For information about future Google Summer of Code participation, see:

Subscribe with RSS Subscribe to RSS - learning