0% found this document useful (0 votes)
74 views

Class Overview Class Goals

This PHP training course teaches students how to create database-driven websites using PHP and MySQL. Students will learn PHP syntax and functionality, including variables, flow control, arrays, forms, strings, functions, file handling and more. They will also learn how to connect to and manipulate databases with MySQL, perform queries, inserts, updates and deletes. The course covers authentication, sessions, regular expressions and additional advanced topics.

Uploaded by

shasunder
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

Class Overview Class Goals

This PHP training course teaches students how to create database-driven websites using PHP and MySQL. Students will learn PHP syntax and functionality, including variables, flow control, arrays, forms, strings, functions, file handling and more. They will also learn how to connect to and manipulate databases with MySQL, perform queries, inserts, updates and deletes. The course covers authentication, sessions, regular expressions and additional advanced topics.

Uploaded by

shasunder
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Class Overview

Class Goals

Class Outline

lass Overview
In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database

lass Goals
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 to manipulate and manage database data with PHP.
Learn to authenticate users with PHP.
Learn to manage sessions with PHP.
Learn to work with the MDB2 package.
Learn advanced form validation with regular expressions.
Learn to send email with PHP.

lass Outline
1. PHP Basics

1. How PHP Works


2. The php.ini File
3. Basic PHP Syntax
A. PHP Tags
B. PHP Statements and Whitespace
C. Comments
D. PHP Functions
E. Hello World!

4. Variables
A. Variable Types
B. Variable Names (Identifiers
C. Type Strength
D. Hello Variables!
E. Variable Scope
F. Superglobals
G. Constants
H. Variable-Testing and Manipulation Functions

5. First PHP Script


6. PHP Operators
7. Creating Dynamic Pages
A. Single Quotes vs. Double Quotes
B. Passing Variables on the URL

8. Passing Variables via the Query String


2. Flow Control

1. Conditional Processing
A. If Conditions

2. Working with Conditions


3. Loops
A. while
B. do...while
C. for
D. break and continue

4. Working with Loops


3. Arrays

1. Enumerated Arrays
A. Initializing Arrays
B. Appending to an Array
C. Reading from Arrays
D. Looping through Arrays

2. Working with Enumerated Arrays


3. Associative Arrays
A. Initializing Associative Arrays
B. Reading from Associative Arrays
C. Looping through Associative Arrays
D. Superglobal Arrays

4. Working with Associative Arrays


5. Two-dimensional Arrays
A. Reading from Two-dimensional Arrays
B. Looping through Two-dimensional Arrays

6. Array Manipulation Functions


4. PHP and HTML Forms

1. HTML Forms
A. How HTML Forms Work
B. A Sample HTML Form
C. Form Variables

2. Processing Form Input


5. String Manipulation

1. Formatting Strings
A. Concatenation
B. String Manipulation Functions
C. Examples of String Functions

2. Working with String Manipulation Functions


3. Magic Quotes
A. magic_quotes_gpc
B. magic_quotes_runtime
C. Recommendation on Magic Quotes

6. Reusing Code and Writing Functions

1. Including Files
A. require
B. require_once

C. auto_prepend_file and auto_append_file

2. Adding a Header and Footer


3. User Functions
A. Defining and Calling Functions
B. Default Values
C. Variable Scope
D. By Reference vs. By Value

4. Form Processing
A. Code Organization

5. Form Validation and Presentation Functions


7. Managing Data

1. Querying a Database
A. mysqli() Overview
B. mysqli Methods and Properties
C. Inserting and Updating Records
D. mysqli Prepared Statements

2. Inserting Records
8. MDB2

1. Advantages and Disadvantages of MDB2


A. Why use a database abstraction layer?
B. When not to use a database abstraction layer?

2. Using MDB2
3. Creating a Customer Report
9. Authentication with PHP and SQL

1. A Database-less Login Form


2. Authenticating Users
10. Regular Expressions

1. Perl-compatible Regular Expression Functions


A. preg_match()
B. preg_replace()
C. Regular Expression Tester

2. Regular Expression Syntax


A. Start and End ( ^ $ )
B. Number of Occurrences ( ? + * {} )
C. Common Characters ( . \d \D \w \W \s \S )
D. Grouping ( [] )
E. Negation ( ^ )
F. Subpatterns ( () )
G. Alternatives ( | )
H. Escape Character ( \ )

3. Form Validation Functions with Regular Expressions


11. Session Control and Cookies

1. Sessions
A. Configuring Sessions

B. Session Functions

2. Cookies
3. Authentication with Session Control
12. Sending Email with PHP

1. mail()
A. Shortcomings of mail()

2. PHPMailer
3. Sending a Password by Email
13. File System Management

1. Opening a File
A. fopen()

2. Reading from a File


A. fgets()

3. Writing to a File
A. fwrite()

4. Writing to a File
5. File Locking
A. flock()

6. Uploading Files via an HTML Form


7. Getting File Information
8. More File Functions
9. Directory Functions
A. Getting a Directory Listing

10. Creating a Resume Management Page

Class Overview

In this advanced PHP training course, students will learn advanced features of the PHP web programming language. You w
XML and build Ajax applications.
Class Goals
Learn how to program in object-oriented PHP.
Learn to process XML with PHP.
Learn to work with PEAR modules.
Learn PHP Security techniques.
Learn to build to an e-commerce application with PHP.
Class Outline
1. Advanced PHP Techniques

1. Multidimensional Arrays
2. Advanced Function Definitions
3. The Heredoc Syntax
4. Using printf() and sprintf()
2. Developing Web Applications

1. Documenting Code
2. Code Style and Structure
3. Modularizing a Web Site
4. Affecting the Browser Cache
3. Advanced Database Concepts

1. Storing Sessions in a Database


2. Working with U.S. Zip Codes
3. Creating Stored Functions
4. Displaying Results Horizontally
4. Security Techniques

1. Remembering the Basics


2. Validating Form Data
3. Using PECL Filter
4. Authentication with PEAR Auth
5. Using MCrypt
5. E-commerce Techniques

1. E-commerce Concepts
2. Creating the Database
3. Creating the Configuration File
4. Making the Template
5. Creating the Index Page
6. Browsing by Category
7. Showing a Product
8. Implementing a Shopping Cart
9. Validating Credit Cards
6. Basic Object-Oriented Programming

1. OOP Theory
2. Defining a Class
3. Creating an Object
4. The $this Attribute
5. Creating Constructors
6. Creating Destructors
7. Autoloading Classes
7. Advanced OOP

1. Advanced Theories
2. Inheriting Classes
3. Inheriting Constructors and Destructors
4. Overriding Methods
5. Access Control
6. Using the Scope Resolution Operator
7. Creating Static Members
8. Abstract Classes and Methods
8. Real-World OOP

1. Catching Exceptions
2. Extending the Exception Class
3. Creating a Shopping Cart Class
4. Using the Cart Class
9. Using PEAR

1. Using Benchmark
2. Using HTML_QuickForm
3. Using Mail_Mime
4. Ajax
5. Introduction to Ajax
6. A Simple Example
7. Full-Fledged Ajax
8. Debugging Ajax Applications
10. XML and PHP

1. What Is XML?
2. XML Syntax
3. Attributes, Empty Elements, and Entities
4. Document Type Definitions
5. Parsing XML
6. Creating an RSS Feed

Class Overview
In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database
Class Goals
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 to manipulate and manage database data with PHP.
Learn to authenticate users with PHP.
Learn to manage sessions with PHP.
Learn to work with the MDB2 package.
Learn advanced form validation with regular expressions.
Learn to send email with PHP.
Understand how MySQL works.
Learn to use SQL to output reports with MySQL.
Learn to modify MySQL data with SQL.
Class Outline
1. PHP Basics

1. How PHP Works


2. The php.ini File
3. Basic PHP Syntax
A. PHP Tags
B. PHP Statements and Whitespace
C. Comments
D. PHP Functions
E. Hello World!

4. Variables
A. Variable Types
B. Variable Names (Identifiers
C. Type Strength
D. Hello Variables!
E. Variable Scope
F. Superglobals
G. Constants
H. Variable-Testing and Manipulation Functions

5. PHP Operators
6. Creating Dynamic Pages
7. Single Quotes vs. Double Quotes
8. Howdy World!
2. Flow Control

1. Conditional Processing

A. If Conditions

2. Loops
A. while
B. do...while
C. for
D. break and continue

3. Arrays

1. Enumerated Arrays
A. Initializing Arrays
B. Appending to an Array
C. Reading from Arrays
D. Looping through Arrays

2. Associative Arrays
A. Initializing Associative Arrays
B. Reading from Associative Arrays
C. Looping through Associative Arrays
D. Superglobal Arrays

3. Two-dimensional Arrays
A. Reading from Two-dimensional Arrays
B. Looping through Two-dimensional Arrays

4. Array Manipulation Functions


4. PHP and HTML Forms

1. HTML Forms
A. How HTML Forms Work
B. A Sample HTML Form
C. Form Variables

5. String Manipulation

1. Formatting Strings
A. Concatenation
B. String Manipulation Functions
C. Examples of String Functions

2. Magic Quotes
A. magic_quotes_gpc
B. magic_quotes_runtime
C. Recommendation on Magic Quotes

6. Reusing Code and Writing Functions

1. Including Files
A. require
B. require_once
C. auto_prepend_file and auto_append_file

2. User Functions
A. Defining and Calling Functions
B. Default Values
C. Variable Scope

D. By Reference vs. By Value

3. Form Processing
A. Code Organization

7. Simple SELECTs

1. Introduction to the Northwind Database


2. Some Basics
A. Comments
B. Whitespace and Semi-colons
C. Case Sensitivity

3. SELECTing All Columns in All Rows


4. SELECTing Specific Columns
5. Sorting Records
A. Sorting By a Single Column
B. Sorting By Multiple Columns
C. Sorting By Column Position
D. Ascending and Descending Sorts

6. The WHERE Clause and Operator Symbols


A. Checking for Equality
B. Checking for Inequality
C. Checking for Greater or Less Than
D. Checking for NULL
E. WHERE and ORDER BY

7. The WHERE Clause and Operator Words


A. The BETWEEN Operator
B. The IN Operator
C. The LIKE Operator
D. The NOT Operator

8. Checking Multiple Conditions


A. AND
B. OR
C. Order of Evaluation

8. Subqueries, Joins and Unions

1. Subqueries
2. Joins
A. Table Aliases
B. Multi-table Joins

3. Outer Joins
4. Unions
A. UNION ALL
B. UNION Rules

9. Inserting, Updating and Deleting Records

1. INSERT
2. UPDATE
3. DELETE

10. Managing Data

1. Querying a Database
A. mysqli() Overview
B. mysqli Methods and Properties
C. Inserting and Updating Records
D. mysqli Prepared Statements

11. MDB2

1. Advantages and Disadvantages of MDB2


A. Why use a database abstraction layer?
B. When not to use a database abstraction layer?

2. Using MDB2
12. Authentication with PHP and SQL

1. A Database-less Login Form


13. Regular Expressions

1. Perl-compatible Regular Expression Functions


A. preg_match()
B. preg_replace()
C. Regular Expression Tester

2. Regular Expression Syntax


A. Start and End ( ^ $ )
B. Number of Occurrences ( ? + * {} )
C. Common Characters ( . \d \D \w \W \s \S )
D. Grouping ( [] )
E. Negation ( ^ )
F. Subpatterns ( () )
G. Alternatives ( | )
H. Escape Character ( \ )

3. Form Validation Functions with Regular Expressions


14. Session Control and Cookies

1. Sessions
A. Configuring Sessions
B. Session Functions

2. Cookies
15. Sending Email with PHP

1. mail()
A. Shortcomings of mail()

2. PHPMailer
16. File System Management

1. Opening a File
A. fopen()

2. Reading from a File


A. fgets()

3. Writing to a File
A. fwrite()

4. File Locking
A. flock()

5. Uploading Files via an HTML Form


6. Getting File Information
7. More File Functions
8. Directory Functions
A. Getting a Directory Listing

20
Mon
27
Mon
3
Mon
10
Mon

21
Tue
28
Tue
4
Tue
11
Tue

22
Wed
29
Wed
5
Wed
12
Wed

23
Thu
30
Thu
6
Thu
13
Thu

24
Fri
31
Fri
7
Fri
14
Fri

25
Sat
1
Sat
8
Sat
15
Sat

1 2 Hrs / day (weekly 5 days) - 1 month


2 5 hrs /day (8 days) -1 month

26
Sun
2
Sun
9
Sun
16
Sun

You might also like