Reply to Re: [PHP] Suggestions for class design

Your name:

Reply:


Posted by Robert Cummings on 09/19/05 21:15

On Mon, 2005-09-19 at 14:00, Mikey wrote:
> 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
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

[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

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