Well the MySQL people have had like dozens of books on this subject. Now it's our turn. I don't know when it starts shipping, but the publishing date is listed as June 6, 2002.
PHP and PostgreSQL Advanced Web Programming
by Ewald Geschwinde, Hans-Juergen Schoenig