Re: OOP slow -- am I an idiot?
| From: | Satyam | Date: | Wed, 11 Oct 2006 11:05:46 +0000 |
| Subject: | Re: OOP slow -- am I an idiot? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242968@lists.php.net to get a copy of this message | ||
----- Original Message ----- From: "Chris de Vidal" <cdevidaljk-phpgeneral@yahoo.com>
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 <jnm@catenare.com> wrote: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. SatyamYou 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