----- Original Message ----- From: "Chris de Vidal" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Wednesday, October 11, 2006 12:42 PM
Subject: Re: [PHP] OOP slow -- am I an idiot?


--- Johan Martin <[EMAIL PROTECTED]> wrote:
You should look into getting Professional PHP5 by Lecky-Thompson,
Eide-Goodman, Nowicki and Cove from WROX.
...
The collection class in chapter 5 discusses a programming problem
just like yours.

I will look into that, thank you.

CD


Regardless of whether you find the sugested book or not, do take note that a good place for functions as the one you require, as Johan sugestests, isin a class representing collections of the individual objects. Thus, it is usually good to have a class representing individual objects (customer) and collections of the same (customers) or methods that provide information on groups or agregates of individual items.

Satyam

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to