Re: [PHP] All-in-one PHP Classes



On Tue, February 6, 2007 5:47 am, Tim wrote:
Shouldn't these classes be perhaps broken down into usefull "parts".

Many of them started life as very small classes, and then the Feature
Requests started pouring in and...

Do feel free to take a class and delete all the bits you're not using,
if you can figure that out.

Or just take the bits you need and make a new class, or just use the
one function you need as an actual function or...

I have many many times found a bloated class with tons of Security
issues that make it unusable (for me) but it has the kernel of truth
buried in it that I was looking for... Then I start typing. :-)

Only experience will be able to tell you when to do which, however.

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



Relevant Pages

  • Re: Scouts in Action!
    ... reminded me of a comic feature that used to be in Boys Life back in the late 50s/early 60s in which Scouts would react with cool deliberation and proper procedures to save people. ... I remember one episode dealt with a kid competing in a track and field meet who walked into the middle of a discus competition and took one in the back of the head. ...
    (rec.arts.comics.strips)
  • Re: Summary: Nested hierarchy and Common Descent
    ... In the tree of life, any feature or trait can be traced to a branch at ... This is just one way that a designer could have done the job. ...
    (talk.origins)
  • Re: Psychological issues of roguelike programming
    ... And what feeling of achievement ... I think creating games is not that valued socially and I can't help ... If I don't like a feature, I can pull it - I can add ... I do have a life outside of coding - computers are not my life. ...
    (rec.games.roguelike.development)
  • Re: Spelling file
    ... sufficient requests for this particular feature. ... MacBu is responsive to requests. ... All responses should be made to this newsgroup within the same thread. ...
    (microsoft.public.mac.office.powerpoint)
  • Re: Claudio Arrau gay?
    ... care about such an important feature of any artist's life. ... I'm not convinced that it is an important feature of an artist's ... the case is not analogous: Schubert ... and not those of Bar-Ilan University ...
    (rec.music.classical.recordings)