1
votes

I just started learning the zend framework and what im wondering is , is it possible to create controllers and actions without ever touching the zend tool? I see the zend tool a great tool when creating new projects or a new controller but for creating actions its just extra work. Is it also possible to output an actions variables into the associated controllers view rather than its own view?

thanks

1

1 Answers

0
votes

You don't really need Zend Tool if you don't want. I find it helpful for creating the initial project but beyond that I hardly ever use it.

Zend_View is exposed by the Zend_Controller_Action, but it is independent of the specific controller action. If you assign variables to the view from a particular action, and render a different view, or call another action, the previously set view variables are still there. I think that was what you were asking.