Drupal 7 Module Development Best Practices

2 days
Course Category
Drupal 7
Course Price


This 2 day class provides a comprehensive introduction to the essential skills necessary for creating and modifying modular functionality of Drupal 7 websites.

Course Outline

  • Day 1: Module Development
    • Modules and the Drupal Framework
      • Drupal as a Framework
      • The Page Request Process
      • What are Hooks?
      • The Hook API and Selecting Hooks?
      • The Syntax and Anatomy of a Hook
      • Hook Conflict Resolution
    • Creating Your First Module
      • Module Naming, Location & Basic Requirements
      • Create mymodule
      • What is a Callback?
      • The Form Alter Hook
    • Exposing Node View with Red Link Module
      • Build the Red Link Module
      • Drupal Coding Standards
    • Building a Fully Functional Mailfish Module
      • Mailfish: Menu Hook for Local Tab
      • Mailfish: Drupal Form API
      • Mailfish: The Install File
  • Day 2: Module Development
    • Building a Fully Functional Mailfish Module (continued)
      • Mailfish: Database Integration I
      • Mailfish: Permissions
      • Mailfish: Block & Theme Systems
      • Mailfish: Menu Hook for Administrative Page
      • Mailfish: Reporting Results
      • Mailfish: Altering the Node Form
      • Mailfish: Database Integration II
      • Mailfish: Node Operations
    • Automated Testing
      • Using the Simpletest Module
      • Types of Testing
      • Writing Tests

Should I Take this Course?

This course is perfect for those who are:

  • programmers unfamiliar with Drupal development
  • Drupal site builders who need to take more control over functionality
  • planning to build a new site in Drupal 7
  • preparing for delivery of a new Drupal 7 development
  • looking to firm up Acquia best practice knowledge for Drupal 7 Certification