/Tony Marston

About Tony Marston

I have been a software engineer, both designing and developing, since 1977. I have worked with a variety of 2nd, 3rd and 4th generation languages on a mixture of mainframes, mini- and micro-computers. I have worked with flat files, indexed files, hierarchical databases, network databases and relational databases. The user interfaces have included punched card, paper tape, teletype, block mode, CHUI, GUI and web. I have written code which has been procedural, model-driven, event-driven, component-based and object oriented. I have built software using the 1-tier, 2-tier, 3-tier and Model-View-Controller (MVC) architectures. After working with COBOL for 16 years I switched to UNIFACE in 1993, starting with version 5, then progressing through version 6 to version 7. In the middle of 2002 I decided to teach myself to develop web applications using PHP and MySQL.

Reusable XSL Stylesheets and Templates

2010-05-26T11:31:12+00:00 April 20th, 2005|XML|

When producing software it is not considered good practice to write the same code over and over again. Not only is this inefficient when writing the code in the first place, it is also inefficient when the time comes to make changes as the same change has to be made to every copy of that code.

A Reversible Encryption Routine for PHP

2010-05-26T11:35:08+00:00 April 15th, 2005|PHP|

This tutorial is intended for those PHP developers who want a password encryption routine that is reversible - i.e. the encrypted password can be decrypted back into plain text. The reason for wanting such a routine could be that your web hosting service does not include an acceptable encryption module in his PHP build, or perhaps you want a routine that allows a certain amount of customisation that makes it totally different from the encryption routines used by others.

Customizing the PHP Error Handler

2010-05-26T11:38:29+00:00 April 9th, 2005|Articles|

This tutorial is intended for the novice or intermediate PHP programmer. Basic knowledge of creating and using functions is assumed.One of the last areas that developers seem to deal with in their code is error handling.

Using PHP Objects to Access Your Database Tables (Part 2)

2010-05-26T11:39:39+00:00 April 7th, 2005|MySQL, PHP|

This is a follow-up to Using PHP Objects to access your Database Tables (Part 1) in which I showed you how to create a base class to contain all the standard code to access any database table, how to create extensions to this class for each individual table, and how to access these classes from within your PHP scripts.

Using PHP Objects to Access Your Database Tables (Part 1)

2010-05-26T11:39:53+00:00 April 5th, 2005|MySQL, PHP|

This tutorial is intended for developers who have already written code to get data in and out of a MySQL database, but who wish to discover if there are any benefits of adopting an Object Oriented approach. This tutorial will show you how to create an abstract class which can communicate with any database table, and then how to create subclasses containing the implementation details for each individual table within your application.