PHP for Drupal 7

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Bret Peters's picture
Start: 
2017-11-15 09:00 - 17:00 UTC
Organizers: 
Event type: 
Training (free or commercial)

This one day class is for Web designers and developers working with Drupal, who want to learn the fundamentals of programming using PHP. PHP is a required skill for implementing advanced theming on Drupal websites as well as Drupal module development.

Duration: 1 days

Price: 495.00
Online Price: 495.00

Course Prerequisites
This course is designed for web designers and developers working with Drupal, who want to learn the fundamentals of programming using PHP. No prior programming experience is required, just experience hand-coding HTML and CSS, and a desire to begin learning PHP.

Course Objectives
This course is designed to give you the requisite PHP skillset that is required in order to effectively theme and build modules for Drupal web sites.

Course Outline

Unit 1: Introducing the Course

Unit 2: Introducing PHP
Introducing Drupal and its use of PHP
Embedding PHP in HTML
Exercise: Introducing PHP page processing
Introducing basic programming: variable, loop, condition, function
Exercise: Surveying a simple PHP Application

Unit 3: Introducing HTML form input
Reviewing the HTTP request process
Accessing submitted form data
Exercise: Detecting and examining form input
Using GET and POST form data
Exercise: Accessing and displaying form input

Unit 4: Working with Simple variables
Understanding variables and common data types
Declaring, assigning, and displaying variables
Working with strings
Exercise: Working with string input
Introducing PHP math operations
Exercise: Doing math in PHP

Unit 5: Working with Compound Variables and Loops
Introducing iteration (loops)
Exercise: Using a for loop
Introducing compound variables
Creating and using indexed arrays
Exercise: Displaying array values using a for loop
Iterating values in an associative array
Embedding loops to generate HTML
Exercise: Embedding foreach loops in HTML tables
Working with two dimensional data
Exercise: Displaying two dimensional data in a table

Unit 6: Using conditions and functions
Understanding conditional logic
Understanding logical operators
Exercise: Embedding conditional logic in HTML
Working with built-in functions
Working with custom functions
Exercise: Organizing reusable code using custom functions

Unit 7: Introducing OOP
Understanding the OOP approach
Introducing classes, properties, and methods
Writing and instantiating a simple class
Exercise: Writing and using a PHP class

DrupalGov

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: