Drupal 7 Module Development [Video]

Trevor James

Drupal 7 Module Development [Video]
Downloadable video: $34.99
$20.99
save 40%!

Packt Video. Stream online or download for unrestricted offline use. Learn more

Overview
Course Contents
The Author
Sample Clip
Support
  • New! Packt Video courses: practical screencast-based tutorials that show you how to get the job done. Bite sized chunks, hands on instructions, and powerful results.
  • Use the essential hooks and functions in your module code to build your own custom Drupal 7 module
  • Create database tables, write database queries and finally build and theme blocks using powerful hook functions
  • Set up an ideal development environment by reviewing the module from a security and performance standpoint

Video Details

Language : English
Release Date : Thursday, June 27, 2013
Course Length : 3 hours 06 minutes
ISBN : 178216118X
ISBN 13 : 9781782161189
Author(s) : Trevor James
Topics and Technologies : All Books, CMS and eCommerce, Video, Drupal, Open Source

Table of Contents

  1. Installing Drupal for Custom Module Development [22:03 minutes]
    • Installing and Configuring MAMP
    • Installing and Configuring Aptana Studio editor
    • Installing and Configuring Drupal
    • Drupal Modules
    • Setting Up custom and contrib Modules Directory

  2. Introducing the Custom Facebook Feed Module [38:48 minutes]
    • Preparing to Import Feeds
    • Creating the Feeds Importer
    • PHP Settings and Feeds Tamper
    • PHP Intro and Drupal Coding Standards
    • Creating the .info File
    • Creating the .module File
    • Understanding the Drupal API
    • Using the Devel Module
    • Using Devel Module to Inspect Page Variables

  3. Menu Callbacks & Permissions [17:11 minutes]
    • Using the hook_menu Function
    • Caching
    • Using the hook_permission Function
    • Adding the admin.inc File to Our Module

  4. Form API [18:10 minutes]
    • Using the system_settings_form
    • Using the admin_settings_form and Checkboxes
    • Creating and Using Drupal Variables
    • Using the hook_validate Function
    • Using the hook_form_alter Function

  5. Connecting with the Database [25:55 minutes]
    • Creating the .install File
    • Using the hook_schema Function – Part 1
    • Using the hook_schema Function – Part 2
    • Using the hook_uninstall Function
    • Using the hook_update Function

  6. Node Hooks and Database System [19:25 minutes]
    • Adding Node Hooks – Part 1
    • Adding Node Hooks – Part 2
    • Database Queries – Part 1
    • Database Queries – Part 2
    • Database Abstraction Layer

  7. Block system and Theming [24:20 minutes]
    • Understanding the hook_block_info Function
    • Understanding the hook_block_view Function
    • Understanding the block_contents custom Function
    • Theming the block – Part 1
    • Theming the block – Part 2

  8. Security, Performance and Testing of our Module [20:33 minutes]
    • Drupal Module Security and Sanitization
    • Installing the Coder Module
    • Conducting a Simple Test – Part 1
    • Conducting a Simple Test – Part 2
    • Conducting a Simple Test – Part 3

Trevor James

Trevor James is a Drupal developer residing in Middletown, MD, USA. Trevor has been using Drupal intensively since 2007 and designing websites for over 15 years using a combination of HTML, CSS, ColdFusion, PHP, jQuery, and JavaScript.

Trevor's focus is on building Drupal-based web applications and portals for education, non-profit, and medical systems, and small business environments. He is interested in the best methods of integrating web services with Drupal sites, optimizing Drupal sites' performance, and using Drupal content types, Views, Panels, and other contributed modules to develop front-end interfaces that support data intensive websites.

He loves teaching people about Drupal and how to use this excellent open source content management framework. Trevor authored the following Packt books:

  • Drupal 7 Business Solutions (http://www.packtpub.com/drupal-7- business-solutions-to-build-powerful-web-site/book), published in early 2012
  • Drupal Web Services (http://www.packtpub.com/drupal-web-services/book), published in November 2010
  • Drupal 6 Performance Tips (https://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/book), published in February 2010

Trevor created a 14-hour video tutorial series titled Drupal 7 for Virtual Training Company (VTC) in 2011. The video is available via the VTC website at http://www.vtc.com/products/Drupal-7-Tutorials.htm.

Sorry, we don't have any reviews for this video yet.

Associated code downloads are included in the zip file of the purchased video.

Code Downloads

Download the code and support files for this video.


Support, complaints and feedback.

Packt is committed to making Packt Video courses a valuable, useful way for IT professionals to learn new skills. We have made every effort to ensure that this course reaches the required standard and will work on our customer's devices. Please go to our support page.

What you will learn from this video course

  • Build a .info and .module file to set up your module
  • Write hook_menu and hook_permissions functions
  • Set up an admin settings form and use hook_form_alter
  • Create database tables using hook_schema and .install files
  • Write node hooks and database queries
  • Create a custom block via your module
  • Theme the block and write CSS to style it
  • Use t function and other sanitization functions to secure your module
  • Use and create custom Drupal variables
  • Explore the research functions in the Drupal API

Who this video course is for

This course is perfect for any Drupal user who is just starting to explore Drupal core and contributed modules. If you’ve used some contributed modules you can now turn to learning how to write your own custom Drupal 7 module. You should have a familiarity with Drupal but no experience with programming Drupal custom modules or PHP is required to follow this course.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software