In this course, you will learn to build your own custom modules for Drupal. Covering the Drupal 7 core API and the Views module API, you'll discover the most commonly-used Drupal hooks and functions and find out how to use Drupal's documentation to learn about the rest. You'll develop several modules step-by-step, while following best practices to ensure maintainability and interoperability with other modules. This course covers the Drupal hook system, the database API, the form API, Views module API, security and performance best practices. This course is taught by a practicing Drupal developer and will take a pragmatic approach to development based on real-world experience.
Who is it for?
This course is for anyone who wants to create their own Drupal modules. It targeted a web developers, system integrators, and anyone who want to tweak Drupal's behavior to meet their needs.
Pre-requisites: This course was designed for those who have experience with Drupal site building and knowledge of PHP. Students without PHP experience should consider taking our PHP Bootcamp for Drupal class. Those without Drupal experience should take Building Websites with Drupal 7
How is it taught
The class will consist of six video lessons, each around 3 hours, and six live lab sessions with the instructor. The lessons will cover all the topics listed below and can be watched anytime that is convenient for you. At the end of each lesson, you will be given an assignment to practice what you've learned. (We will provide web hosting for your practice work, so you don't need to worry about setting that up.) The lab sessions will be conducted online, using the webinar software GotoWebinar. During the sessions, the instructor will answer all your questions from and will help troubleshoot any issues you have doing the assignment. (GotoWebinar allows us to view your computer, and take control of your keyboard and mouse if needed. So, we can see any error messages that you're seeing and figure out how to fix it in realtime.)
In addition to the live sessions, students will have access to an online forum to discuss assignments with other students and ask the instructor questions.
Lessons In This Course
Lesson 1: Drush, Git and The Drupal Hook System
Introduction to Drupal 7 Module Development00:05:32Using the DrupalTutor DevStack00:28:42Installing Drupal with Drush00:13:29Writing Your First Module (Intro to Drupal Hooks)01:45:05
Lesson 2: The Menu Routing System
Using hook_menu() to Declare Menu Routes01:40:59Advanced hook_menu() Settings and hook_permission()00:40:51Altering Menu Routes with hook_menu_alter()00:44:08
Lesson 3: Accessing Databases and Theming the Results
Accessing Databases with db_query and Theming the Results01:53:25Using the Object-Oriented Database Library00:27:40Installing Custom Tables with Module (the Schema API)00:17:04Accessing External / Legacy Databases from Drupal00:17:15
Lesson 4: The Drupal FormAPI
Introduction to the FormAPI00:34:44The Kitchen Sink Form Module01:00:34Handling File Uploads (Managed and Unmanged)00:28:14Altering Forms Created by Drupal Core and Other Modules with hook_form_alter()00:40:48
Lesson 5: Putting it All Together and Integrating with Views
The Hamster Database Module01:01:45Integrating Your Module with Views01:30:46Altering Views Queries and Output with Views Hooks00:25:53
Lesson 6: Writing Secure, High-Performance Drupal Modules
NodeAPI Hooks00:24:51User-Related Hooks00:14:18Writing Secure Drupal Code00:42:59Using Caching to Improve Module Performance00:27:33Responsibly Hacking Drupal Core and Contributed Modules00:32:36
About Your Instructor
Wayne Eaker is the director and chief developer of Zengenuity. He's a Drupal expert with years of experience building highly-customized Drupal websites. He is also a seasoned trainer, having taught professionals, corporate clients and high school computer science students.
Try this course for a week, and if you don't agree that it's the best way to learn Drupal, we'll refund the full price. No questions asked.