multiple databases and custom configuration parameters

in Action's code you can acces parameters with : 
        
       $myserver =  Frapi_ParamHelper::getParam('myserver');


And you use databases like that :
        
        $dbSpark = Frapi_Database::getInstance('spark');
    	$results = $dbSpark->query('SELECT count(*) FROM node');
    	$this->data['post_count'] = $results->fetchColumn();
    	
        $other_db = Frapi_Database::getInstance('frapi');