On 16 Jul., 21:49, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> Matthias N. wrote:
> > For example I'm about to refactor the things around action stack /
> > controller / filter chain.

In the filter config handler there is this comment:

// check that every key in previous array is still present (to avoid
problem when upgrading)

What problems?

I would like to change the config handler to lazy instatiate all
filters to allow to change the filter chain dynamically.
And I would like to provide the possibility to only have action
related filters in a module/config/filters.yml  maybe even in a per
action configuration!? E.g.

show:
  myShowFilter:  # this can be the classname as it works with
validation config

edit:
  myWonderfulEditFilter:


I would also like to have filters environment dependent.
Hm.. maybe this could be solved by a new format:

all:
  request:
    rendering: ~
    web_debug: ~
    # generally, you will want to insert your own request filters here
    cache:     ~
    common:    ~
    flash:     ~

  action:
    security:  ~
    # generally, you will want to insert your own action filters here
    execution: ~

Hm.. difficult..

Regards,
Matthias


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to