PHP3 - Advanced PHP - Level 3
This Advanced PHP training course brings together the skills learned in both Beginning PHP (Level 1) and Intermediate PHP (Level 2), introducing the student to more complex PHP-based concepts and solutions. Students will combine the advanced object-oriented extensions available in recent PHP releases with other powerful features, like user-written functions, Web site templates, image generation, and access to PEAR (the PHP Extension and Application Repository). Finally, students will discuss designing, implementing, and maintaining large-scale PHP
applications and examine the architecture of a successful, large-scale PHP-based development project.
Introduction
Requirements
Materials
Assumptions
Objectives
Conventions
Setting the stage (interactive lab)
Installing Slackware Linux* (*Normally completed in Level 1 session)
Configuring Apache and PHP* (*Normally completed in Level 1 session)
Configuring MySQL** (**Normally completed in Level 2 session)
Confirming your environment
Object-Oriented PHP (lecture, exercises)
Classes, Objects, and Instances
Properties and Methods
Inheritance in PHP
Benefits of Object-Oriented PHP
Accessing the PHP Extension and Application Repository (PEAR) (interactive lab)
Introducing PEAR
PEAR Coding Standards
Downloading the PEAR manual
Installing the PEAR manager
Examining several PEAR packages
Advanced PHP Features (lecture, exercises)
Code reuse with User-written functions
Creating a Web site template
Generating images with PHP
Using PEAR DB, a generic database interface
PHP as a general scripting tool
Command line PHP
Administrative uses for PHP
ad hoc PHP script building
phpBB: Examining a Large-Scale PHP Application (lecture, interactive lab)
Introduction to phpBB
Examining phpBB's architecture
Reviewing the backend data model
Variations: themes, mods, and PHP-Nuke
Installing and configuring phpBB
Examining the installation script
Examining index.php
Examining common.php
Examining page_header.php and page_tail.php
Examining mysql4.php
Conclusion (review, discussion, evaluation)