|
Overview:
In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice and to use advanced features of PHP to create sophisticated, efficient and easily managed websites.At Course Completion:
- Learn how PHP works - Learn the basic syntax of PHP - Learn to create dynamic interactive pages with PHP - Learn to manipulate files with PHP - Learn to work with arrays in PHP - Learn to validate forms with PHP - Learn to write functions in PHP - Learn/Review basic SQL - Learn to manipulate and manage database data with PHP - Learn to authenticate users with PHP - Learn to manage sessions with PHP - Learn to send email with PHP - Learn to manage files with PHP - Learn to use PHP's OOP features - Learn advanced form validation with regular expressions - Learn how to handle errors in PHP - Learn how to work with XML in PHP - Learn about some common PEAR packages
|
| Prerequisite Comments: |
Experience with HTML
Experience in the following areas would be beneficial, CSS, Basic Programming, XML |
| |
| Outline: |
|
| Lesson 1: PHP Basics |
PHP Syntax
Passing Values Via the URL
HTML Forms and PHP Variables
Identifiers and Constants
Variable Scope
Magic Quotes
Operators
Flow Control
If Conditions
Switch Statements
Loops
Getting the Most out of php.net
|
|
| Lesson 2: Reading and Writing to Files in PHP |
Opening a File
Reading from a File
Writing to a File
Other File Functions
File Locking
|
| Lesson 3: Using Arrays in PHP |
Standard Arrays
Associative Arrays
Two-dimensional Arrays
Array Manipulation Functions
|
| Lesson 4: String Manipulation in PHP |
Formatting Strings
String Functions
Basic Form Validation
|
| Lesson 5: Reusing Code and Writing Functions in PHP |
Including Files
Writing User-defined Functions
Passing by Value vs. Passing by Reference
Returning Values from Functions
|
|
| Lesson 6: A Quick Intro to / Review of SQL |
SELECT Statements
INSERT Statements
UPDATE Statements
DELETE Statements
|
| Lesson 7: Database Manipulation and PHP |
Querying a Database and Displaying Results
Inserting Records
Updating Records
Deleting Records
|
| Lesson 8: Authentication with PHP and SQL |
PHP Native Database Functions
PEAR:DB as an Abstraction Layer
Encrypting Passwords
|
| Lesson 9: Session Control in PHP |
Starting Sessions
Continuing Sessions
Ending Sessions
Writing and Deleting Cookies
Improving Login/Logout
|
|
| Lesson 10: Sending Email with PHP |
The Built-in mail Function
PHPMailer
|
| Lesson 11: File System Management |
Uploading Files via an HTML Form
Getting File Information
Additional File Functions
Directory Functions
|
| Lesson 12: Object-Oriented PHP Development |
Classes and Objects in PHP
Constructors and Destructors in PHP
Methods and Properties
The $this Variable
Constants
Exception Handling
|
| Lesson 13: Advanced Form Validation with Regular Expressions |
Perl-compatible Regular Expression Functions
Regular Expressions Special Characters
Review of Basic Form Validation
Form Validation with Regular Expressions
|
|
| Lesson 14: Error Handling |
Types of Errors
Catching Errors
|
| Lesson 15: XML and PHP |
XML Basics
Parsing XML with SAX
Parsing XML with DOM
Converting XML with XSLT
|
| Lesson 16: Common PEAR Packages |
Creating PDFs with PEAR and PHP
Authentication with PEAR and PHP
Handling Forms with PEAR and PHP
PEAR Templates |