wrote in message
tamouse mailing lists <tamouse.li...@gmail.com> hat am 13. Juli 2012 um
It's Friday, so...
Yes, it's true, I have just started looking at using PDO instead of
mysqli -- a bit behind the times...
My question at this stage, is do people tend to extend the PDO class
for their own use, or encapsulate it in a class (or do most people use
it mostly in procedural code?)
I stick to use it as components as it is said "Do not use inheritance for
The idea that you shouldn't use inheritance for code reuse is absolute
nonsense as it makes a mockery of one of the fundamental principles of
object oriented programming. If you make a mess of inheritance it's because
your implementation is flawed, not that the concept is flawed. Next you'll
be saying "don't use encapsulation"or "don't use polymorphism". What a bunch
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php