Andrew Tuline: PHP & Drupal Modules

Andrew Tuline

An Introduction to PHP and Drupal Modules


Twitter: @atuline

atulineThis proposed session assumes the attendees have little or no background in PHP and demonstrates how to add simple PHP code to articles as well as taking our first steps towards creating very simple Drupal modules. With the references and examples provided, attendees should be able to start down the path of using PHP on their web site.

The topics include:

Talk about helpful modules (Devel, Admin Menu, Backup/Migrate)
Enabling PHP filter for inline coding
Write some simple inline PHP with a few examples
Provide a couple of simple Drupal specific code snippets
Intro to modules (where they go, different files, etc)
Provide information references (i.e. api.drupal.org, books, online handbooks, online examples)
Learn about arrays (as used by Drupal)
Demo a simple page module (and show the related API)
Demo a simple help module (ditto)
Demo a simple block module (ditto)
Demo a simple form