Anatomy of Drupal

1,607 views

Published on

Published in: Technology
  • I would like to add as a resource Propeople Blog (http://wearepropeople.com/blog). I've been reading it wor a while and I can testify that my programming skills evolved a lot.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Anatomy of Drupal

  1. 1. Drupal AnatomyGerald Z. Villorenteopen-source developer
  2. 2. About Me Software Engineer at Kite SystemsSoftware Engineer at Kite Systems FOSS evangelistFOSS evangelist and aand a proud dadproud dad
  3. 3. What is Drupal?
  4. 4. Drupal is? Content Management SystemContent Management System Content Management FrameworkContent Management Framework Web Application FrameworkWeb Application Framework Written in PHPWritten in PHP
  5. 5. Drupal is like a...Lego’s model of Le Corbusier’s Villa Savoye. Photo: © 2012, the LEGO Group
  6. 6. Technology Stack
  7. 7. http://techyari.in/understanding-drupal-how-it-actually-works/
  8. 8. Drupal Lingo
  9. 9. Drupal Common Terms Modules:Modules: self-contained applications that provide a specificself-contained applications that provide a specificfunctionalityfunctionality Core Contrib Custom Themes:Themes: collection of files (PHP, INFO, CSS, JPG, GIF, PNG),collection of files (PHP, INFO, CSS, JPG, GIF, PNG),which together determine the look and feel of a sitewhich together determine the look and feel of a site Core Contrib Custom Regions:Regions: defined areas of a page where content can be placeddefined areas of a page where content can be placed
  10. 10. Drupal Common Terms Blocks:Blocks: boxes visible in the regions of a Drupal websiteboxes visible in the regions of a Drupal website Node:Node: a piece of content in Drupal, typically corresponding to aa piece of content in Drupal, typically corresponding to asingle page on the sitesingle page on the site Taxonomy:Taxonomy: is the name of a powerful core module that gives youris the name of a powerful core module that gives yoursites use of termssites use of terms Vocabulary:Vocabulary: collection of termscollection of terms Terms:Terms: keyword, metadata, or tagskeyword, metadata, or tags API:API: application programming interface, a particular set of codeapplication programming interface, a particular set of codeand specs that software programs can follow to communicate withand specs that software programs can follow to communicate witheach othereach other Hook:Hook: internal Drupal callbacksinternal Drupal callbacksEx: foo_bar() - where “foo” is the name of the module (whoseEx: foo_bar() - where “foo” is the name of the module (whosefilename is thus foo.module) and “bar” is the name of the hookfilename is thus foo.module) and “bar” is the name of the hook
  11. 11. The Filesystem
  12. 12. Drupal Root StructureGolden Rule:Golden Rule: Never ever alter/modify the core!Never ever alter/modify the core!
  13. 13. Site Directory StructureTypical single site setupTypical single site setup
  14. 14. Site Directory StructureTypical multi site setupTypical multi site setup
  15. 15. Module Structure
  16. 16. Theme Dir. & Files Structure
  17. 17. Drupal Framework Architecture
  18. 18. Theme, Module, and Corehttp://www.ibm.com/developerworks/library/os-new-drupal-theme/
  19. 19. Theme Layer
  20. 20. Regions and Blocks
  21. 21. Theme Anatomyhttp://drupal.org/node/171194
  22. 22. Theme Workflowhttp://www.chapterthree.com/blog/david-needham/leveling-your-themer-lvl2-base-themes
  23. 23. Thank You!
  24. 24. Resources http://drupal.org/documentationhttp://drupal.org/documentation http://api.drupal.org/api/drupalhttp://api.drupal.org/api/drupal http://drupal.org/downloadhttp://drupal.org/download http://drupal.org/project/moduleshttp://drupal.org/project/modules http://drupal.org/forumhttp://drupal.org/forum http://drupal.stackexchange.com/http://drupal.stackexchange.com/ http://groups.drupal.org/jobshttp://groups.drupal.org/jobs http://buildamodule.com/http://buildamodule.com/ http://drupalize.me/http://drupalize.me/

×