Drupal Module Development“Hands-on”<br />Anil Sagar<br />Gaurav Kumar<br />Blisstering Solutions<br />
Drupal Architecture<br />Technology Stack L(/W)AMP<br />Code Base (Drupal 6.16)<br />Database<br />
Module Architecture<br />Core Modules<br />Contributed Modules<br />Custom Modules<br />
Module Architecture “The building blocks of a module” <br />The .info file<br />The .install file<br />The .module file<br...
Hooks<br />What are hooks?<br />Why should I care?<br />
hook_menu<br />Define menu items and page callbacks.<br />http://api.drupal.org/api/function/hook_menu<br />
The Schema APIhttp://api.drupal.org/api/group/schemaapi/6 <br />hook_schema<br />hook_install<br />
The FORM API<br />hook_form<br />Form API elements<br />Form Submit<br />Form Validate<br />drupal_set_message<br />drupal...
The Module’s Block<br />hook_block<br />http://api.drupal.org/api/function/hook_block/6<br />
Modify an existing form<br />hook_form_alter<br />http://api.drupal.org/api/function/hook_form_alter<br />
Permissions, Access Control<br />hook_perm<br />http://api.drupal.org/api/function/hook_perm<br />
Node operations “The king of all hooks” <br />hook_nodeapi<br />http://api.drupal.org/api/function/hook_nodeapi/5<br />
Bonus Topic<br />Ecplise<br />Coder<br />Xdebug<br />Firebug<br />
Anil Sagar (anil.sagar@blisstering.com)<br />Gaurav Kumar (gaurav.kumar@blisstering.com)<br />Blisstering Solutions<br />(...
Upcoming SlideShare
Loading in …5
×

Drupal module development : Blisstering @ DCSF

1,961
-1

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,961
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
45
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal module development : Blisstering @ DCSF

  1. 1. Drupal Module Development“Hands-on”<br />Anil Sagar<br />Gaurav Kumar<br />Blisstering Solutions<br />
  2. 2. Drupal Architecture<br />Technology Stack L(/W)AMP<br />Code Base (Drupal 6.16)<br />Database<br />
  3. 3. Module Architecture<br />Core Modules<br />Contributed Modules<br />Custom Modules<br />
  4. 4. Module Architecture “The building blocks of a module” <br />The .info file<br />The .install file<br />The .module file<br />The .inc file<br />
  5. 5. Hooks<br />What are hooks?<br />Why should I care?<br />
  6. 6. hook_menu<br />Define menu items and page callbacks.<br />http://api.drupal.org/api/function/hook_menu<br />
  7. 7. The Schema APIhttp://api.drupal.org/api/group/schemaapi/6 <br />hook_schema<br />hook_install<br />
  8. 8. The FORM API<br />hook_form<br />Form API elements<br />Form Submit<br />Form Validate<br />drupal_set_message<br />drupal_set_error<br />
  9. 9. The Module’s Block<br />hook_block<br />http://api.drupal.org/api/function/hook_block/6<br />
  10. 10. Modify an existing form<br />hook_form_alter<br />http://api.drupal.org/api/function/hook_form_alter<br />
  11. 11. Permissions, Access Control<br />hook_perm<br />http://api.drupal.org/api/function/hook_perm<br />
  12. 12. Node operations “The king of all hooks” <br />hook_nodeapi<br />http://api.drupal.org/api/function/hook_nodeapi/5<br />
  13. 13. Bonus Topic<br />Ecplise<br />Coder<br />Xdebug<br />Firebug<br />
  14. 14. Anil Sagar (anil.sagar@blisstering.com)<br />Gaurav Kumar (gaurav.kumar@blisstering.com)<br />Blisstering Solutions<br />(www.blisstering.com)<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×