Duration:
4 days • Price:
$2680.00 or £1340.00 +VAT (with hotel room), or
$2200.00 or £1100.00 +VAT (without room), •
Venue:
Melksham, England
COURSE START DATES
| • Monday 11 August 2008 | • Tuesday 14 October 2008 |
| • Monday 1 December 2008 |
DESCRIPTION
This course covers the fundamentals of
programming in PHP and Web-related issues such as
linking a series of forms together into a session, maintaining
state , cookies, security and other matters. We also cover PHP's
interfacing to relational databases, with a particular study
of MySQL.
It is particularly easy to write PHP code that
is hard to maintain, and this course includes a major "best
practise" section where we'll take you beyond the language itself
and show you how to write code that's secure, reliable, and easy
to enhance and maintain throughout its life cycle.
PREREQUISITES
In order to use PHP, you should be familiar with
the structure of HTML and the Web. A knowledge of programming and
SQL is also useful.
We understand that many PHP users are dropped in at the deep
end without knowledge of some of these topics. If you're in that
situation, we offer an extra day (Technology Background for PHP)
immediately prior to the main course, jump-starting you in
whatever background topics need to be covered.
If you're already familiar with HTML, Web structure, programming
etc. (for example, if you're learning PHP to convert across from
something else), then you just need to book for this four day course.
Getting the most from your Well House Consultants course
[Link]
SUBJECT BACKGROUND
PHP is a progamming language that was developed and designed
for use on the web, and it's now so popular that you'll find it
available on more domains than any other language. That's not because
it's free - it's because it's a very flexible and efficient tool.
PHP can be used for applications as easy as colour and font control
to handle accessibility issues, through to complex on line ordering
and stock and order tracking systems.
COURSE CONTENT
Shorter description available: [Link]
The PHP Language |
| Introduction to PHP (module H101) What is PHP?.
What hardware and software do I need?.
Linux and Unix.
Windows (98, NT, 2000, Millennium, XP).
What does PHP cost?.
PHP versions.
|
| A First PHP Web Page (module H102) Writing and uploading.
The structure of a PHP page.
Sequences of statements.
|
| Variables, Operators and Expressions (module H103) Expressions and operators.
Variables.
Getting a value from a form.
Alternative ways of getting values from a form.
Comments in PHP.
Including a file.
|
| Control Statements (module H104) Conditional statements - if.
Boolean operators.
blocks, elseif and else.
Conditional statement - switch.
Loops - the while statement.
Making up a table in your PHP.
Alternative loop - the for statement.
Other control statement subjects.
|
| Functions (module H105) Global and static variables.
Loading functions from another file.
Defaulting parameters.
Call by value v call by name.
Example.
Object oriented PHP.
|
| Arrays (module H106) Array manipulation.
Array functionality.
Creating Arrays.
Manipulating arrays.
|
| String Handling in PHP (module H107) Strings.
Strings - in variables and literals.
String functions - an introduction.
Low-level functions.
Higher level functions.
Matching, extraction and replacement functions.
String operations.
String cleansing.
Formatting data into a string - sprintf.
Functions for formatting web pages.
Low-level string manipulation - strpos and friends.
Splitting up a string.
Regular expressions.
What flavour of regular expressions?.
|
| Input / Output (module H109) Input from a file.
Checking a file and looking around.
Example of output to a file.
|
PHP as a web tool |
| HTML Web Page Data Handling (module H110) Inputs available from your page and environment.
phpinfo().
Other form elements.
Sticky fields and generalised code.
Notes.
|
| Further Web Page and Network Handling (module H112) Maintaining state.
Cookie examples.
Headers, Heads and Bodies.
Uses of Cookies.
Accessibility - a practical example of cookies.
Example using PHP4 built-in session functions.
Why email from the server?.
Informing the system owner.
Emailing system users.
Other users.
Emailing from the server.
Configuration.
Sending a simple email.
Adding to the headers.
Sending attachments.
A practical example of mailing from PHP.
|
| Using MySQL Databases in PHP Pages (module H113) Database structure.
How to create a new table.
Adding information to a table.
Selecting information from a table and reporting it to a web page.
Deleting a table.
User input checking and other testing.
Example: A PHP script to select and view the data in any table.
Downloading all the tables from a database.
Uploading tables from a flat text file.
Using other relational databases from PHP.
Using Oracle 8.x and 9.x.
Using the Oracle OCI9 API.
Portable database connection.
|
| Sourcing, installing and configuring PHP (module H114) Sourcing.
Installing PHP.
Installation of PHP under an Apache Web Server on Windows XP Pro.
Installing PHP under OSX.
Configuring PHP.
Some choices for you to make.
Configurations to enable services.
Limits you can change.
|
| Shopping Cart Application in PHP (module H116) The store front page.
Under the hood.
Adding to the shopping cart.
User Details.
The final phase.
Complete carter.php4 file.
Using a secure server for credit card details.
What is SSL and https?.
How can you use https?.
Programming implications for using a secure service.
Programming to use an electronic payment system.
Commercial matters.
Credit card agreements.
Data Protection.
|
Making effective use of PHP |
| Designing PHP-Based Solutions: Best Practice (module H115) Thinking through your design.
Tools to help you design.
Designing a smaller application example.
A note on using PHP in a Web environment.
Writing maintainable code.
Code documentation.
Use of functions and include files.
Version issues.
Coding Standards.
And all the languages in one file?.
Writing code for different databases.
Miscellany.
Error handling and software testing.
Bad characters.
Expect the unexpected and check everything.
Error numbering and handling.
Data validation, sessions, XML/XSLT, SQL.
|
| MySQL 5 and PHP 5 (module S159) An overview.
MySQL 3 -> 4 -> 5.
PHP 3 -> 4 -> 5.
The PHP/MySQL driver issue.
OLD_PASSWORD.
Recongnising problems.
Sample code using mysql and mysqli. |
| Additional PHP Material (module H999) Variable declaration and typing.
Explicit convertors.
Sorting.
User-defined sorting.
Sorting an associative array.
Other array re-ordering functions.
Multidimensional arrays.
Flexibility with multi-dimensional arrays.
Graphics.
Using PHP to add a counter to an HTML page.
A graphic example.
Using PHP away from the Web Server.
How to use PHP away from the Web Server.
Example of PHP running from keyboard to screen.
What is XML?.
XML handling in PHP.
A Simple Parser.
Extending the example.
Analysing XML as a stand-alone program.
Other XML Subjects.
What is XSLT?.
Handling XSLT in PHP.
New PHP user on an existing PHP site.
|
| Security in PHP (module H117) From first principles.
Testing.
PHP installed as CGI binary.
Possible attacks.
Installed as an Apache module.
Filesystem Security.
Error Reporting.
Using register globals.
Hiding PHP.
Keeping Current.
|
| Generating CSS through PHP (module H118) Basic steps.
Configuring PHP to parse .css.
Mime Type text/css.
Dynamic input via GET, cookies and SERVER.
A worked example.
Caching issues. |
| PHP and MySQL example application - adhoc database analysis (module H204) Good practise in action.
4 layer model for application design.
Use of separate business logic, web help and templates.
Contextual Help system.
Login screens.
Building us a MySQL query in a PHP script.
Writing your own configuration file. |
| Commercial and Legal Aspects (module A213) Why discuss this on a technical course?.
Data Protection.
Data Protection Act, 1998.
Freedom of Information Act, 2000.
Privacy and credit card security.
Unsolicited commercial emailing and mailing lists.
Page content.
Copyright.
Advertising standards.
Other content issues.
Who is the publisher?.
Registration agencies - the shady dealers.
Accessibility.
Backups and security.
Attracting customers.
Ease of use.
Marketing and visibility.
|
TUTOR and COURSE AUTHOR
Graham Ellis -
graham@wellho.net [
email] [
about Graham]
VENUE
Melksham, Wiltshire
, England. A taxi transfer can be arranged if you'll be
arriving by air
from United States.
Private Courses can be arranged on site in your country.
Public courses run at
Well House Manor - our own
purpose fitted training centre and business hotel / conference centre in
Melksham.
• Download Melksham Map - [
pdf file (750k)] • Google Map - [
Link]
PRICE
| 1 student |
2 students |
3 students |
For 4 or more students
from the same company,
please consider a private course. |
With hotel room $2680.00 ($3149.00 inc VAT) or £1340.00 (£1574.50 inc VAT) Without room $2200.00 ($2585.00 inc VAT) or £1100.00 (£1292.50 inc VAT) |
With hotel rooms $5160.00 ($6063.00 inc VAT) or £2580.00 (£3031.50 inc VAT) Without rooms $4200.00 ($4935.00 inc VAT) or £2100.00 (£2467.50 inc VAT) |
With hotel rooms $7640.00 ($8977.00 inc VAT) or £3820.00 (£4488.50 inc VAT) Without rooms $6200.00 ($7285.00 inc VAT) or £3100.00 (£3642.50 inc VAT) |
Notes:
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
|
FOLLOW UPS
If you're going to be writing a major project in PHP,
you may benefit from also attending our one day
Object Oriented Programming in PHP course.
If you're going to be using PHP to make use of the MySQL
database, you might like to consider following up this course
with
MySQL.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the "Opentalk" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropropriate.
Certification? - [
Link]
FOR FURTHER INFORMATION
Public (scheduled) courses --
http://www.wellho.net/course/ctc.html
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions --
http://www.wellho.net/net/terms.html
Covering topics such as delegate substitution, payment, cancellation policy and other matters.