One of the best thing that I did with OOP in PHP is the class generator.
In any given table, it will involve almost the same SQL operations:
- insert
- update
- select
- delete
- exists (check if a row exists)
- search
- list
Now I don't have to write all these SQL statements anymore, except on special conditions. Not only I've cut down coding to 1 minute in doing above, I've also saved time from debugging codes.
So whenever there are changes to the table structure, I simply regenerate the class.
Probably you should try the same as it works for me and my customers like it!