Reply to Re: The Facade PHP5 Design Pattern

Your name:

Reply:


Posted by Oli Filth on 11/24/05 00:50

FluffyCat said the following on 23/11/2005 22:40:
> New on November 23, 2005 for www.FluffyCat.com PHP 5 Design Pattern
> Examples - the Facade Pattern.
>
> This is a pattern that most complex systems use. In the facade a
> class hides a comlex susbsystem from the calling class, and also hides
> the calling class from the subsystem.
>
> My sample makes extensive use of static functions in the subsystem.
> This seems to make sense if the calling class and subsystem can't be
> aware of each other.
>
> http://www.fluffycat.com/SDCMSv2/PHP-Design-Patterns-Facade/
>

That's not really a pattern as such, is it? It's merely an example of
encapsulation/functional abstraction. Which is one of the fundamental
underlying principles of OO design. To call this a pattern is like
saying that using a function is a pattern.

--
Oli

[Back to original 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

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