New Video Class: Drupal 7 Module Development
This week’s new video class is “Drupal 7 Module Development“.
This massive new course is 57 videos long and covers everything you need to know when starting to create Drupal modules.
This class was created in partnership with Acquia, and you’ll learn all the best practices from Drupal’s top company.
You’ll learn how to leverage Drupal’s API to create custom modules. You’ll learn by developing several modules and using step-by-step instructions to hook into Drupal’s existing functionality.
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
- Creating the Red Link Module
- Set up the Red Link Module
- Building Arrays
- Final Red Link Features
- Coding Standards
Mailfish Module
- ntroduction 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
Drupal 7 code is about 2000 files, Drupal 8 is 24000 files, and lots of companies recognized that moving up the “Drupal way” was a big investment, so they hesitated, and are now still supporting their investment in Drupal 7, and holding their own, so this is not over in spite of lots of suggestions that they are about to be abandoned. Many of those sites have figured out how to use their sites smartly and securely. Drupal 7 will be around for a while longer, keep up the good (light weight) work.
Thanks for your thoughts – and yep – you’re right.
That said, January 2025 is the “last” drop dead EOL for Drupal 7. Hopefully this will help companies upgrade. If not – there’s always Backdrop. (https://backdropcms.org)