Training, Open Source Computer Languages

This is page

Our email: • Phone: 01144 1225 708225

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
Learning to program in PHP - training course
Learn PHP, and its use as a Web-scripting language
Duration: 5 days • Price: $3100.00 or £1900.00 +VAT (with hotel room), or $2550.00 or £1550.00 +VAT (without room), • Venue: Melksham, England

Usually scheduled to meet customer needs or run as a private course. Please email for details
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?. 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?.
Objects in PHP (module H108) Design and structure. The limitations of structured programming and the need for objects. Object Orientation. An Introduction to objects in PHP. Defining simple objects in PHP. Using an object. Defining inheritance. Polymorphism. A practical example. A table of trainee workstations. A table of all our workstations. Where do classes load from?. A comment on objects in PHP. Objects in PHP5. Private, protected and public members and the final keyword. Constructor and destructor methods. Extensions to Object Inheritance. PHP’s inheritance model, and Interfaces. Object model differences PHP4 to PHP5. Advanced objects in PHP5. Cloning and equality. Serialization. autoload. namespaces.
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.
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.
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.
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 PHP 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.
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.
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) 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.
Putting it all together (module H310) A practical session in which each delegate. will undertake a different practical to try out. the most revelant techniques learned so far on. the course. Delegates are encouraged to bring their. own data along, and to go away with useful code.
Testing your PHP (module H311) Test Driven Design. Unit test principles. Testing with PHPUnit. Coverage testing. Testing PHP sites with Testwise and watir-webdriver.
Tips and Techniques (module H312) Singular v plural. Reporting zero answers and making suggestions. Cardinal values and the child called "Drop database". Upper case and lower case names - making good addresses. Databases. Sorting. Specifying an API that can be expanded.

Graham Ellis - [email]  [about Graham]
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]
1 student   2 students   3 students   For 4 or more students
from the same company,
please consider a private course.
 With hotel room
($3720.00 inc VAT) or
(£2280.00 inc VAT)
Without room
($3060.00 inc VAT) or
(£1860.00 inc VAT) 
 With hotel rooms
($7380.00 inc VAT) or
(£4500.00 inc VAT)
Without rooms
($6060.00 inc VAT) or
(£3660.00 inc VAT) 
 With hotel rooms
($11040.00 inc VAT) or
(£6720.00 inc VAT)
Without rooms
($9060.00 inc VAT) or
(£5460.00 inc VAT) 
• 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 --
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 --
Covering topics such as delegate substitution, payment, cancellation policy and other matters.

© WELL HOUSE CONSULTANTS LTD., 2018: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01144 1225 708225 • EMAIL: • WEB: • SKYPE: wellho

PAGE: • PAGE BUILT: Sun Dec 31 15:21:47 2017 • BUILD SYSTEM: WomanWithCat