You are here: Re: [PHP] Suggestions for class design « PHP « IT news, forums, messages
Re: [PHP] Suggestions for class design

Posted by Mikey on 09/19/05 21:00

Jay Blanchard wrote:

>[snip]
>Well, yes I think it does, but what I'm missing is how this new object
>interacts with the original one if it does at all. And what would I call
>it? 'Multiple_Customers'? Or.. perhaps just 'Customers'! :)
>
>Do I extend the Customer class or is it a stand alone class?
>[/snip]
>
>I think that it should be a stand alone class. The Customers class could
>instantiate the needed number of Customer objects and the methods of the
>Customers class could affect each Customer object.
>
>
>
+1 for this idea, it is a method I have used on countless projects and
works very well.

Mikey

 

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

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