O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Drupal 7 Module Development

Video Description

Design, implement, and deliver a successful business intelligence project with SQL Server Analysis 2012 Services

About This Video

  • 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

  • In Detail

    Drupal is an award-winning open-source Content Management System. It's a modular system, with an elegant hook-based architecture, and great code. Modules are plugins for Drupal that extend, build or enhance Drupal core functionality. With this course you will learn to build a Drupal custom module by completing short tasks and ultimately weave the tasks together to get a completed and fully functional module. Drupal 7 Module Development introduces you to module development by understanding the essential hooks and functions, building tables and querying the Drupal database, exploring module security, performance and how our module interacts with Drupal core and contributed modules. Each video walks you through essential Drupal functions and demonstrates how to use these functions in a module that we build hands-on together Drupal 7 Module Development starts by showing you how to set up your local development environment to support custom module development. You will learn how to use the best tools and configure them. Next you will learn to configure a Feeds importer to import content into your site that you will then leverage with your custom module and write a menu callback using hook_menu and hook_permissions. We will then look at the form API and write a hook_form_alter function and create a .install file and build a db schema function to create a table in our database Finally we create a block using our module and theme the block. We end the course by reviewing our module from a security and performance standpoint. From the local development to the review of security we build a custom module step-by-step throughout the course’s short videos.

    Table of Contents

    1. Chapter 1: Installing Drupal for Custom Module Development
      1. Installing and Configuring MAMP 00:04:14
      2. Installing and Configuring Aptana Studio editor 00:04:54
      3. Installing and Configuring Drupal 00:05:08
      4. Drupal Modules 00:03:31
      5. Setting Up custom and contrib Modules Directory 00:04:18
    2. Chapter 2: Introducing the Custom Facebook Feed Module
      1. Preparing to Import Feeds 00:04:05
      2. Creating the Feeds Importer 00:04:55
      3. PHP Settings and Feeds Tamper 00:04:38
      4. PHP Intro and Drupal Coding Standards 00:04:23
      5. Creating the .info File 00:05:06
      6. Creating the .module File 00:03:14
      7. Understanding the Drupal API 00:03:56
      8. Using the Devel Module 00:04:45
      9. Using Devel Module to Inspect Page Variables 00:03:47
    3. Chapter 3: Menu Callbacks and Permissions
      1. Using the hook_menu Function 00:03:29
      2. Caching 00:03:30
      3. Using the hook_permission Function 00:05:34
      4. Adding the admin.inc File to Our Module 00:04:39
    4. Chapter 4: The Form API
      1. Using the system_settings_form 00:03:07
      2. Using the admin_settings_form and Checkboxes 00:02:59
      3. Creating and Using Drupal Variables 00:03:11
      4. Using the hook_validate Function 00:02:56
      5. Using the hook_form_alter Function 00:05:59
    5. Chapter 5: Connecting with the Database
      1. Creating the .install File 00:04:15
      2. Using the hook_schema Function – Part 1 00:06:34
      3. Using the hook_schema Function – Part 2 00:05:20
      4. Using the hook_uninstall Function 00:05:23
      5. Using the hook_update Function 00:04:25
    6. Chapter 6: Node Hooks and Database System
      1. Adding Node Hooks – Part 1 00:04:19
      2. Adding Node Hooks – Part 2 00:03:22
      3. Database Queries – Part 1 00:04:04
      4. Database Queries – Part 2 00:03:05
      5. Database Abstraction Layer 00:04:38
    7. Chapter 7: Block System and Theming
      1. Understanding the hook_block_info Function 00:05:16
      2. Understanding the hook_block_view Function 00:05:07
      3. Understanding the block_contents custom Function 00:05:42
      4. Theming the block – Part 1 00:04:15
      5. Theming the block – Part 2 00:03:39
    8. Chapter 8: Security, Performance, and Testing of our Module
      1. Drupal Module Security and Sanitization 00:03:22
      2. Installing the Coder Module 00:05:12
      3. Conducting a Simple Test – Part 1 00:02:57
      4. Conducting a Simple Test – Part 2 00:05:07
      5. Conducting a Simple Test – Part 3 00:03:58