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 subject||updated|
|3454||Your 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 ...
|2931||Syncronise - 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, ...
|2635||A 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 ...
|2275||Debugging 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 ...
|1962||Index 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 ...
|1840||Validating 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 ...
|1794||Refactoring - 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 ...
|1754||Upgrade 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 ...
|1716||Larger 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 ...
|687||Presentation, 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 ...
|468||Stand 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
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.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.