News Feed
Sections




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

DevShed:
Building an Error Logger with the Chain of Responsibility Pattern in PHP 5
November 06, 2006 @ 10:32:00

With the next link in their look at the "chain of responsibility" pattern, DevShed has posted this new part in the series - adding an error logger to the mix.

At the end of this article you should be equipped with more robust knowledge of how to create a responsibility chain between PHP objects that perform truly useful tasks, like logging errors to specific components of a Web application.

They work from the code built up in the previous installations and show how to add the foundations of the error logger to the class before moving on to the more advanced bits. They then show how to use it to log some basic errors and, using only a bit more skill, logging some email-related errors.

1 comment voice your opinion now!
error logger chainofresponsibility pattern php5 tutorial error logger chainofresponsibility pattern php5 tutorial


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Nginx, PHP5.5 and Phalcon on OpenShift

Sebastian Bergmann's Blog: Flickr: The Real World PHP 5 Benchmark

DevShed: Object-Oriented Programming Through Design Patterns

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

DevShed: Introducing Static Members and Methods in PHP 5 (Part 1)


Community Events





Don't see your event here?
Let us know!


language symfony2 threedevsandamaybe series refactor unittest podcast release framework install opinion community interview laravel introduction api testing list developer code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework