In this tutorial I have given an easy example on PostgreSQL connection with cakephp. It's very simple to execute. first you just need to change drive in app.php file then you need to change database credential in app_local.php.
That's it.
About cakephp , cakephp is a php framework , already popular in some countries, Specially in Japan.