Intended for developers who have no, or limited, experience with Drupal 8 or OOP. Familiarity with Drupal 7 will be beneficial but isn't required. This workshop will help jump start your Drupal 8 coding work by laying the foundation for all the big concepts that have been recently introduced. More than just teaching these ideas, I will attempt to provide understanding behind the potential motivations for these changes and how they relate to the work you're already familiar with from Drupal 7 or other procedural frameworks/CMSs.
We'll discuss and write a custom module together that uses all of these concepts:
- Introduction to Object Oriented Programming
- PSR4: Namespaces and Autoloading
- What is Symfony?
- Drupal 8 file structure - What you need to know.
- YAML files & Annotations
- Services
- Hooks vs Events
- Custom Forms
- Custom Block Types
By the end of this workshop you should be significantly more knowledgable about how Drupal 8 has changed and understand why those changes are considered improvements on Drupal 7's code base.
It will be useful to come to this training with a local development environment where you can write and run PHP. Having a Drupal 8 site to work with would be beneficial, but isn't completely necessary.