You are here: The Adapter Design Pattern in PHP 5 « PHP Programming Language « IT news, forums, messages
The Adapter Design Pattern in PHP 5

Posted by FluffyCat on 11/24/28 11:51

Last month I continued my series of design patterns examples using PHP
5 with the Observer Pattern and the Prototype Pattern. Here now is my
16th example, the Adapter pattern.

http://www.fluffycat.com/PHP-Design-Patterns/Adapter/

In the Adapter Pattern we adapt a class we have to provide methods
another class needs, without changing the original class.

If you work with a lot of classes that you can not change, then this
pattern is certainly something you would want to consider using on a
regular basis.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация