Drupal Module Development (2 Days)

Learn the fundamentals of Drupal 10 module development.

By Promet Source

Select date and time

Location

Online

Refund Policy

Contact the organizer to request a refund.
Eventbrite's fee is nonrefundable.

About this event

This two-day hands-on course introduces students to concepts and practices for extending the functionality of Drupal’s core and contributed modules through custom module development. Participants are required to have prior experience with Drupal site building and an understanding of basic programming concepts or should have previously completed the Introduction to Drupal and Site Building courses.

Learning Objectives

  • Describe Drupal's hook system and increasingly object-based development architecture
  • Articulate the construction of Drupal modules
  • Insert and extract data using Drupal's core database abstraction layer.
  • Employ and articulate best practices, conventions and coding standards.

Target Experience Level

This two-day course is for experienced Drupal site builders ready to take the next step to build custom functionality in a website and PHP or other programmers new to Drupal development.

Course Outline

Drupal Module Development Fundamentals

  • About the Drupal Framework
  • The Page Call Process
  • Object Oriented Programming
  • MVC, Controllers, and Routing
  • Services and the Service Container
  • Hooks and Plugins in Drupal

Creating Your First Module

  • Module Naming, Location, & Basic Requirements
  • Create mymodule
  • Implementing a Hook in MyModule
  • Add Pages and Menu Items

Building a Fully Functional RSVP List Module

  • Module Requirements
  • Create a Form
  • The Install File
  • Database Integration I
  • Permissions
  • Create the Block
  • Build Administrative Settings Page
  • Reporting Results
  • Altering the Node Edit Form
  • Database Integration II

Automated Testing

  • About the Simpletest Module
  • Writing Functional Tests with Simpletest
  • About PHPUnit
  • Writing Unit Tests for Classes with PHPUnit
  • Drush and Drush Console
  • Different Tools for Differing Needs
  • Downloading and Installing Drush
  • Using Drush
  • Downloading and Installing Drupal Console
  • Using Drupal Console

How Would You Do That in Drupal?

  • Real-Life Design Considerations

Organized by

Promet Source delivers thought-leading, dynamic solutions to optimize impact and engagement within the ever-evolving digital environment. We help industry-leading companies and mission-driven organizations by unraveling complexities, expanding knowledge, and serving as a powerful source of digital transformation with our consulting and training — all backed by a full slate of strategy, design, development, and support services.

As a leading open source digital agency, Promet Source is dedicated to educating digital professionals to unlock the power, freedom, and accessibility of open source solutions. We are one of the most active Drupal and Acquia training providers in the United States. We stand out with education and training infused with real world experience that only comes from working in the trenches with our clients every day on digital web projects.

Reach out to us to start a conversation about how we can help you ignite digital innovation!

$1,025