• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Introduction to Module Development - Drupal

by on Sep 20, 2010


Creating Modules to make Drupal Dance: An Introduction ...

Creating Modules to make Drupal Dance: An Introduction

This is a hands-on introductory course on module development. We start by introducing the structure of a well-written module and place it in the context of Drupal's architecture. Sometimes you will come across an existing module that almost does what you need but not quite -- we will talk about to extend that module. Occasionally you simply have to write a new module from scratch. You will have your ownl development sandbox as we work through the Drupal API. You will leave the class sufficient understanding of Drupal’s menu, form and hook systems and the database. Below is the sequence in which topics will be covered.

Drupal Architecture -- Technology Stack, Code Base, Database.
Module Architecture -- Difference between Core, Contributed, Custom Module
Building Blocks of module -- Different types of files and why we use them
How to create simple page using hook_menu
How to create a simple block using hook_block that can be displayed in any region.
How to create schema using hook_install and hook_schema
How to create a simple form using hook_form and various actions like validate and submit.
How to display messages and errors using drupal_set_message and drupal_set_error functions.
How to alter existing forms using hook_form_alter
How to theme a simple block using theme functions
How to set permissions using hook_perm to view the page created in step 4
How to use hook_nodeapi to do node operations
A demo module will be built using all the above hooks to demonstrate how various hooks works
Bonus Topics : How to use coder module for coding standards, How to debug a module using xdebug, How to use drupal with eclipse IDE.
Prerequisite: We assume you have working knowledge of PHP.



Total Views
Views on SlideShare
Embed Views



14 Embeds 3,532

http://localhost 1467
http://www.blisstering.com 614
http://blisstering.m2serve.info 435
http://devblisstering.m2serve.info 424
http://blisstering 174
http://www.bliss-dev.com 164
http://blisstering.com 158
http://staging.blisstering.com 44
http://bliss-dev.com 34 9
http://blisstering.local 4 2
http://old.blisstering.com 2 1



Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Post Comment
Edit your comment

Introduction to Module Development - Drupal Introduction to Module Development - Drupal Presentation Transcript