southbeach
Programmer
I am writing more and more PHP code and it is an old habit to create UDFs so that I can re-use my code.
I am aware of the CLASSES but I do not fully understand them and wonder how much am I missing out for it.
In the same token, I wonder if there is a real added value when using UDFs over CLASSES. I mean, I can call a function and have it return value or send content to screen. I feel that CLASSES are best for writing OOP Apps and that is exactly what I am working on (I think).
So, what do you guys think?
Also, is there a PHP CLASSES for the clueless guide some where?
Thank you all!
I am aware of the CLASSES but I do not fully understand them and wonder how much am I missing out for it.
In the same token, I wonder if there is a real added value when using UDFs over CLASSES. I mean, I can call a function and have it return value or send content to screen. I feel that CLASSES are best for writing OOP Apps and that is exactly what I am working on (I think).
So, what do you guys think?
Also, is there a PHP CLASSES for the clueless guide some where?
Thank you all!