Re: All-in-one PHP Classes

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

 



# user@xxxxxxxxxxxxx / 2007-02-06 12:47:47 +0100:
> Have been reading posts daily for two months now on the list, and am very
> pleased at how informative these can be.
> I have noticed, many examples where one is pointed to using classes
> downloadable on the internet. 

> This is when i realized how often these classes that do "everything" are
> very BIG.

Big classes and long methods are signs of bad code, no matter if it's
downloadable for free or costs money.
 
> Here, it's the programmer who is confronted with loading huge files into
> memory to use just one perhaps two function in a 300+ functionality class..
 
what's a "300+ functionality class"?  One having more than 300 public
methods?  Where can I see it?  Such a beast could be legit (hard to tell
without knowing more), but it's probably a result of incompetence.

> Shouldn't these classes be perhaps broken down into usefull "parts".

Definitely.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
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