Blanca Esthela Esqueda Gutierrez
Senior Software Engineer & Drupal Grand Master
OPIN Software
What we will discuss today...
https://www.acquia.com/products-services/dev-desktop
Acquia dev-desktop
Drush
Git
Code editor
Terminal
MAMP
Drupal
Acquia dev-desktop
Development Block
Switch User Block
Execute PHP Block
Tab to Inspect Objects and Variables
dsm, kpr
Query Log
● Drupal API Documentation: http://api.drupal.org
● Drupal Examples Module: https://drupal.org/project/examples
● Batch API: https://drupal.org/node/180528
● Cache API: https://drupal.org/node/145279
● Entity API: https://drupal.org/developing/api/entity/7
● Field API: https://drupal.org/node/443536
● File API: https://drupal.org/node/555118
● Form API: https://drupal.org/node/37775
● Queue API:
https://api.drupal.org/api/drupal/modules!system!system.queue.inc/group/queue/7
● Common core hooks: https://drupal.org/comment/3560674#comment-3560674
Core Modules
Sites directory
sites/all/modules/contrib
sites/all/modules/custom
Two files required
mymodule.info
mymodule.module
Optional files
README.txt
HTML Templates, CSS
mymodule.install
Name = Demo
Description = Just a demo module
Core = 7.x
<?php
//Put your functions here
Drupal is "Event-Driven"
How to hook into Drupla processes
What it is an Event?
What it is a Hook?
https://www.computerminds.co.uk/articles/rendering-drupal-7-fields-right-way
https://www.unleashed-technologies.com/blog/2014/01/15/beginning-drupal-module-development-custom-drupal-blocks-tutorial
● Drupal Coding Standards: https://drupal.org/coding-standards
● Naming your modules, functions, and variables: https://drupal.org/node/299070
Helper Modules
https://www.drupal.org/coding-standards#helpermod