Using the Observer Design Pattern with Static Data in PHP 5

Monday, September 17th, 2007

In the vast terrain of object-oriented programming with PHP 5 working with static data members is an approach that provides developers with the capacity for building classes that are callable from outside the object context. It also lets them define properties that are shared by all the instances of ...

Factoring Content Boxes with the Factory Pattern in PHP 5

Monday, July 9th, 2007

Working with factory classes is a rather common process for many PHP developers who build object-based applications on a frequent basis. If you want to find out how to make this helpful class work for you then this group of articles might be what you need. Welcome to the ...

Handling Cookies and File Data with the Factory Pattern in PHP 5

Monday, July 2nd, 2007

Any PHP developer who has been using the object-oriented paradigm for a while for developing web applications knows that the factory design pattern can be really useful when it comes to creating multiple objects across a specific programming context. However if you re interested in filling some knowledge gaps ...

The Basics of Using the Factory Pattern in PHP 5

Monday, June 25th, 2007

If you need to create multiple objects that belong to the same family you probably want to use the factory pattern. This three-part series takes a close look at using the factory pattern in PHP.... Travel & Hospitality Industry Web Marketing Event Space is Limited - Register Today for SES ...

Building a Data Validation System with the Prototype Pattern with PHP 5

Tuesday, May 22nd, 2007

It s unusual to create multiple instances of a class but certainly it may happen during the development of a PHP application. To solve this issue quickly and with minor hassles the prototype design pattern can be really useful. If you want to learn more about it ...

The Basics of Using the Prototype Pattern with PHP 5

Tuesday, May 15th, 2007

The prototype class lets you use many instances of a specific class without copying objects to different variables. This article the first of a two-part series demonstrates the basic functionality provided by this pattern.... New! VMware Workstation 6 now available The leader in desktop virtualization software. Get more ...

Working with CSS Styles and the Stage Pattern in PHP 5

Wednesday, April 25th, 2007

The stage pattern lets you build classes that can modify their behaviors according to the variations of a given programming context. If you want to learn more about it then you should start reading this article now Welcome to the final installment of the series that began with ...

Implementing the Stage Pattern in PHP 5

Wednesday, April 18th, 2007

Updating modules of a web application can be quite a chore especially when classes are involved. Wouldn t it be easier if there were a class that could update itself depending on its context Fortunately there is. It s called the Stage pattern. This is the first part ...

Working with Strings and the Composite Pattern in PHP 5

Wednesday, March 14th, 2007

Are you a PHP developer who wants to improve your skills in pattern-based programming in PHP If the answer to this question is a emphatic yes then you should begin reading this article now Welcome to the final part of the series Implementing the composite pattern ...

Introducing the Composite Pattern in PHP 5

Wednesday, March 7th, 2007

The composite pattern is one of the less commonly used patterns in PHP 5. Nevertheless in certain situations it is very helpful. This article the first one in a two-part series will introduce you to the basic concepts of the composite pattern.... Refurbished and Used Networking Equipment ...

Validating User Input with the Strategy Pattern

Tuesday, March 6th, 2007

The strategy design pattern is applied much more often than you might think so if you want to find out how to implement it with PHP 5 this article should guide you through the whole learning process. Welcome to the final installment of the series that began with ...

Generating Web Pages with the Flyweight Pattern in PHP 5

Monday, March 5th, 2007

Unnecessary and balanced instantiation of PHP classes are issues that can be easily solved by using the flyweight design pattern. If you want to learn more about it you should start reading this article. Welcome to the final part of the series Using the flyweight pattern with PHP ...

Introducing the Strategy Pattern

Tuesday, February 27th, 2007

The strategy design pattern can be very useful in the context of form validation. This article the first of two parts will introduce you to the strategy pattern and give you some idea of how you can use it in your own PHP applications.... Web Application Load Testing Tool ...

Introducing the Flyweight Pattern with PHP 5

Monday, February 26th, 2007

Among the considerable variety of structural design patterns that can be implemented with PHP 4 and PHP 5 by the way there s one in particular that deserves special attention. It s easy to apply in the context of a given web application and it ...

Handling File Data with the Facade Pattern in PHP 5

Tuesday, January 23rd, 2007

Are you interested in learning the foundations of different structural patterns in PHP 5 If your answer is affirmative then you should start reading this article immediately Welcome to the last installment of the series Introducing the Facade Pattern in PHP 5. In two consecutive ...

Introducing the Facade Pattern in PHP 5

Tuesday, January 16th, 2007

The facade pattern may be one of the less well known patterns in PHP but it definitely has its uses. In this first article of a two-part series you ll learn the basics of how the facade pattern works illustrated with numerous examples.... Refurbished and Used Networking Equipment ...

Using the Memento Pattern with a File Reading Class

Monday, January 15th, 2007

The memento pattern can be used to maintain the state of a property that belongs to a specific class. If you want to learn more about how to do this start reading this tutorial Welcome to the final installment of the series Maintaining the State of Classes. ...

Introducing the Memento Pattern

Monday, January 8th, 2007

PHP developers frequently need to maintain the state of an object across several web pages. There are a number of ways to do this. In this article the first of two parts you will learn how to handle this task with the memento pattern.... Automate Software Builds with Visual ...

Expanding an Error Logger with the Chain of Responsibility Pattern

Monday, November 13th, 2006

Do you want to know how to build an error logging system using the chain of responsibility schema with PHP If your answer is a loud yes then in this group of articles you ll find what you ve been looking for Welcome to the concluding part ...

Building an Error Logger with the Chain of Responsibility Pattern in PHP 5

Monday, November 6th, 2006

If you re one of those PHP developers that wants to expand your background in pattern-based programming then this article may suit your needs. Welcome to the second part of the series Understanding the Chain of Responsibility Between PHP Objects. Comprised of three installments this series ...

Working with MySQL Result Sets and the Decorator Pattern in PHP

Wednesday, September 6th, 2006

If you re one of those avid PHP developers who wants to learn how to apply the decorator design pattern within your Web applications then this group of articles might be quite appealing to you. Welcome to the second part of the series Using the Decorator pattern with ...

An Introduction to Using the Decorator Pattern with PHP

Tuesday, August 29th, 2006

A decorator class allows you to add more capacity to an existing class while leaving the original class untouched. It has certain advantages over inheritance as you will learn in this first article of a three-part series.... (Advertisement) Rackspace-Managed Servers, Fanatical Supportâ„¢ Full-Scale Microsoft & Linux Solutions & 0% Network ...

Centralizing the Validation of Data with the Observer Pattern in PHP

Tuesday, August 1st, 2006

Are you looking for an easygoing article that teaches you how to implement the Observer design pattern inside your PHP 5 applications Your search is finished Welcome to the last part of the series The Observer Pattern in PHP. Made up of three articles this ...

Developing a Form Validation System with the Observer Pattern in PHP

Thursday, July 27th, 2006

Want to gain a good grounding in how to apply the Observer pattern in PHP Then you re in the right place Welcome to the second part of the series The Observer Pattern in PHP. Composed of three tutorials this series teaches you the key ...

An Introduction to the Observer Pattern in PHP

Monday, July 17th, 2006

If you have reached the point in your programming life where you are using design patterns you will want to read this article. The first of a three-part series it covers the Observer pattern which can be just the thing for situations where objects need to send ...