Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
Well I suspect that aspect is getting into personal preference. But I detest collections of static methods. There are a few times when its appropriate, but generally its a code stench.
The following seems to be the new trend in PHP (Which i hate): Creating functionality through functions / classes that do exactly the same. An example: the new date handling..
annoying yes, but allows people who do not understand/like/whatever OOP, the ability to perform the actions. Granted, I find it a bit lazy, but that's me.
feyd wrote:annoying yes, but allows people who do not understand/like/whatever OOP, the ability to perform the actions. Granted, I find it a bit lazy, but that's me.
I suppose anyone who doesn't like it could switch to jsp where you dont have much of a choice.