Building a database class in PHP
- by Sprottenwels
I wonder if I should write a database class for my application, and if so, how to accomplish it?
Over there on SO, a guy mentioned it should be written as an abstract class. However, I can't understand why this would be a benefit.
Do I understand correctly, that if I would write an abstract class, every other class that methods will need a…