Zend_Registry::set('varname',"value of var");
//there are two way of setting the database connection
//first by setting the using the Zend_Db_Adapter_Pdo_Mysql
//second using the Zend_Db:factory
/*$params = array('host'=>'localhost',
'username'=>'root','password' =>'password','dbname'=>'zend'
);