How to Develop Drupal 7 Modules

OSTraining
Course Summary
In this class, you'll learn how to leverage Drupal's API to create custom modules. You'll develop several modules using step-by-step instructions to hook into Drupal's existing functionality.
-
+
Course Description
In this class, you'll learn how to leverage Drupal's API to create custom modules. You'll develop several modules using step-by-step instructions to hook into Drupal's existing functionality.This class was designed for those who have experience with Drupal 7 site building and knowledge of PHP.
By the end of the training you will be able to:- Understand Drupal's hook system and development architecture.
- Articulate the construction of Drupal modules.
- Insert and extract data using Drupal's core database abstraction layer.
- Employ and articulate best practices, security techniques, conventions and coding standards.
Rod holds two masters degrees and has been training people how to do "things" for over 25 years. Originally from Australia, he grew up in Canada and now resides just outside Cincinnati, Ohio. He has worked in both the non-profit and for-profit worlds, in small companies and large corporations.
His extensive open source experience includes WordPress, Joomla, Drupal and Moodle and he really knows how to help you get the most out of the system you chose.
Rod plays ice hockey a couple of times a week and rides his Goldwing motorcycle pretty much everywhere he can.
-
+
Course Syllabus
Intro
Introduction to Module Development
What You'll Need
Dev Desktop
Drush
Resources
Drupal Framework
Modules and the Drupal Framework
Introducing Hooks
The Hook System
First Module
Creating Your First Module
Creating My Module, Part 1
Creating My Module, Part 2
Add a Page with Menu Hook
Page Callbacks
Hook Form Alter
Hook Form Alter in Action
My Module Summary
Red Link Module
Introducing the Red Link Module
Set up the Red Link Module
Building Arrays
Final Red Link Features
Coding Standards
Mailfish Module
Introduction to the Mailfish Module
Set up the Mailfish Module
Setting up the Form
Creating the Subscribe Tab
Drupal Form API
Email Submission Form
Update Callback in the Menu
Form Validation
Validation Handler
Form Submission
Form Submission Handler
Database Functionality
The Install File
Creating the Install File
Add Signups to the Database
Check for Previous Signups
Permissions
Permissions
Implementing Permissions
The Block System
Block and Theme Systems
Placing Mailfish in a Block
Passing Node ID to the Block
Theming the Block Display
Creating a Template
Administration Pages
Mailfish Administrative Pages
Admin Hook Menu
Mailfish.admin.inc File
Reporting Results
Signups Report
Altering Node Form
Altering Node Form
Altering the Node Edit Form
Database Wrapper Functions
Creating Database Functions
Node Operations
Node Operations Code
Conditional Display
Testing
Simpletest: Automated Testing
Setting up Automated Testing
Summary