开发者

Example Uses of Action Helpers

开发者 https://www.devze.com 2023-01-16 13:56 出处:网络
Action Helpers are recommended in gene开发者_StackOverflow社区ral over extending Zend_Controller_Action.

Action Helpers are recommended in gene开发者_StackOverflow社区ral over extending Zend_Controller_Action.

Looking at some of the applications you've built recently, what did you use Action Helpers for?


Most common for my app:

  • redirector
  • static cache
  • service loader
  • messenger

Edit: I forgot to mention the switchers:

  • ajaxContext
  • contextSwitcher


http://framework.zend.com/manual/en/zend.controller.actionhelpers.html

Action Helpers allow developers to inject runtime and/or on-demand functionality into any Action Controllers that extend Zend_Controller_Action. Action Helpers aim to minimize the necessity to extend the abstract Action Controller in order to inject common Action Controller functionality.

Some useful Links:

  • Use Zend Framework Action Helpers to Reduce PHP Code Redundancy
  • Action Helpers in Zend Framework
  • Using Action Helpers in Zend Framework
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号