Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc

PHP training news
Next Public Course Dates

Link on individual courses for more details and further dates.

We can also run a private tailored course at our centre or a private course at your office.
Learning to program in PHP - training course
Learn PHP, and its use as a Web-scripting language

This course has been replaced by an updated Learning to program in PHP course

This course covers the fundamentals of programming in PHP (version 5) 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.
No prior programming knowledge is needed for this course (if you are an experienced programmer, please consider our alternative PHP Programming course instead).

Getting the most from your Well House Consultants course [Link]
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 Summary: [Link]
Learning to Progam (module Q100) What is programing? Why are there so many langauges? Which language for what purpose? How to plan your progamming project. Making best use of existing resources.
Programming Principles (module Q101) Stored programs - running from file. Sequential operation. Very fast, but an IQ of zero. Variable and variable types. Conditions and conditional code. Loops and named blocks of code. Collections. Libraries. Pointers and references. Compilers and Interpretters. Program and system design.
The PHP Language
Introduction to PHP (module H101) What is PHP? What hardware and software do I need? Examples of PHP in use. Whys use PHP rather than the alternatives? When and where is PHP available? Versions of PHP (3 v 4).
A First PHP Web Page (module H102) How do I enter and edit a PHP script? Adding PHP within an HTML page. How do I run a PHP Script? First Script - including the day of the week in a web page. Sequences of statements. Editing and debugging your PHP. Commenting your PHP. Debugging techniques.
Variables, Operators and Expressions (module H103) Variable naming, creation. Strings, Integers and Floats. Constants. Saving values in variables and retrieving them. Arithmetic, logical, relational, bitwise and other operators. Combining operators; expressions, precedence, etc. Comments. Including a file.
Control Statements (module H104) Booleans, True and False. Conditionals - if, elseif, else, ?: snd switch. Loops - while, do, and for. Controls - break, continue, exit, die and return. Making up a table in PHP.
Functions (module H105) Declaring and calling a function. Arguments and return values. Variable scope, global and static. Loading functions from another file. Library functions - overview. Call by name and call by value.
Arrays (module H106) Creating arrays, storing and retrieving values. Indexing by number or by string. Initialising arrays.
String Handling in PHP (module H107) Review of the fundamentals. Formatting strings. String cleansing. Low-level string manipulation. Tokenizing a string (explode). Regular expressions.
Input / Output (module H109) Opening access to files on the server. Reading from and writing to files. File and directory functions. Include and require.
PHP as a web tool
HTML Web Page Data Handling (module H110) Writing to the browser. Reading from a form. Environment variables.
Using MySQL Databases in PHP Pages (module H113) Database Structure. Introduction to SQL and MySQL. Principles of database programming from PHP. Creating tables. Adding and changing information. Retrieving information from a table and reporting it to a web page. Deleting tables. Using an alternative database - example Oracle (OCI) calls. Other databases and interfaces such as ODBC, Oracle, postgreSQL and Sybase.
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 multidimensional arrays. Graphics. Using 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.
Further Web Page and Network Handling (module H112) Sessions, state and multiple concurrent users. Using an HTTP connection and authentication. Cookies. Session functions. File Uploads. Sending emails from PHP. Including attachments.
Shopping Cart Application in PHP (module H116) Putting in all together in a practical example. Data file database of products. User Tracking. Keeping HTML templates apart from the code. Developing the page look using a tool such as Dreamweaver. Secure Server. Verification of user details. Accepting on line credit card details or online payment.
Making effective use of PHP
Designing PHP-Based Solutions: Best Practice (module H115) Analysing the requirement and designing the Application. The batchlet model and multi-task PHP scripts. Writing maintainable code. Error checking and data integrity in a multiuser environment. Good use of functions and include files. Keeping databases, directories and shopping carts tidy. Portability issues (databases, operating systems, PHP releases and installation). Futureproofing. Backups. The four layer model - separating the look and feel from the business logic.
MVC, 4 layer model and templating (module H302) How to design and structure your application. Model - View - Controller. Top level, business logic, web helpers and template. Objects - how and when to use them. Handling the look and feel with DreamWeaver. A little on database design. Configuration files. Shopping cart applications.
Security in PHP (module H117) Security from first principles. PHP as a CGI library and as an Apache Module. Issues with Register Globals. Hiding PHP.
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. Privacy and credit card security. Unsolicited commercial emailing and mailing lists. Accessability. Marketing and visibility. Cookie law.

Graham Ellis - graham@wellho.net [email]  [about Graham]
Melksham, Wiltshire
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]
1 student   2 students   3 students   For 4 or more students
from the same company,
please consider a private course.
 With hotel room
£1900.00 (No VAT from 1.2019)
Without room
£1550.00 (No VAT from 1.2019) 
 With hotel rooms
£3750.00 (No VAT from 1.2019)
Without rooms
£3050.00 (No VAT from 1.2019) 
 With hotel rooms
£5600.00 (No VAT from 1.2019)
Without rooms
£4550.00 (No VAT from 1.2019) 
• 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.
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 "Ask the Tutor" forum where you can raise questions. We also encourage you to email the tutor, and to visit us again to use our library as appropriate.

Certification? - [Link]
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.

Visitor Ranking 4.0 (5=excellent, 1=poor)

edit your own (not yet published) comments

Average page ranking - 4.0

© WELL HOUSE CONSULTANTS LTD., 2019: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/course/pffull.html • PAGE BUILT: Tue Apr 9 11:23:55 2019 • BUILD SYSTEM: WomanWithCat