Hello,

I am just starting with the Zend framework. I am using the MVC
fucntionality and would like to know the best practice for configuring
and using DB connection paramaters.  I don't think I want to this in
every function that connects to a db. 

params = array(
                'host' => 'localhost',
                'username' => 'postgres',
                'password' => '',
                'dbname' => ''
                );
        
                $DB = Zend_Db::factory('pdo_pgsql', $params);



Thanks
-Tom Printy

Reply via email to