1.Enable the view to use Dojo
public function init() {
Zend_Dojo::enableView($this->view);
}
2.Configure the Dojo in the view
$this->view->dojo()->enable();
$this->view->dojo()->setDjConfig(array("parseOnLoad"=>true,"async"=>true));
$this->view->dojo()->setCdnVersion("1.8.1");
$this->view->dojo()->setCdnDojoPath('/dojo/dojo.js');