Search site
Tutorials
This section contains a number of free to use code listings and tutorials that describe how to write the code and why we recommend the code should be written in the way it is. You are free to use this code in your projects. Some code is GPL, some is LGPL. The license type is normally indicated in the code listing.
If you have any suggestions for tutorial topics, please contact us.
- Build your own CMS - using PHP5 with XML
An ongoing project to build a complete CMS using PHP5 and XML/XSLT technologies. - Paginate your data easily using our Pagination class
A simple class that can be used to paginate database results, search results, and pretty much any other kind of data. - Use breadcrumb navigation to show navigation context to users
A simple PHP class that remembers the pages that the user has visited, so that a 'click trail' can be generated for ease of navigation. Suitable for integration into content management systems like WebCanvas.
Downloads
Besides the tutorials above, there are a number of scripts available for download which may be of interest:
- WebCanvas Lite
This is the full WebCanvas codebase, available under LGPL. Note that this is no longer in active development and there is no support. - PHP Password validator
This validates that a given password meets given security requirements, such as length, number of digits and other characters, etc. - PHP Cron Schedule Parser
Given a cron schedule like 0 2,4 * * 2, this class calculates when a job was due to run last. - PHP LPR implementation
Prints to any internet-accessible LPR queue - Tiered semantic PHP menu
Uses meaningful markup to create an accessible menu - Currency converterConverts between currencies using an XML feed from the European Central Bank

