Re: OOP slow -- am I an idiot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, October 12, 2006 3:11 am, Tony Marston wrote:
> I have to disagree as well. There is absolutely nothing wrong which
> the
> approach of creating one class for each table in the database. It
> cannot be
> wrong for the simple reason THAT IT WORKS!

Only problem is that then you often end up making ONE INSTANCE for
each *row* in a large result set, and then you are in BIG TROUBLE.

IT DOES NOT WORK!

You've *got* to have some kind of other class that handles more than a
couple handsful of the data, for anything other than a trivial
application.

And if it was trivial to start with OOP is rarely the right answer.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux