Alright, so after years of feeling that I've been doing it the wrong way, what is the best way to interact with a MySQL database, using PHP. Going to start off small-scale, but eventually hoping to grow large scale.
I'd love to be able to use objects, like such
$book = new Book(1342);
echo $book->title;
So, what is the best way to go about using something of a data abstraction layer, or what can I use to accomplish what I am looking towards?