Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems
 

PHP training news
Next Public Course Dates
 fromfor

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.
PHP Programming - training course
Learn PHP, and its use as a Web-scripting language

This course has been replaced by an updated PHP Programming course

DESCRIPTION
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.
PREREQUISITES
This course is intended for those with prior programming experience, and a little basic knowledge of HTML and web site structure is also useful. Many PHP users are dropped in at the deep end without knowledge of these topics and if you're in that situation, we offer a slightly longer course (Learning to program in PHP)

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
Course Summary: [Link]
 
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.

TUTOR and COURSE AUTHOR
Graham Ellis - graham@wellho.net [email]  [about Graham]
VENUE
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]
PRICE
1 student   2 students   3 students   For 4 or more students
from the same company,
please consider a private course.
 With hotel room
£1530.00
(£1836.00 inc VAT)
Without room
£1250.00
(£1500.00 inc VAT) 
 With hotel rooms
£3010.00
(£3612.00 inc VAT)
Without rooms
£2450.00
(£2940.00 inc VAT) 
 With hotel rooms
£4490.00
(£5388.00 inc VAT)
Without rooms
£3650.00
(£4380.00 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 "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]
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.

Comment: "very good work done by this web site ..."
Visitor Ranking 5.0 (5=excellent, 1=poor)
1 unpublished comment pending on this page

Comment by praveen (published 2010-02-08)
very good work done by this web site [#3462]

You can Add a comment or ranking or edit your own comments
There are presently 1 new comment(s) pending publication on this page

Average page ranking - 5.0

© WELL HOUSE CONSULTANTS LTD., 2018: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/course/phfull.html • PAGE BUILT: Thu Apr 5 17:03:17 2018 • BUILD SYSTEM: WomanWithCat