Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Expanding an Error Logger with the Chain of Responsibility Pattern
Nov 13, 2006 @ 11:57:00

Finishing off their look at the "chain of responsibility", DevShed has posted part three of the series - expanding on the code that they produced in the past, they add more functionality to their error logger.

Now, paying attention to the topics that will be covered in this tutorial, what you'll learn here will consist essentially of applying the chain of responsibility schema to expand the capacity of the error logging system that was developed previously.

They take a look back at what they produced in the previous tutorial (the simple error logger) and show how to expand on it by adding functionality to log errors to a file. The finish it off by showing how to implement it all in a simple script.

tagged: error logger chainofresponsibility pattern expand error logger chainofresponsibility pattern expand

Link: