In this course, beginner Drupal developers will learn the foundational skills needed to create modules in Drupal. The course focuses on programmatically generating pages from data within and outside the Drupal CMS and rendering it in a variety of formats and custom templates.
Who is this class for?
This class is for beginning Drupal developers or those without formal training who may have missed some important fundamental concepts. No prior experience with module development is required, but a basic understanding of PHP and familiarity with the Drupal CMS are recommended.
What does this course cover?
Students who take this course will be able to:
- Understand the Drupal module development framework
- Create custom routes that map URLs to pages in a module
- Create menu links to navigate to custom pages
- Create services that can be used by other modules or custom code
- Use templates to control the look and feel of pages
- Understand the Drupal cache system and how to use it to improve the performance of custom code
How is it taught?
The course will consist of pre-recorded video lessons and live Q&A sessions with the course instructor. The lesson videos can be watched on-demand, anytime it's convenient. Throughout the course, students will work on a series of hands-on projects, building custom modules that demonstrate the concepts covered in each lesson. We will provide an online development environment in which to follow along with the lessons and complete the assignments.
The weekly live sessions will be conducted online using Zoom. During the sessions, the instructor will answer questions about the lessons and will help troubleshoot any issues with the assignment. In addition to the live sessions, you will have access to an online forum to discuss assignments with other students and ask the instructor questions during the week.
How long is this course?
The estimated time commitment for the course is 6 - 8 hours per week for 2 weeks.
After the course is over, you can continue to access the lesson videos, free of charge, forever. There are no monthly subscription fees. Just come back and watch the lessons whenever you want. They are great when you need a refresher on a topic.
Lessons in This Class
|Using the DrupalTutor DevStack
|Installing Drupal Core
|Fixing the Trusted Host Settings Error
|Enabling Development Settings in Drupal
|Development Tools for Drupal
|Running Drush Without the Path
|Using the Example Code Repository
|How Drupal Works
|Creating Your First Drupal Module
|Creating Static Routes
|Static and Dynamic Route Titles
|Creating Dynamic Routes
|Access Control Callbacks on Routes
|Altering Routes from Other Modules
|Creating Menu Links
|Creating Local Task Links
|Creating Action Links
|Altering Links From Other Modules
|Using Services with Dependency Injection
|Defining Services in a Drupal Module
|Overriding Services (and Using Dependency Injection in Services)
|Introduction to the Drupal Theme System
|Defining Templates in Drupal Modules
|Attaching CSS Libraries to Templates
|Using Preprocess Functions
|An Overview of Caching in Drupal
|Caching Metadata: Max Age
|Caching Metadata: Cache Tags
|Caching Metadata: Cache Contexts