PHP developers are excited that Drupal 8 has a new object-oriented framework with Symfony components. Are you ready to learn how to leverage these Symfony components in your Drupal 8 module? Then check out this new set of tutorials from our friends at KnpUniversity: Module Development Essentials.
You'll learn some of the new Symfony concepts and tools used in Drupal 8 development, including routes, controllers, the services container, and events. You'll also learn to integrate new tools into your development workflow, including Drupal Console, Webprofiler (now part of Devel), Git, and Composer.
This series isn't just for Drupal 7 developers. If you're a PHP developer familiar with Symfony and you want to know how these components are used in the context of Drupal 8, this series is for you too.
Your trainer is Symfony documentation lead and Drupal community member, Ryan Weaver. He walks you through concepts and application in a custom module. By the end of this series you'll understand how to:
- Set up a new module with a route and a controller
- Get services out of the services container and into your module
- Listen for events and respond to them
- Utilize tools such as Drupal Console and Webprofiler in your development workflow
This series is hands-on. You'll need an integrated development environment (IDE) like PhpStorm to follow along. It kicks off with these 18 video tutorials:
- Install Drupal for Local Development
- Create a Module with a Route and Controller
- Install and Run Drupal Console
- Add a Wildcard to a Route
- Activate Debug Mode
- Install Webprofiler and Identify Controllers
- Understand the Service Container
- Create a Service
- Configure a New Service
- Get a Service out of a Controller
- Understand How Shortcut Methods Use Services
- Access a Service within a Service
- Add Configuration to a Service
- Override Drupal Core Services
- Understand Drupal Events Versus Hooks
- Create an Event Subscriber with Tags
- Utilize Event Arguments and Request Objects
- Inspect the Event Listener Behind Render Arrays
If you need to brush up on object-oriented PHP and other key concepts, check out these prerequisite tutorials:
- Introduction to Object-Oriented PHP
- Object-Oriented PHP Part 2
- Object-Oriented PHP Part 3
- An Introduction to YAML
- Dependency Injection and the Art of Services and Containers
Hungry for more Drupal 8 developer tutorials? Check out Configuration Management for Drupal 8 —tutorials for Drupal administrators and developers.
P.S., Themers—we're working on new tutorials just for you! Stay tuned by clicking the Notify me button on What's New in Drupal 8: Theming and we'll email you when they're released.
Add new comment