开发者

Example Uses of Action Helpers

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜