Call us at 1-800-413-0939
Hands On Technology Transfer
gsa

PHP Programming Course

Attend face-to-face, remote-live, on-demand or on site at your facility.

On-Demand Training with Personal Facilitation
Top

PHP Programming

Delivery Options: Attend face-to-face in the classroom, remote-live or via on-demand training.

Pricing

Face-to-face or remote-live: $2495

On-demand: $1495

Discounts: We offer multiple discount options. Click here for more information.

Duration

Face-to-face or remote-live: 5 Days

On-demand: Approximately 35 hours of coursework with personal facilitation, to be completed in a four week span.

Registration

Face-to-face: Click here to view our schedules and register for in-person sessions.

Remote-live: Click here to register for live remote class sessions within a date range of your choosing.

On-demand: Click here to register for on-demand training with personal facilitation, on a start date of your choosing.

Students Will Learn

  • Creating and modifying PHP pages
  • Working with variables and data types
  • Using if/elseif/else statements to control processing conditionally
  • Creating programs that include for, while, and do loops to process statements repeatedly
  • Employing the break, continue, and exit statements to modify default loop behaviors
  • Using and writing functions, including many new PHP 7 features such as type declarations, REST parameters and argument unpacking
  • Using PHP include and restore
  • Creating arrays
  • Manipulating strings in PHP using built-in functions
  • Maintaining state using cookies, session variables, hidden form fields and query strings
  • Using PHP to manipulate files
  • Identifying and handling the three main types of errors that can occur when programming with PHP
  • The fundamental techniques necessary to create a shopping cart solution
  • Introduction to OOP (Object Oriented Programming) in PHP
  • Using an object-oriented API to access SQL to SELECT, INSERT, UPDATE and DELETE data from tables
  • Using the phpMyAdmin utility to administer the MySQL database
  • Using OOP in PHP to define and use classes
  • Implementing RESTful servers with OOP PHP

Course Description

This hands on PHP Programming course provides the knowledge necessary to design and develop dynamic, database-driven Web pages using PHP 7. PHP is a language written for the Web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce. This PHP training course introduces the PHP framework and syntax and covers in depth the most important techniques used to build dynamic Web sites. Students learn how to connect to any modern database, and perform hands on practice with a MySQL database to create database-driven HTML forms and reports.

E-commerce skills including user authentication, data validation, dynamic data updates, and shopping cart implementation are covered in detail. Students will learn how to configure PHP and an IIS Web Server, and also learn how to implement RESTful servers for newer more data-driven sites.

Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Course Prerequisites

Basic computer skills and knowledge of HTML fundamentals equivalent to attending the Website Development with HTML5, CSS and Bootstrap course. Prior programming experience is helpful but not required to learn PHP.

Course Overview

Overview Of PHP
  • Static vs. Dynamic Web Sites
  • Dynamic Content from Databases
  • Developing Dynamic Internet Applications
  • Client-Side Scripting vs. Server-Side Scripting
  • Overview of PHP Advantages and Capabilities
  • Configuring php.ini
  • PHP vs. ASP
Basic Scripting and Looping Constructs
  • PHP Scripting Fundamentals
  • Print Statement
  • Code Blocks
  • Primitive Data Types
  • Defining Constants and Variables
  • Looping Constructs
    • while
    • do… while
    • for
    • exit and break
Conditional Constructs
  • True and False Expressions
  • if, else and elseif
  • switch/case Statement
  • The ?: (Ternary) Operator
Introduction to the Windows IIS Server or Apache Web Server
  • Server Configuration Files
  • Configuring IIS or Apache for PHP
  • WWW Sites within IIS or Apache
  • Apache Virtual Hosts
  • IIS Virtual Directories
  • Website Properties
Modularity through Include Files
  • Using Include Files
  • The Require Statement
  • Modularizing Code with Functions
  • Defining and Using Basic Functions
PHP Operators
  • Logical Operators
  • Relational Operators
  • Bitwise Operators
  • Other Operators
  • PHP7 Null Coalescing operator
  • PHP7 Spaceship Operator
PHP Functions
  • Introduction to Functions
  • Declaring Functions
  • Scope
  • Passing Arguments to Functions
  • Local and Global Scope
  • Passing Arguments to Functions by Value and Reference
  • Variable Scoping and Return Values
  • Recursion
  • Coercive and Strict Type Declarations for Parameters and Return Values
  • Optional and Rest Parameters
  • Argument Unpacking
  • Generator Return Expressions
  • Anonymous Functions
  • Iterator Functions
  • Dynamic Function Calls
  • Predefined PHP Functions
Working with Databases and Forms
  • Configuring PHP For Database Support
  • PHP's Database APIs
  • PHP's SQL API
  • MySQL vs. MariaDB
  • Database Drivers
  • Database Driver Class Wrappers
  • ODBC
  • Simple SQL Queries via PHP
  • Tracking Visitors with Session IDs
  • Populating Forms
  • Retrieving Data from Forms
PHP 7 New Features
  • Function Improvements
  • New Operators
  • Multibyte Strings
  • Data Typing
Arrays in PHP
  • What are Arrays?
  • Usage of Arrays in PHP
  • Array Indexing
  • Initializing Arrays
  • Operating on Arrays
  • Sorting Arrays
  • One-Dimensional Arrays
  • Multi-Dimensional Arrays
  • Associative Arrays
  • Array Functions
  • Forms and Arrays in Web Applications
Basic OOP in PHP
  • Defining Object Oriented Programming
  • Creating New Objects in PHP
  • PHP Object Syntax
  • Using Predefined PHP OOP Libraries
Writing OOP PHP
  • Implementing New Classes
  • Extending Classes
  • Understanding Private, Public and Protected
  • Inheriting Methods and Properties
  • Overriding Methods and Properties
Working with Data Files in PHP
  • Searching File Contents with Regular Expressions
  • Changing and Editing File Contents
  • Splitting and Joining Information Inside Files
  • String Functions
  • Multibyte String Functions
  • Regular Expression Functions
  • Reading, Writing and Deleting Files
  • Handling File Permissions
  • File Locking
  • Reading Directory Contents
  • Creating and Deleting Directories
Enabling E-Commerce
  • Required Characteristics of an E-Commerce Site
  • Authentication and Authorization
  • Data Validation
  • Building a Custom Shopping Cart
  • Persisting Shopping Cart Data Over Multiple Pages
  • Criteria for Evaluating Third Party Shopping Cart Solutions
  • Open Source vs. Commercial Shopping Cart Solutions
  • Order Processing via the Web
  • Implementing Order System Security using SSL
  • Using Mail Servers (SMTP and Sendmail) for Client Communication
  • Configuring E-mail Output Parameters
Configuring and Using MySQL
  • MySQL as a Client/Server Solution
  • Introduction to MySQL Capabilities as a Powerful RDBMS
  • Installing and Configuring MySQL
  • Connecting to MySQL
  • PHP Functions Specific to MySQL
  • Executing SQL Calls
    • SELECT
    • INSERT
    • UPDATE
    • DELETE
  • Fetching Results of SELECT statements
  • Using PHP MyAdmin to Configure MySQL
Using Cookies with PHP
  • Purpose of Cookies
  • Cookie Myths
  • Setting Cookies
  • Retrieving Cookies
  • Expiring Cookies
  • Deleting Cookies
  • Storing Arrays in Cookies
Miscellaneous PHP Tasks
  • Error Logging
  • Session Management and Maintaining State
  • Web Application Architecture
  • Using Environment Variables
  • Changing Execution by Redirecting to Other URLs
  • Embedding JavaScript within PHP
  • Using the HTTP Protocols to Pass Data
  • Getting IP Addresses from Visitors
Implementing RESTful Servers with PHP
  • Understanding RESTful Servers
  • Benefits of PHP for Implementing RESTful Servers
  • Using HTTP Verbs to Access Data
  • Understanding RESTful URIs
  • Defining PHP Objects to Access RESTful URIs
  • Effective Use of OOP Inheritance
  • Implementing a RESTful Server in PHP for a Small Application

Reviews

This was a great course and the instructor was fantastic. The instructor obviously knew a great deal about multiple languages and technology and was able to make analogies that helped me (being a PHP beginner) better understand the material. Overall, a very thorough, well-paced learning experience.
— V.M., World Travel Holdings


It is not often I come out of a programming class knowing I can immediately put the language to use. After taking the PHP programming course I will begin using the language immediately with the confidence that I understand what is going on.
— P.S., Georgia Tech


The instructor had a great grasp of the language, his years of industry experience really came through in the examples and tips. Although I came into the class with a lot of PHP knowledge, I am leaving it with a much more solid understanding of the fundamentals, and have gained some valuable techniques that I plan to utilize at once. I consider it time well spent.
— M.M., E & J Gallo Winery


I really enjoyed the course! It helped me solidify my understanding of PHP. With this course I feel strongly that I can move from 'hack' status to a real programmer. I enjoyed the instructor's presentation and handling of the questions.
— C.D., Adobe Systems

Course Schedule

Choose a city below to view a schedule and registration options. If you have any questions, please call us at 978-250-4299 between 9:00 am - 5:00 pm EST.