Drupal is an amazing tool when used correctly. But is also complex and can be overwhelming to learn even for experienced developers.
I offer a two day workshop to get your developers off to the right start and helping you reap the benefits of creating custom projects in Drupal. By the end of it your team will have built their first working Drupal module and theme and have a solid understanding of how Drupal works under the hood.
This is a structured project based learning path with plenty of practical hands on exercises to cement understanding.
Throughout this course participants will be introduced to new concepts and then immediately complete an exercise. Each exercise builds on the one before and by the end participants will have a working theme and module.
This is aimed at two audiences:
The theming layer Introduction to Drupal 8’s theming layer and how all the pieces fit together. Learn the recommended way to structure your theme files.
Twig Learn how Drupal's new templating engine works and how to create well organised and secure Twig templates.
Sub theming Learn how to leverage existing themes by customising them in a sub theme.
Template preprocessing Learn how to add, remove and alter variables for templates.
Overriding templates Customise pages and elements by overriding Twig templates.
Organising Twig files Learn how to organise your Twig files to make then easier to maintain in the future. Learn how to reuse code with partial templates.
Inheritance Learn how to create variations of a template by overriding a parent template.
Build your own theme Get practical experience building your own theme.
Module development Learn how modules work and the important parts including controllers, routes, plugins, namespaces, YAML, annotations, services and events.
Menu system Learn how to add links to the Drupal 8 menu system, make the message dynamic and set different permission levels.
Custom paths Creating custom pages by mapping menu routes to custom code.
Custom blocks Learn how to create configurable custom blocks.
Admin interfaces Learn how to build an admin interface, giving power to editors to change the settings for the module.
Services Create a standalone PHP class called a service to handle decoupled and reusable functionality.
Events Build a special kind of service, an event. Events are the Drupal 8 object oriented replacement for hooks.
Configuration management Using the configuration API to store and retrieve configuration values
Drupal Console Learn how to use the Drupal Console to auto generate a lot of the code for you, saving time and human error.
This is available in person in your office if you are based in the UK or EU. If you are based outside the UK/EU, this is available via video conferencing.
Prices include both days. Travel expenses are extra, depending on your location.