PHP Programming

Forming a group! Enroll now!

Classes start on January 16, 2017.

Theory Part:

  • 16 classes including exam
  • 2 hours/class
  • 7:00pm – 9:00pm
  • Price – $30/hour
  • Full Theory Cost – $960
  • Course Registration Fee – $40. Non-refundable.

Practice Part:

  • This part is OPTIONAL but very valuable as each student will be working on a real website development. Class projects or your own with an instructor (discuss with your instructor).
  • Duration – 5 classes/2 hours each.
  • 7:00pm – 9:00pm

Full Practice Cost – $300.

Join Course

About

This hands on PHP Programming course provides the knowledge necessary to design and develop dynamic, database-driven web pages using PHP version 5. PHP is a language written for the web, quick to learn, easy to deploy and provides substantial functionality required for eCommerce.

This course introduces the PHP framework and syntax and covers in depth the most important techniques used to build dynamic websites. Students learn how to connect to any ODBC compliant database, and perform hands-on practice with a MySQL database to create database-driven HTML forms and reports. eCommerce skills including user authentication, data validation, dynamic data updates, and shopping cart implementation are covered in detail. Students also learn how to configure PHP and the Apache Web Server. Comprehensive hands-on exercises are integrated throughout to reinforce learning and develop real competency.

Course Prerequisites: Basic computer skills and knowledge of HTML fundamentals. Prior programming experience is helpful but not required.

Upon completion of this course, you will be tested and issued the School Completion Certificate as prove of your success.

Course Schedule

Class 1

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

Class 2

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 & break’

Class 3

Conditional Constructs

– True and False Expressions
– if, else and elseif switch/case Statement
– The ? (Ternary) Operator
– Timestamps

 

Class 4

Introduction to the Apache Web Server

– Apache Configuration Files
– Configuring Apache for PHP
– WWW Sites within Apache
– Apache Virtual Hosts
– Website Properties

Class 5

PHP Functions 1

– Introduction to Functions
– Declaring Functions
– Scope
– Passing Arguments to Functions
– Local and Global Scope
– Passing Arguments to Functions by Value and Reference

Class 6

PHP Functions 2

– Returning Values from a Function
– Using Include Files
– The Require Statement
– Recursion
– Dynamic Function Calls
– Predefined PHP Functions

Class 7

– HTML 4 Tables
– Row and Col span
– Table alignment, color, images
– HTML 5 Tables

 

Class 8

– Form Tags
– Textboxes, Submit, Reset
– Formatting Textboxes with CSS
– Labels, Textareas
– Option buttons and Checkboxes
– Passwords, hidden fields

Class 9

PHP Operators

– Logical Operators
– Relational Operators
– Bitwise Operators
– Other Operators

 

 

 

 

 

Class 10

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

Class 11

Working with Databases and Forms

– Configuring PHP For Database Support
– PHP’s Database APIs
– PHP’s SQL API
– MySQL vs. Access
– MySQL vs. SQL Server
– Database Drivers
– Database Driver Class Wrappers
– ODBC
– Simple SQL Queries via PHP
– Tracking Visitors with Session IDs
– Populating Forms
– Retrieving Data from Forms

 

Class 12

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
– Regular Expression Functions
– Reading, Writing and Deleting Files
– Handling File Permissions
– File Locking
– Reading Directory Contents
– Creating and Deleting Directories

 

Class 13

Enabling E-Commerce

– Required Characteristics of an eCommerce 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

Class 14

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, FETCH, UPDATE, DELETE
– Using PHP MyAdmin to configure MySQL

 

 

 

Class 15

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
– Showing Different Content to Different Browsers
– Getting IP Addresses from Visitors

Class 16

– Evaluation Exam

 

 

 

 

 

 

OPTIONAL PRACTICE

WORK ON A PROJECT
– Website development Practice
– Instructor-led
– You Can Develop Your Own Website (ask your instructor)

Place on Map