2010年5月21日星期五

Re: [fw-mvc] Bootstrapping action helpers

Can't guarantee that this is "recommended", but I usually opt for something like #3

On Fri, May 21, 2010 at 1:47 PM, Hector Virgen <djvirgen@gmail.com> wrote:
Is there a recommended approach for bootstrapping action helpers? I like that I can bootstrap plugins using the front controller resource, but it doesn't seem to support action helpers.

Some of the ideas in mind are:
  1. Bootstrapping a plugin that loads the action helpers.
  2. Extending the front controller resource to support helper names in application.ini.
  3. Adding an _initActionHelpers method to my bootstrap.
Any other ideas that I might be overlooking? Thanks!

--
Hector

没有评论: