Hi List,

i'm wondering if one of the following is faster than the other:


public function indexAction()
{
        $this->view->foo='bar';
}


vs.


$front->setParam('noViewRenderer', true);

...

public function indexAction()
{
        $view = new Zend_View();
        $view->foo='bar';
        $this->_response->setBody($view->render('index.php'));
}


Are there any performance related issues with these?

thanks

--

Thomas Lohner



Reply via email to