Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
PHP module H310
Putting it all together
Exercises, examples and other material relating to training module H310. This topic is presented on public courses PHP Techniques, Intermediate PHP - weekend course / hobby / club / leisure users

Articles and tips on this subjectupdated
3454Your PHP website - how to factor and refactor to reduce growing pains
As your project grows ... what do you change? In an ideal world, you would know exactly what you were coding before you started, and write the full job to spec to last for many years. This isn't an ideal world, though. Our web site has changed over the years - we now have "version 8" (See [here] to ...
2931Syncronise - software, trains, and buses. Please!
To get from my home to the Divisional Police HQ on another side of Melksham, I can take a five minute bus ride on the X72 or 272, change at the Market Place onto the 234 or X34, and ride for another five minutes. So for a meeting at 19:00, I can catch a bus just after 18:00 to be there in good time, ...
2635A PHP example that lets your users edit content without HTML knowledge
Scenario one. I need a "todo" list page for our web site which I, and the rest of our team, can view and update quickly and easily. Scenario two. Dave wants to provide his local cricket club's website with pages that the committee can update without them having to be trained / skilled in HTML, with ...
2275Debugging multipage (session based) PHP applications
PHP's print_r function allows you to dump out the contents of a variable - and that includes more complex variables like arrays containing other arrays, objects, etc ... in a human (programmer!) readable form. By default, the output string is directly sent to the browser, but with a second parameter ...
1962Index Card System for Game Characters in PHP
A couple of days ago, I received a request for a PHP demonstration in which the web site owner could enter a character's name in a game, and something about the character, and have that information stored as a web page for later reference under the character's name. It's easy enough to write a basic ...
1840Validating Credit Card Numbers
It's standard practise for on line bookings these days to take credit or debit card details as a booking security, and we're no exception at Well House Manor - our hotel for business visitors to Melksham, Wiltshire. There are very many security issues involved, and I am not going to describe what we ...
1794Refactoring - a PHP demo becomes a production page
"Refactoring" is a term that I've come across in Extreme Programming, but it's also a relevant topic to consider through the life cycle of any software. Perhaps I had better give a definition .... Refactoring - the updating / alteration of software or systems, usually done in order to take into account ...
1754Upgrade from PHP 4 to PHP 5 - the TRY issue
It's often the most surprising things that catch you out on language upgrades! Our new web server is running PHP 5 (5.2.6) whereas the old shared service was running PHP 4. No problem with the conversion, PHP wise, except the exchange rate page which goes to the European Central Bank's web site and ...
1716Larger applications in PHP
I've just finished a two day PHP techniques course - a subject that's tremendous fun to present, and a huge benefit to the delegates, as PHP programs can be written with great beauty, maintainability and expandability (like a Picasso) or they can be an unmaintainable mess (making the dog's dinner look ...
687Presentation, Business and Persistence layers in Perl and PHP
I've been writing about the Presentation, Business and Persistence tiers (and within each of them the MVC or Model, View, Controller or MVC structure) for a JBoss presentation I'm doing this week - but I scarcely expected to find myself putting them to good if unusual use this evening when sorting out ...
468Stand alone PHP programs
It always seems a shame when people develop a lot of code in PHP then want to use it standalone ... so they rewrite it in some other language or wrap it in a web page. PHP is an excellent stand alone language; it wasn't designed for that use, but it does a mighty fine job if you've already got files ...
Examples from our training material
dot_htaccess   .htaccess file for wiki demonstration
indexcard.php   Index Card System - Version 0.9
jndex.php   Simple wiki demonstration
paged.php   paged display of station data
todo4.htp   Template for the wiki demonstration
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
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.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/H310.html • PAGE BUILT: Wed Mar 6 10:39:20 2013 • BUILD SYSTEM: wizard