Courses by Category
Click on a category below to see a listing of courses.

This course is available for customized on-site delivery for groups of 3 or more students.
Contact us today at 877-258-8987 for more information or a quote.

Scroll down the page for a list of upcoming course dates in our public calendar.

Advanced PHP Programming (5 days)


This advanced PHP training course further develops the skills of experienced PHP Programmers by introducing them to advanced techniques, tools, and methodologies that can be used to build complex, scaleable, PHP applications. This PHP training covers the Object Oriented components of PHP5, including advanced features such as PHP5's try/catch exception handling, and interacting with databases using the PHP Data Objects (PDO) database access layer. Students will also learn how they can leverage common design patterns to build loosely coupled objects and further extend the flexibility of their applications.

This advanced PHP training course also covers using the PEAR repository to leverage existing code and perform operation such as developing client/server applications with XML_RPC (including interfacing with already available XML_RPC services), and sending multipart email messages, and HTML formatted messages with inline images.

Lastly, students will learn to develop, maintain, and scale the performance of web sites using Smarty templates.

Advanced PHP Programming Course Calendar (5 days)

Call for upcoming dates or on-site delivery.

1 Includes airfare from anywhere in the continental United States and some parts of Canada as well as accommodation and shuttle services.
spacer
2 Include course and course materials only.
spacer
3 Requires a broadband internet connection and microphone. Note that Virtual LIVE courses are led by an instructor, and as such start and end in local time (based on the course location), this my differ from your time zone.
spacer
For government and education pricing, please contact us.

Recommended Pre-requisites

Students attending this advanced PHP training course should have experience developing applications with PHP, as well as using SQL to interface with a database.

Students will also learn to separate PHP code from HTML code using Smarty Templates.

Course Outline/Agenda

A brief list of topics covered in this course is listed below. For a more complete view, please refer to the table of contents for this course guide, by scrolling down to the bottom of the page and selecting the PDF link.

  • Advanced PHP training introduction
  • PHP Review (this is a rapid < 1 day review)
    • PHP Basics
    • Working with Arrays
      • Sorting arrays
    • Variable Scope in PHP
    • Arithmetic Operators
    • Comparison Operators
    • The If and While Constructors
    • Functions
      • Declaring Functions
      • Passing data by reference
      • Functions with variable arguments
    • Including code in scripts
  • Managing Web sessions
    • Using PHP Session handling
    • Managing sessions across multiple servers
    • PHP Cookie Handling
  • Handling Date & Time in PHP
    • Displaying dates & times
    • Parsing a date or time
    • Generating relative times
  • Sending email with PHP
    • Using PHP's email functions
    • Sending simple emails
    • Sending HTML emails
    • Working with web forms
  • PERL Regular Expressions
  • Object Oriented Programming and PHP5
    • PHP 5 Objects
    • Class Inheritance
    • Autoloading Classes
    • Constructors & Destructors
    • Member & Method Visibility
    • The static keyword
    • Abstract Classes
    • Object Interfaces
    • Overloading
    • Class Members
  • PHP Design Patterns
    • About Design Patterns
    • The Factory Pattern
    • The Singleton Pattern
    • The Observer Pattern
    • The Chain of Command Pattern
  • Try & Catch Exception handling
    • Handling PHP Exceptions
    • Using Try & Catch blocks
    • The Exception Object
    • Generating Custom Exceptions
    • Multiple Catch Blocks
    • Default Exception Processing
  • Debugging PHP Code
    • PHP Error Handling
    • PHP Debugging Tools
      • Creating Conditional Debug Code
    • Creating Custom Error Handlers
    • Suppressing Errors
  • Leveraging Existing Code using PEAR & PECL
    • Introduction to PEAR
  • Building Client-Server Applications
    • Client-Server Programming models
    • Understanding XML-RPC
      • Sample XML-RPC Conversation
    • Creating an XML-RPC Client
      • Encapsulating Values with XML_RPC_Value Objects
      • Retrieving data from a XML_RPC_Value() Object
    • Sending the Message & Receiving the Response
      • A Sample XML-RPC Client
    • Creating an XML-RPC Server
      • A Sample XML-RPC Server
  • Sending Multi-Part Email
    • The PEAR::Mail Class
    • Intializing PEAR::Mail
    • Sending a Message
    • Using the PEAR::Mail_Mime Class
    • Creating a new Mail_Mime Object
    • Sending Messages with both HTML and Text
    • Attaching Files to Email Messages
    • Attaching Graphics to Email Messages
    • Generating Message Bodies & Adding Custom Headers
  • Accessing Databases using PHP
    • Using PDO
    • Reasons to use PDO
    • Transactions & Concurrency
    • Specifying Connection Properties (the DSN)
    • Construction Queries
    • Executing Queries
    • Working with SELECT Results
    • Errors Returned from Queries
  • Smarty Templates
    • Understanding Smarty Templates
    • How Smarty Works
    • Installing Smarty
    • Setting up Smarty
    • Setting Smarty Directories
    • Creating the Smarty Object
    • Creating TPL Files
    • Setting up Smarty Config Files
    • Smarty Variable Modifiers
    • Escaping Data
    • Combining Modifiers
    • Smarty Conditionals
    • Looping through values
      • Using {section}
      • Using {foreach}
    • Other Common Smarty Functions
    • Smarty Class Variables
    • Smarty Methods
    • Configuring Smarty Caching
    • Using Caching
    • Multiple Smarty caches per page
    • Common Caching Methods
      • Mix & Match Caching
    • Scaling Caching
  • PHP Best Practices

Class Size

This class is limited to a maximum of 12 students.

On-Site Delivery

This course is available for on-site delivery for groups of 3 or more students.

OTG offers discounted training for on-site courses of more than 3 students - call us at 877-258-8987 (or submit the form on the upper right side of this page) for more information.

Course Details

Students attending this advanced PHP training course should understand that this PHP training course moves at a fast pace, and covers a broad range of topics, in depth, in a fairly short period of time.

This Advanced PHP Training course is about 60% hands on, and 40% lecture/demonstration. Students will perform a practical exercise related to each topic covered.

Adobe PDF Logo View course guide table of contents
Requires Adobe Acrobat Reader

Enroll in this course

Activestate Logo

View upcoming course calendar

info@otg-nc.com
877-258-8987