• Create AppController.php
  • Include _getHelper() method in AppController.php
  • Create any controller in any module
  • From controller in the header section, append or prepend JavaScript/ CSS files dynamically in Zend framework
  • From the controller, append or prepend custom JavaScript code dynamically in HTML header
  • Then, from the controller, append or prepend custom javascript code dynamically just before at bottom to finish
BY Best Interview Question ON 22 Feb 2019