In the beginning there was a database connection library.
rubbish. Over and over. Someone finally said, nuts to this, let's use postgres.
Uhm... shit, porting. Thus:
For me, it was ADODB and PEAR::DB that lead me onto the OOP circuit for PHP. I went off and learnt Java and you know, turned 17 and such. Going back, I saw how wonderful PEAR was in theory - I threw out everything else and started using PEAR::DB.
It's been a beautiful relationship. But after endlessly and unconciously adopting poor attempts at a good ORM/DAO pattern, it began to falter.
Now it's time for the next step up. Take other people's proven patterns and run with them.
The only question for me is, which do I choose?