Zend Server Question:

Download Job Interview Questions and Answers PDF

Explain what is the function of action helper in Zend?

Zend Interview Question
Zend Interview Question

Answer:

- Zend allows the creation of application using the framework that provides MVC architecture.

- The action helper is used to instantiates and store the object i.e Zend_View and other objects that are related to view.

- It also provides ways to inject the instantiation process in different objects by the help of action helper.

- The view object is stored in the view property provided by the action helper and a view instance is created using this.

- ViewRenderer instance is being created using the action helper function and it allows creating sync between all the objects.

Download Zend Interview Questions And Answers PDF

Previous QuestionNext Question
How to write a program to show the function of action helper?How to write a program to retrieve the view object within plugin?