Zend Framework Interview Questions and Answers
Most Frequently Asked Zend Framework Interview Questions
Q21. Explain Authorization and Authentication in Zend Framework?
Answer
S.no | Authorization | Authentication |
---|---|---|
1. | It’s a process to determine the access permissions of users to resources. The Zend_Acl component handles this task. | It’s the process to decide whether to allow or not entity access or perform operations upon. The Zend\Authentication handles the task. |
Q22. How to create an object of Model in Zend Framework?
Answer
$pageObj = new Application_Model_Pages();
Q23. How to create a Model file in zend framework?
Answer
class Application_Model_Pages extends Zend_Db_Table_Abstract {
protected $_name = "pages";
protected $_primary = "id";
}
Q24. Does Zend support PHP 4? Explain
Answer
No. Zend was built to use all of the object-oriented features of PHP 5 and take benefits of significant performance and security enhancements.