Learning php as a backend using a PostgreSQL db.