I'm trying to learn the Zend Framework, my first framework, and I came across the View section. In order to out put stuff from the controller to the view, I have to use short tags. I don't want to do this because of XML. The only option, I've found so far, is $view->setUseStreamWrapper(true)
which apparently kills performance. I was wondering if there is any alternative solutions (other than $view->setUseStreamWrapper(true)
)?
Thank you in advance.
Sorry here's a clarification:
application/views/scripts/index/index.phtml
`Escape($this->name);?> from Zend Framework
Instead of
, I want to use the long tags <?=
$this->Escape($this->name);?><?php=
$this->Escape($this->name);?>. But it doesn't seem to work. Zend framework forces us to use short tags no?