Introduction to PHP Programming - A 4
Day Course
Synopsis
A PHP course designed to enable web
developers and others with limited programming experience to build
dynamic database driven e-commerce web sites using the PHP programming
language. Since PHP is such a rich and task-specific language, the
course covers the most important range of functions in depth, and
equips delegates to understand the remaining less essential aspects.
The contents of this PHP course are identical to our three day
in-house "PHP for Progammers" course, but the pacing is adjusted to
suit the needs of public delegates and non-programmers. At the
instructor's discretion, training material modules may be omitted if
the pace is slightly slower than anticipated.
PHP is Open Source and Cross
Platform, running on Unix, Linux, MS Windows, Apple Mac, AS/400 and
more, and is often used with an OS-CP database and web server such as
MySql and Apache. Thus PHP will work on the operating system and
hardware that currently suits your applications and organisation.
Suitable For
Web developers and web designers with
a modest amount of programming experience. Students will typically
have used another simple or domain-specific language such as VBscript
or Javascript.
Prerequisites
Delivery
This is a hands-on practical workshop
based around the development of fully working PHP website services.
Strong emphasis is laid on practical examples for which a range of
worked solutions are made available.
This course is now available on both
a publicly scheduled basis (see below) and on a in-house basis for
company groups. Most in-house delivery is on site at the purchasing
company's premises.
Arrangements can be made for off-site
training at a range of facilities, although this can incur costs which
have to be added to our normal charges for tuition and course
materials.
The course is usually taught on Linux
or MS Windows machines.
Contents
Introduction to PHP
- History of PHP
- Comparison with dynamic
content alternatives (Perl, CGI, ASP, JSP, Servlets , CGI, etc)
- PHP tools and set up (web
browser/server, editor, libraries, etc)
- Create a basic PHP Script
- Taking user input
- Self Referring Forms
- Selecting alternatives
- Use PHP to generate HTTP
headers
- Pass PHP variables via the URL
-
Debugging Tips
Taking User Input from Forms via
PHP
Variables and Expressions in PHP
- Identifiers
- Data Types (integers, floats,
strings and booleans)
- Text constants, interpolation,
here documents
- Creating Variables
- Variable assignment
- Variable Scope
- User-defined Constants
- HTTP environment variables
- Magic Constants
-
Variable References
PHP Operators
Conditional Tests and Events in
PHP
PHP Flow Control
- Loops
while
do ... while
for
break
and continue
-
exit
PHP Configuration
PHP Functions
- Purpose of functions
- Built-in functions
- Declaring functions
- Functions Arguments
- Arguments - Call by Reference
- Default Arguments
- Return
- Returning References
- Variable Scope (global vs
local)
- Static variables
- Recursion
include
and require
-
Variable function calls
Storing Data in Arrays using PHP
- What are arrays?
- How and when to use arrays
- Indexing arrays, numeric and
hashes
- Initialising arrays
- Using
foreach
- Add/remove info from arrays
- One-dimensional arrays
- Multi-dimensional arrays
- Array operators
- Array related functions
|
Handling Databases with PHP
- PHP's database APIs
- Error-handling strategies
- Connection/disconnection, log
in/log out
- Escaping strings in SQL
statements
- Including common access
functions
- Doing simple SQL queries via
PHP
- Building HTML tables using SQL
Queries
- Show access to: MySql, Oracle
& MS-SQL
-
Using PEAR DB
String Manipulation in PHP
- substring and [] operators
- Case conversion, trimming
- Formatting output data
-
Regular expressions
Sessions and Cookies in PHP
- What is a session?
- Dependencies on the php.ini
file
- Understanding PHP session
variables
- Create a PHP session variable
- Register and modify PHP
session variables
- Putting PHP session IDs in
pages
- Good Practise with sessions
and PHP
- Cookie properties
- Setting a cookie in PHP
- Retrieving PHP cookies
- Expiring/Deleting PHP cookies
- Drawbacks to cookies
- Using cookies well
-
Cookie Security Issues
File and Directory Access Using
PHP
Other I/O Issues in PHP
Handling Email with PHP
- Sending email
- Unix and NT setup
-
mail
function
Object Orientation in PHP
SOAP
- SOAP Overview
- Simple SOAP Client
-
Simple SOAP Server
PEAR, PECL and Smarty
Graphics in PHP
- Graphics basics
- Image MIME type
- Basic examples
- Creation from an existing
image
- Image copying and resizing
- Drawing text on images
- True Type fonts
|
Introduction to PHP
Programming - A 4 Day Course
Synopsis
A PHP course designed to enable web
developers and others with limited programming experience to build
dynamic database driven e-commerce web sites using the PHP programming
language. Since PHP is such a rich and task-specific language, the
course covers the most important range of functions in depth, and
equips delegates to understand the remaining less essential aspects.
The contents of this PHP course are identical to our three day
in-house "PHP for Progammers" course, but the pacing is adjusted to
suit the needs of public delegates and non-programmers. At the
instructor's discretion, training material modules may be omitted if
the pace is slightly slower than anticipated.
PHP is Open Source and Cross
Platform, running on Unix, Linux, MS Windows, Apple Mac, AS/400 and
more, and is often used with an OS-CP database and web server such as
MySql and Apache. Thus PHP will work on the operating system and
hardware that currently suits your applications and organisation.
Suitable For
Web developers and web designers with
a modest amount of programming experience. Students will typically
have used another simple or domain-specific language such as VBscript
or Javascript.
Prerequisites
Delivery
This is a hands-on practical workshop
based around the development of fully working PHP website services.
Strong emphasis is laid on practical examples for which a range of
worked solutions are made available.
This course is now available on both
a publicly scheduled basis (see below) and on a in-house basis for
company groups. Most in-house delivery is on site at the purchasing
company's premises.
Arrangements can be made for off-site
training at a range of facilities, although this can incur costs which
have to be added to our normal charges for tuition and course
materials.
The course is usually taught on Linux
or MS Windows machines.
Contents
Introduction to PHP
- History of PHP
- Comparison with dynamic
content alternatives (Perl, CGI, ASP, JSP, Servlets , CGI, etc)
- PHP tools and set up (web
browser/server, editor, libraries, etc)
- Create a basic PHP Script
- Taking user input
- Self Referring Forms
- Selecting alternatives
- Use PHP to generate HTTP
headers
- Pass PHP variables via the URL
-
Debugging Tips
Taking User Input from Forms via
PHP
Variables and Expressions in PHP
- Identifiers
- Data Types (integers, floats,
strings and booleans)
- Text constants, interpolation,
here documents
- Creating Variables
- Variable assignment
- Variable Scope
- User-defined Constants
- HTTP environment variables
- Magic Constants
-
Variable References
PHP Operators
Conditional Tests and Events in
PHP
PHP Flow Control
- Loops
while
do ... while
for
break
and continue
-
exit
PHP Configuration
PHP Functions
- Purpose of functions
- Built-in functions
- Declaring functions
- Functions Arguments
- Arguments - Call by Reference
- Default Arguments
- Return
- Returning References
- Variable Scope (global vs
local)
- Static variables
- Recursion
include
and require
-
Variable function calls
Storing Data in Arrays using PHP
- What are arrays?
- How and when to use arrays
- Indexing arrays, numeric and
hashes
- Initialising arrays
- Using
foreach
- Add/remove info from arrays
- One-dimensional arrays
- Multi-dimensional arrays
- Array operators
- Array related functions
|
Handling Databases with PHP
- PHP's database APIs
- Error-handling strategies
- Connection/disconnection, log
in/log out
- Escaping strings in SQL
statements
- Including common access
functions
- Doing simple SQL queries via
PHP
- Building HTML tables using SQL
Queries
- Show access to: MySql, Oracle
& MS-SQL
-
Using PEAR DB
String Manipulation in PHP
- substring and [] operators
- Case conversion, trimming
- Formatting output data
-
Regular expressions
Sessions and Cookies in PHP
- What is a session?
- Dependencies on the php.ini
file
- Understanding PHP session
variables
- Create a PHP session variable
- Register and modify PHP
session variables
- Putting PHP session IDs in
pages
- Good Practise with sessions
and PHP
- Cookie properties
- Setting a cookie in PHP
- Retrieving PHP cookies
- Expiring/Deleting PHP cookies
- Drawbacks to cookies
- Using cookies well
-
Cookie Security Issues
File and Directory Access Using
PHP
Other I/O Issues in PHP
Handling Email with PHP
- Sending email
- Unix and NT setup
-
mail
function
Object Orientation in PHP
SOAP
- SOAP Overview
- Simple SOAP Client
-
Simple SOAP Server
PEAR, PECL and Smarty
Graphics in PHP
- Graphics basics
- Image MIME type
- Basic examples
- Creation from an existing
image
- Image copying and resizing
- Drawing text on images
- True Type fonts
|