• Fig Leaf Software - Training & Events

The Fig Leaf Blog

TRAINING: PHP for Drupal 7 (August 17, 2016)

Posted by Steve Drucker on Jul 7, 2016 9:09:00 AM
Steve Drucker
Find me on:

This one day class on August 17, 2016 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.

*This course was written by Fig Leaf Software

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

Register for PHP Class

Topics: Drupal, Online Training, Washington DC, PHP

"We've Got You Covered"

Sign up to receive updates on new events, new classes, discounted promotions, monthly schedules, and more.

Recent Posts

Posts by Topic

see all