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

Más contenido relacionado

Destacado (7)

3 Keys To Building A Better User Experience
3 Keys To Building A Better User Experience3 Keys To Building A Better User Experience
3 Keys To Building A Better User Experience
 
Psycho Social Effects of French Ed. System
Psycho Social Effects of French Ed. SystemPsycho Social Effects of French Ed. System
Psycho Social Effects of French Ed. System
 
What We Learned From Social Media
What We Learned From Social MediaWhat We Learned From Social Media
What We Learned From Social Media
 
Empire Magazine Analysis
Empire Magazine AnalysisEmpire Magazine Analysis
Empire Magazine Analysis
 
Encinasola
EncinasolaEncinasola
Encinasola
 
Remindo Office Engagement Network
Remindo Office Engagement NetworkRemindo Office Engagement Network
Remindo Office Engagement Network
 
Science Project
Science ProjectScience Project
Science Project
 

Similar a Drupal module development : Blisstering @ DCSF

Drupal module development
Drupal module developmentDrupal module development
Drupal module development
Rachit Gupta
 
Ctools presentation
Ctools presentationCtools presentation
Ctools presentation
Digitaria
 
Drupal 7-api-2010-11-10
Drupal 7-api-2010-11-10Drupal 7-api-2010-11-10
Drupal 7-api-2010-11-10
Shamsher Alam
 

Similar a Drupal module development : Blisstering @ DCSF (20)

Custom module and theme development in Drupal7
Custom module and theme development in Drupal7Custom module and theme development in Drupal7
Custom module and theme development in Drupal7
 
Drupal module development
Drupal module developmentDrupal module development
Drupal module development
 
PHPNW Drupal as a Framework
PHPNW Drupal as a FrameworkPHPNW Drupal as a Framework
PHPNW Drupal as a Framework
 
13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS 13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS
 
Drupal 8 what to wait from
Drupal 8   what to wait fromDrupal 8   what to wait from
Drupal 8 what to wait from
 
Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7
 
Ctools presentation
Ctools presentationCtools presentation
Ctools presentation
 
Top 15 most popular drupal 8 modules
Top 15 most popular drupal 8 modulesTop 15 most popular drupal 8 modules
Top 15 most popular drupal 8 modules
 
Intro to drupal_7_architecture
Intro to drupal_7_architectureIntro to drupal_7_architecture
Intro to drupal_7_architecture
 
Drupal 6 in a nutshell
Drupal 6 in a nutshellDrupal 6 in a nutshell
Drupal 6 in a nutshell
 
Changelog
ChangelogChangelog
Changelog
 
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ..."Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
 
cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)
 
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
 
Drupal 7-api-2010-11-10
Drupal 7-api-2010-11-10Drupal 7-api-2010-11-10
Drupal 7-api-2010-11-10
 
Quick Start: ActiveScaffold
Quick Start: ActiveScaffoldQuick Start: ActiveScaffold
Quick Start: ActiveScaffold
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 
Drupal in Libraries
Drupal in LibrariesDrupal in Libraries
Drupal in Libraries
 
Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7
 

Drupal module development : Blisstering @ DCSF